Disabling the remove digital signature option

X

xyz

Hai,
I am trying to utilize digital signatures on my InfoPath forms. The
certificate was issued by Microsoft Certificate Authority. I attach the
digital signature to the document and no changes are allowed, but any user
can click on the digital signature -- the digital signature dialog box comes
us and they can remove the signature and make changes to the document. Can I
secure a document after it has been signed (maybe with the OnSign Event) so
that only the user that did the digital signature can pull up the document
and make changes?
 
A

Alessandro Catorcini [MSFT]

Just add an OnBeforeChange handler on the group node that contain the
signature (if you use autogeneration it is the innermost signatureN node
where N is a number) and set ReturnValue to false in it. This will deny the
ability to remove a signature in Infopath.

Hope this helps

--Alessandro
 
G

gbs

hello Alessandro,
I tried an example with ur information by adding
e.returnvalue=false onBeforechange handler on the groupnode that contain the
signature.But the signature is not added to the form even first time
also(Error : Violates the constraint).If i did not add this,then remove
option is not disabled.
Please explain in detail and send me a sample.
Thanks,

Alessandro Catorcini said:
Just add an OnBeforeChange handler on the group node that contain the
signature (if you use autogeneration it is the innermost signatureN node
where N is a number) and set ReturnValue to false in it. This will deny the
ability to remove a signature in Infopath.

Hope this helps

--Alessandro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top