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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Make buttons disappear after Signature

Avatar

Level 2

I am trying to get two buttons to disappear after a form is signed.  I am using the following to try to accomplish this by using the following Javascript code under the 'postSign' event:

addRemove.addRow.presence="hidden";
addRemove.removeRow.presence="hidden";

*addRemove is the subform; addRow is button No. 1; removeRow is button No. 2

The LiveCycle application immediately prompts a message that the Signature Text object contains 'a feature not supported by the target version.'  and does not work when tested.  Any ideas on how to accomplish this?

Any feedback is appreciated.

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

I woudl put that code on the preSign event rather than the postSign. Note that if you are targetting an early version of Reader/Acrobat that these events were not part  of that release. I believe (but I am  not sure) they were added in the 8.1 timeframe.

paul

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

I woudl put that code on the preSign event rather than the postSign. Note that if you are targetting an early version of Reader/Acrobat that these events were not part  of that release. I believe (but I am  not sure) they were added in the 8.1 timeframe.

paul

Avatar

Level 2

It worked.  Thank you...though I don't understand why it wouldn't work Post-Sign.  Oh well, I've just decided to do away with that code and place a 'Finalize Form' button to remove all the buttons on the form, instead.  That way I don't have to worry about version compatibility issues either or have to think of a way to bring the buttons back if they cancel in the middle of the signing process.

Thank you very much for your help.

Avatar

Level 10

The signature will use the template as part of the signature ....so if something changes in the template the the signature breaks. By putting this code on post Sign you are changing the template and thus the signature ...In presign the change happens before the signature is applied ...and thus the signature works fine.

Hope that helps

Paul