Skip to main content
Participating Frequently
January 8, 2024
Answered

Disabling a Signature Field based on a check box being selected

  • January 8, 2024
  • 1 reply
  • 715 views

I have a PDF form where operators have to select a checkbox based on a desision. Then apply the signature next to the check box they have created. The application of the signature locks off fields further on in the form as required. 

 

Is there any way I can make the apposing signature box unavailable based on the selection of the check box. For example, if 'FILL ON TOP' checkbox is selected, the signature field for 'NOT FILL ON TOP' becomes unavailable / locked?

 

Thanks 🙂

This topic has been closed for replies.
Correct answer Nesa Nurani

Try this as 'Mouse UP' action (Run a JavaScript) of checkbox:

this.getField("NOT FILL ON TOP").readonly = event.target.value == "Off" ? false : true;

1 reply

Nesa Nurani
Community Expert
Nesa NuraniCommunity ExpertCorrect answer
Community Expert
January 8, 2024

Try this as 'Mouse UP' action (Run a JavaScript) of checkbox:

this.getField("NOT FILL ON TOP").readonly = event.target.value == "Off" ? false : true;

Participating Frequently
January 8, 2024

Worked a treat! Thank you so much!