Skip to content

Commit

Permalink
Correction
Browse files Browse the repository at this point in the history
Fixed the Name of the radio buttons so that only one of the configured options can be selected.
  • Loading branch information
jeckyl authored Nov 12, 2018
1 parent 0bddfba commit 9283dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p01-contact/src/P01contact_Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public function html()
$v = !empty($v) ? $v : 'Default';
$html .= '<label class="option">';
$html .= "<input id=\"{$id}_option{$i}\"";
$html .= " type=\"$type\" class=\"$type\" name=\"{$name}[$i]\"";
$html .= " type=\"$type\" class=\"$type\" name=\"{$name}\"";
$html .= " value=\"$i\"$disabled$required$selected />$v";
$html .= '</label>';
}
Expand Down

0 comments on commit 9283dd3

Please sign in to comment.