Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Lock fields after pop up boxes have been answered

nicolec26875103
Level 2
Level 2

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?

1 Accepted Solution
Magus069
Correct answer by
Level 10
Level 10

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:

View solution in original post

1 Reply
Magus069
Correct answer by
Level 10
Level 10

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:

View solution in original post