Hi,
I've a radio button with "Yes" and "No" option tied to s SharePoint List Yes/No column, that I want to make required and explicitly clicked by the user. I can blank out the default value when the form is loaded for the first time to create a new list item, but even when the field is required, user can submit the form without making a selection (with default value going as "No"). So how do force the user to explicitly select a "Yes" or a "No"?
Thanks!
Solved! Go to Solution.
Hi @nileshg,
You cannot achieve this directly by setting things on the Radio button. But I think you can indirectly achieve this by setting below formula in the Visible property of the submit button:
If(!IsBlank(Radio1.Selected.Value),true,false)
In this way, only when option is selected in Radio, the submit button could be seen and selected.
Regards,
Mona
I think you will have to make it a drop down. Yes/No only has two possible value true or false. If you want a 3rd (not selected) you are going to have to use a dropdown instead.
Hi @nileshg,
You cannot achieve this directly by setting things on the Radio button. But I think you can indirectly achieve this by setting below formula in the Visible property of the submit button:
If(!IsBlank(Radio1.Selected.Value),true,false)
In this way, only when option is selected in Radio, the submit button could be seen and selected.
Regards,
Mona
Thanks,
This is what I was looking for, If Radio Button is not Selected then Submit Button should be disabled or Vice Versa.
I have five Radio Buttons & each have three Options & I need to enable Submit Button only when all of these Radio button get Selected(either option in it).
See....
Via using this on DisplayMode=
If(And(!IsBlank(Ans1.Selected.Value),!IsBlank(Ans2.Selected.Value),!IsBlank(Ans3.Selected.Value),!IsBlank(Ans4.Selected.Value),!IsBlank(Ans5.Selected.Value)),DisplayMode.Edit,DisplayMode.Disabled)
I got the Answer !!!!
Submit Button is active only If all radio buttons are Selected.
Many Thanks
User | Count |
---|---|
253 | |
113 | |
92 | |
48 | |
38 |