You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
looks like the problem is in jquery.yiiactiveform.js
It will look for inputID and inputID is set to Account_gender.
The appendix _0 and _1 are not taken into consideration so it will fail to find the selected value.
when adding a radioButtonList to my form client validation keeps saying that the value can not be blank although you have selected an option.
for example my HTML renders as follows:
<input id="Account_gender_0" value="M" type="radio" name="Account[gender]"> <input id="Account_gender_1" value="F" type="radio" name="Account[gender]">
looks like the problem is in jquery.yiiactiveform.js
It will look for inputID and inputID is set to Account_gender.
The appendix _0 and _1 are not taken into consideration so it will fail to find the selected value.
See also this thread:
http://www.yiiframework.com/forum/index.php/topic/41551-cactiveform-radiobuttonlist-required-giving-errors
The text was updated successfully, but these errors were encountered: