I have a form that I want users to be able to digitally initial and date, and when they save it, I want the filled-in fields (their initial and date) locked down so that the next person who opens it cannot remove or change anyone else's initials or date.
I have the following JS in the postSave event for each field:
if (!(this.rawValue.isNull))
{this.access = "readOnly";}
else
{this.access = "Open";}
The form seems to work properly on the user end, but I keep getting a "this.rawValue is null" error in the JavaScript Debugger whenever I save the form from Adobe Pro. Obviously there ARE going to be null values until all of the fields have been filled, but why does the debugger have to tell me this each time?
Jo
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi,
Drop the .rawValue. eg this.isNull.
Niall
Views
Replies
Total Likes
Perfect!!! Thank you Niall!
Jo
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies