Hello,
I am having two radio buttons in my form which are for "YES" and "NO" option. As one of it needs to be selected at a time, I have given the same name to both. It works fine.
Problem comes when I reset form fields. It does not reset the radio button values. I have set setOriginalValue("true") for "YES" and setOriginalValue("false") for "NO".
Doesn't work.
What am I doing wrong??
Please help
I am having two radio buttons in my form which are for "YES" and "NO" option. As one of it needs to be selected at a time, I have given the same name to both. It works fine.
Problem comes when I reset form fields. It does not reset the radio button values. I have set setOriginalValue("true") for "YES" and setOriginalValue("false") for "NO".
Doesn't work.
What am I doing wrong??
Please help
Aucun commentaire:
Enregistrer un commentaire