Lock fields after pop up boxes have been answered



I have a form which has messageBoxes that pop up when the form is opened, and the user fills out the questions in these boxes, which then uses the data to fill out the form for them.  Is there a way to lock the form once those boxes have been used so they are left with an uneditable PDF which they can then print?

Accepted Solutions (0)

Answers (1)

Answers (1)




Hi there,

you can either set the parent's (subform) access to readOnly or protected which holds all the fields

or call a recursive function that will iterate through all objects within the form to set all fields readOnly or protected.

a recursive function could look a lot like the following: