I have a form that when the submit button is selected, it locks a subform and sends a pdf doc. However when I open the document it unlocks the form allowing for edits. How do I prevent this from happening? I'm LC Designer ES 8.2.1
Solved! Go to Solution.
Views
Replies
Total Likes
The state of the form is not being saved by default .....in Designer under the File/Form properties/Defaults in the "Preserve Scripting chnages to form when saved" choose the Automatically option.
Paul
Views
Replies
Total Likes
Did you add script to lock the sub-form upon submission? Field locking is not default behaviour.
If you want the form to be non-editable by users subsequent to the original save, you will either have to flatten the document (make it not interactive basically) or add script to make fields read only.
Steve
Thanks for the swift reply, greatly appreciated. With my limited amount of knowledge, I put the code there and it works fine on the screen. It's more than possible that i did not do it right. I put the following code main.access = "readOnly"; I've tried it on the click and preSubmit events, but same results. How would i use the flatten feature?? Thanks
Views
Replies
Total Likes
The state of the form is not being saved by default .....in Designer under the File/Form properties/Defaults in the "Preserve Scripting chnages to form when saved" choose the Automatically option.
Paul
Views
Replies
Total Likes
That worked great!. Steve and Paul thanks for the assistance.
Views
Replies
Total Likes
Views
Likes
Replies