Copy link to clipboard
Copied
I have a task list with a checkbox against each task. I would like a user to complete each task and check each matching checkbox to show the task is complete. Once and only once all tasks are complete should they be permitted to sign. How do I impose such a condition on the signature field?
Copy link to clipboard
Copied
You can't do it directly. The way to do it is to hide the signature field entirely and use a (hidden) field's calculation script to determine if it should be made visible, based on the state of the check-boxes.
Copy link to clipboard
Copied
Thank you again. That seems straight forward enough. I'll give it a go and let you know if I have any issues.
Copy link to clipboard
Copied
Can also make read only. Run this code in the checkbox field.
if(this.getField("[name of check box field]").value == "Off")
this.getField("[name of signature field]").readonly = true
else
this.getField("[name of signature field]").readonly = false