cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Custom Validation with "Tabs" and panels

Jump to solution

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?

Labels: (2)
0 Kudos
Reply
7 Replies
Workflow Hero

Re: Custom Validation with "Tabs" and panels

Jump to solution

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

0 Kudos
Reply
Workflow Hero

Re: Custom Validation with "Tabs" and panels

Jump to solution

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.

0 Kudos
Reply
Workflow Hero

Re: Custom Validation with "Tabs" and panels

Jump to solution

I have tried this and get the same result.

0 Kudos
Reply
Workflow Hero

Re: Custom Validation with "Tabs" and panels

Jump to solution

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

0 Kudos
Reply
Workflow Hero

Re: Custom Validation with "Tabs" and panels

Jump to solution

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.

0 Kudos
Reply
Workflow Hero

Re: Custom Validation with "Tabs" and panels

Jump to solution

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.

Reply
Workflow Hero

Re: Custom Validation with "Tabs" and panels

Jump to solution

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

Reply