Unkindled_One
Scholar

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

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.

 

0 Kudos
Reply
3 Replies
Aleximo
Contributor

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

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):

 

Aleximo_0-1641980995797.png

 

 

Aleximo_1-1641981021361.png

 

enter following rule:

 

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

 

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

0 Kudos
Reply
Unkindled_One
Scholar

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

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.

0 Kudos
Reply
Aleximo
Contributor

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

hey @Unkindled_One ,

 

could u provide some screenshots?

 

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

 

HideDateHideDate

0 Kudos
Reply