Gerry Mc Donnell
Gerry Mc Donnell
thanks @LarsMengel had same problem and that fixed it.
@tienthanhjlw yes that worked too!
Same issues on a fresh install i know this issue is common with Laravel but was able to get the install to work using the method above; config/database.php 'charset' =>...
There is no hidden field in the above example, i dont understand what you mean. Its from the manual; http://book.cakephp.org/3.0/en/views/helpers/form.html#creating-radio-buttons ``` echo $this->Form->radio( 'favorite_color', [ ['value' => 'r', 'text' =>...
No when a selection is made its value is blank.   Generated html by cake; ``` WHAT COUNTRY WAS FORMERLY KNOWN AS PERSIA? Red Blue Green Answer...
Thanks, it seems that hiddenField is defaulting to true, not sure if that helps. the input method works fine; ``` echo $this->Form->input('favorite_color', [ 'type' => 'radio', 'options' => [ ['value'...
I think i found the solution; The error is in the radio function in; vendor\cakephp\cakephp\src\View\Helper\FormHelper.php ``` public function radio($fieldName, $options = [], array $attributes = []) { $attributes['options'] = $options;...
Can you give an example of how to use `hiddenField' => false` please? ``` echo $this->Form->radio( 'favorite_color', [ ['value' => 'r', 'text' => 'Red', 'style' => 'color:red;'], ['value' => 'b',...
Ok if the hiddenfield is set to true i get no value even when i pick an option and submit the form; ``` echo $this->Form->radio( 'favorite_color', [ ['value' => 'r',...
Nope there are no other inputs over writing that value. Ill post my xamp and php versions later since i cant think of what else it could be to cause...