Skip to main content
Nintex Community Menu Bar
Solved

How can I show/hide panel from a Yes/NO Drop-down in Nintex form?

  • January 6, 2022
  • 4 replies
  • 640 views

Forum|alt.badge.img+2

How can I show/hide panel from a Yes/NO Drop-down in Nintex form?  I want this to happen in real time and not when the user hits the submit button.  This is for SharePoint 2013.  I'm thinking this can be done with JavaScript but don't know how.  See Attached for the image.  When the scroll bar is on NO, the Grace Period Calendar shouldn't show unless they select Yes.  Can this be done?  I'm also down to change it to a check mark if that makes things easier.

 

Best answer by Aleximo

hey @Unkindled_One ,

 

u can do this with a formula:

 

select "...how long?" and the date field and add a new rule (f.e. HideDate):

 

 

 

 

enter following rule:

 

OR(GracePeriod == "", GracePeriod == "No")

 

this will hide the DateField when GracePeriod is empty or has the value "No".

4 replies

Forum|alt.badge.img+8
  • Answer
  • January 12, 2022

hey @Unkindled_One ,

 

u can do this with a formula:

 

select "...how long?" and the date field and add a new rule (f.e. HideDate):

 

 

 

 

enter following rule:

 

OR(GracePeriod == "", GracePeriod == "No")

 

this will hide the DateField when GracePeriod is empty or has the value "No".


Forum|alt.badge.img+2
  • Author
  • Rookie
  • January 13, 2022

Hey @Aleximo ,

 

That works, but not for real time.  So if I go to preview and edit, if I select yes, the GracePeriod Date doesn't come back.  The user should be able to see it switch back and forth without hitting the submit button.


Forum|alt.badge.img+8
  • January 14, 2022

hey @Unkindled_One ,

 

could u provide some screenshots?

 

this works in real time as u can see in the following video (GIF):

 


Forum|alt.badge.img+2
  • Author
  • Rookie
  • February 24, 2022

Hey @Aleximo , it works, I guess I was testing in preview and when I decided to test live one more last time, it works.  I noticed my last message didn't go through but I wanted to say thanks.  Note to self, don't test in preview mode only, test the live thing.