Lock fields after pop up boxes have been answered

Avatar

Avatar

nicolec26875103

Avatar

nicolec26875103

nicolec26875103

18-12-2018

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 (1)

Accepted Solutions (1)

Avatar

Avatar

Magus069

MVP

Total Posts

1.0K

Likes

132

Correct Answer

150

Avatar

Magus069

MVP

Total Posts

1.0K

Likes

132

Correct Answer

150
Magus069
MVP

19-12-2018

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:

Answers (0)