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

Lock fields after pop up boxes have been answered

Avatar

Avatar
Boost 1
Level 1
nicolec26875103
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
nicolec26875103
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
nicolec26875103
Level 1

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
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,077 posts

Correct Reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,077 posts

Correct Reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile
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)