Hi there
I'm new to using javascript so am probably going to asks some pretty stupid questions, but I've got an application form for customers to fill in, and once this is complete I need to have a button at the top giving the option to lock the form.
I've got another form with this feature working, and I copied all the elements of the buttons used in this; however, whilst they work in the original form they do not work in my new form. I've not copied and pasted these (this did not work either) I've re-done them from scratch but copied the details from them.
So I've got the button that stays visible for the user, for which the javascript is:
LockForm();
And then I have a button that is hidden, with:
var btn = this.getField("btnLock");
btn.hidden = true;
var btn2 = this.getField("hideLockButton");
btn2.hidden = true;
this.dirty = false;
Like I said, this is working on the original form but not my new one - any suggestions gratefully received and apologies if I am asking a really stupid question but I just don't know this stuff!
Cheers R
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com