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

Button to lock all fields

Avatar

Avatar
Level 1
jonnip85
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
jonnip85
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
jonnip85
Level 1

16-12-2018

hi

previously we just printed out forms to pdf and that locked all the fields. However in OS X we cannot print to PDF.

does anyone Have a JavaScript suggestion to either flatten and save the form. Or to lock all the fields?

thank you

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
MinusZero
Level 4

16-12-2018

Hi,

I would just add a button with the following code:

form1.#subform[0].Button1::click - (JavaScript, client)

form1.access = "protected"; //disable everything
this.presence = "hidden"; //hide this button

Clicking the button will lock all the fields and hide the button. Of course, you cant go back after this without having another button to "open" the form.

Answers (0)