Y
You Big Dummy
I am more of an architect and just getting into the dev part. I a blank
infopath form and I want to sign it with digital signatures and not have to
go through the signing wizard. I looke at microsoft's article here
http://msdn.microsoft.com/library/d...2003_ta/html/ODC_INFDigitallySigningData2.asp
But, I don;t want a full form template. I just want to modify a blank form
so that every form I create from that blank form will be able to be signed
without going through the wizard. When you choose programming>on sign event
in infopath you see this in the window. How do I modify this so the form will
add digital signatures to the form without going thorugh the wizard. Thanks
in advance if anyone can help!
// The following function handler is created by Microsoft Office InfoPath.
// Do not modify the name of the function, or the name and number of
arguments.
//=======
function XDocument::OnSign(eventObj)
{
// The OnSign handler can be customized only in fully trusted form templates.
var Signature = eventObj.SignedDataBlock.Signatures.Create();
// You can add other pieces of information to sign by modifying the
signature template in Signature.SignatureBlockXmlNode
Signature.Sign();
eventObj.ReturnStatus = true;
}
infopath form and I want to sign it with digital signatures and not have to
go through the signing wizard. I looke at microsoft's article here
http://msdn.microsoft.com/library/d...2003_ta/html/ODC_INFDigitallySigningData2.asp
But, I don;t want a full form template. I just want to modify a blank form
so that every form I create from that blank form will be able to be signed
without going through the wizard. When you choose programming>on sign event
in infopath you see this in the window. How do I modify this so the form will
add digital signatures to the form without going thorugh the wizard. Thanks
in advance if anyone can help!
// The following function handler is created by Microsoft Office InfoPath.
// Do not modify the name of the function, or the name and number of
arguments.
//=======
function XDocument::OnSign(eventObj)
{
// The OnSign handler can be customized only in fully trusted form templates.
var Signature = eventObj.SignedDataBlock.Signatures.Create();
// You can add other pieces of information to sign by modifying the
signature template in Signature.SignatureBlockXmlNode
Signature.Sign();
eventObj.ReturnStatus = true;
}