Skip to main content
Firesail
Participant
March 20, 2017
Answered

Check Dropdown List for Yes or No before allowing Signature

I have a form with multiple signature fields and multiple dropdown lists (all lists have same values " " {Space (acting as blank)}, Yes, No). I want to prevent a signature from being added to PrepSign1 if DropDown1 & 2 are not set to either Yes or No.  Below is a sample of my form. I have a total of 8 signoff's for each level (Prep/Reviewer).

This topic is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
March 20, 2017

You can do it by creating a hidden text field with this code as its custom calculation script:

this.getField("PrepSign1").display = (this.getField("Dropdown1").value==" " || this.getField("Dropdown2").value==" ") ? display.hidden : display.visible.

4 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
March 20, 2017

You can do it by creating a hidden text field with this code as its custom calculation script:

this.getField("PrepSign1").display = (this.getField("Dropdown1").value==" " || this.getField("Dropdown2").value==" ") ? display.hidden : display.visible.

Translate
Firesail
FiresailAuthor
Participant
March 21, 2017

Where would I input this script? On PrepSign1?

Translate
try67
Community Expert
Community Expert
March 21, 2017

As I wrote, you should put it as the custom calculation script of a hidden text field that you'll add to your file.

Translate