Skip to main content

I have a form with radio button options being displayed as 3 buttons, these 3 buttons will display three different panels. Depending on the button that is selected there will be different validation required.

For example, button 1 will have a requirement of "Name", if I have selected button 2, I don't want "Name" to be a required field when I go to save the item. How do I add validation to a Textbox (or anything) that will only be required if the correct button is selected?

try writing condition in this format equals(Control, Value) instead of IBCRequestType == "Reporting of Gifts"


For troubleshooting purposes, could you place a formula control on your form and have it display the value of your variable IBCRequestType? Just to make sure the value is updated correctly when you hit any of the other buttons.

The formula seems to be ok.


I have tried this and get the same result.


I have added the formula control and it is changing to the value of the selected button.


Hmm ok, thats strange then.

In your first screenshot I see that the field Name is connected to the column "Recipient Name". Can you make sure that the field is not marked as mandatory in the SharePoint Columns Settings screen?

If the column is configured to "must have values" it will always be mandatory, no matter what rules you apply in Nintex Forms.


Well this is embarrassing...that field was marked as mandatory (although it isn't supposed to be). I can't believe that I totally missed that. You have no idea how much time I have spent on just modifying the form. Can we just delete this post in its entirety?? lol

Thanks for all your help, I have gotten this working with my original formula.


Don't be worried. I could only imagine that solution because I had the same ... uhm, solution in the past. grin.png


Reply