Skip to main content
Nintex Community Menu Bar
Solved

How to disable required fields in a panel within multiple panels?

  • September 26, 2017
  • 6 replies
  • 112 views

I have 3 panels in my form which can be enabled/disabled through a checkbox (Panel A. B and C) and each panel has their own required fields. What I want to do is that whenever I will choose a panel, for example Panel A, Panel B and Panel C's required fields functionality will be disabled so that I'll be able to submit the form. Is there a rule to make this possible? I am new to Nintex Forms and I have no idea on how to this one. Your help will be greatly appreciated. Thanks!

Best answer by abdullahfahmi91

I think for the required fields inside panel, should not be made Required by default.
Instead, the required fields will have a rule which check if the checkbox of the panel they are in is ticked (means if the panel is enabled), then it will be required.

View original
Translate
Did this topic help you find an answer to your question?

6 replies

Forum|alt.badge.img+16
  • 914 replies
  • September 26, 2017

You should write it on your rules.

in Pseudo Code:

sample for a control on panel B:

 ControlB="" and CHECKBOXB=true 

You should always include your checkboxes logic on the rules

Translate

  • Author
  • 23 replies
  • September 27, 2017

Hi Fernando,

I already have rules that allows me to hide the panel and fields but the disable option of the validation does not take effect.

Translate

Forum|alt.badge.img+5

I think for the required fields inside panel, should not be made Required by default.
Instead, the required fields will have a rule which check if the checkbox of the panel they are in is ticked (means if the panel is enabled), then it will be required.

Translate

Forum|alt.badge.img+4
  • 14 replies
  • September 28, 2017

Abdullah and Fernando are right. You'll want to change all the controls to not be required and instead create validation rules on each one. The rule should ensure that the field value is not blank and that the checkbox to show the panel that the control is in, is checked. These validation rules will function as setting the fields to required only if the panel is visible.

Translate

  • Author
  • 23 replies
  • September 28, 2017

Thank you so much!!

Translate

  • Author
  • 23 replies
  • September 28, 2017

Thank you so much!!

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings