<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: prevent digital signatures from being deleted</title><link>https://www.infopathdev.com:443/forums/thread/25602.aspx</link><pubDate>Fri, 11 Jan 2008 19:31:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25602</guid><dc:creator>cathy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25602.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25602</wfw:commentRss><description>&lt;p&gt;Please any body tell me how to disable the digital signatures from being deleted using C# code.&lt;/p&gt;</description></item><item><title>Re: prevent digital signatures from being deleted</title><link>https://www.infopathdev.com:443/forums/thread/25480.aspx</link><pubDate>Tue, 08 Jan 2008 16:44:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25480</guid><dc:creator>cathy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25480.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25480</wfw:commentRss><description>&lt;p&gt;What would be the code for the above operation in C#?&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: prevent digital signatures from being deleted</title><link>https://www.infopathdev.com:443/forums/thread/14442.aspx</link><pubDate>Fri, 31 Mar 2006 22:51:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14442</guid><dc:creator>nkelkar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14442.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14442</wfw:commentRss><description>Correction&lt;br /&gt;&lt;br /&gt;Please add the OnBeforeChange handler code to the "signatureN" group where the signature is stored, not to the section you are signing.&lt;br /&gt;&lt;br /&gt;In other words (my excample) browse to :&lt;br /&gt;&lt;br /&gt;Tools - Form Options - Digital Signatures - "Enable digital signature for specific data" - Modify/Add&lt;br /&gt;&lt;br /&gt;Note the "Store signatures in the following group" value. It will be a read only value, eg /my:myFields/my:signature3/my:signature4&lt;br /&gt;&lt;br /&gt;Add the code above into that particular group.&lt;br /&gt;&lt;br /&gt;And now the thing works.&lt;br /&gt;&lt;br /&gt;- NKELKAR</description></item><item><title>prevent digital signatures from being deleted</title><link>https://www.infopathdev.com:443/forums/thread/12829.aspx</link><pubDate>Fri, 31 Mar 2006 22:36:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12829</guid><dc:creator>nkelkar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12829</wfw:commentRss><description>Question&lt;br /&gt;How do I prevent users from deleting existing digital signatures?&lt;br /&gt;&lt;br /&gt;Background:&lt;br /&gt;A] The project is in VB.net (IDE is visual studio)&lt;br /&gt;B] There are 2 sections in the form, section1 and section2&lt;br /&gt;C] Section1 is where users enter data&lt;br /&gt;D] Section2 is where they add signatures (more than one allowed)&lt;br /&gt;E] If Section2 is signed then I have made all fields in section1 as readonly&lt;br /&gt;F] Within Section2 I have OnBeforeChange handler with code as below: &lt;br /&gt; If e.Operation = "delete" Then&lt;br /&gt; e.ReturnStatus = False&lt;br /&gt; Else&lt;br /&gt; 'Do Nothing&lt;br /&gt; End If&lt;br /&gt;&lt;br /&gt;Inspite of the above code users can delete old signatures.&lt;br /&gt;&lt;br /&gt;Any tips why and how to prevent them from doing so.&lt;br /&gt;&lt;br /&gt;- NKELKAR</description></item></channel></rss>