Sign in to Community
Sign in to view all badges
previously we just printed out forms to pdf and that locked all the fields. However in OS X we cannot print to PDF.
I would just add a button with the following code:
form1.access = "protected"; //disable everythingthis.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.