- Wed May 25, 2016 4:07 am
#785538
Hello there,
I want to clear the radio button's value.
The Problem is, i want to check mandatory for the radio button in the form2. Using the value selected in the previous form, i need to show the status of the user in form2. So i have used trigger to show the status using condition according to radio button's value. In this case the selected value of radio button in form1 has been stored and reflected in form2. Then i did unchek for the radio button in form2. But still the value remains in form2. If i click on submit button without the mandatory check for radio, the form is moving to next stage and it is due to the stored value.
Now, how can i clear the stored value of radio button?
To uncheck the radio(worked)
I want to clear the radio button's value.
The Problem is, i want to check mandatory for the radio button in the form2. Using the value selected in the previous form, i need to show the status of the user in form2. So i have used trigger to show the status using condition according to radio button's value. In this case the selected value of radio button in form1 has been stored and reflected in form2. Then i did unchek for the radio button in form2. But still the value remains in form2. If i click on submit button without the mandatory check for radio, the form is moving to next stage and it is due to the stored value.
Now, how can i clear the stored value of radio button?
To uncheck the radio(worked)
Code: Select all
To clear a field's value(Not Working)
$("input[type=radio][value=" + send_for_expertise + "]").prop("checked",false);
Code: Select all
Kindly help me to solve this problem$("#var_Simulation_Type").setValue("")