<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: disable delete key on keyboard</title><link>https://www.infopathdev.com:443/forums/thread/8154.aspx</link><pubDate>Tue, 01 Nov 2005 21:54:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8154</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8154</wfw:commentRss><description>OK, if you get to the OnBeforeChange event associated with a textbox (right-click / data validation event).&lt;br /&gt;In the body of the code.  Type e.  the intellisense will show you NewValue and OldValue.  That where you can catch changes, cancel the update is needed etc.&lt;br /&gt;In your case, you would see if 1 or more characters were dropped.&lt;br /&gt;&lt;br /&gt;Hope that it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Re: disable delete key on keyboard</title><link>https://www.infopathdev.com:443/forums/thread/8153.aspx</link><pubDate>Tue, 01 Nov 2005 20:23:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8153</guid><dc:creator>absMing</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8153</wfw:commentRss><description>Thanks for response&lt;br /&gt;&lt;br /&gt;Im interested to know exactly in js, how would you go about comparing the oldvalue agains the newvalue of an event?</description></item><item><title>Re: disable delete key on keyboard</title><link>https://www.infopathdev.com:443/forums/thread/8152.aspx</link><pubDate>Tue, 01 Nov 2005 05:35:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8152</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8152</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;If you just want to find out if a textbox was cleared with Backspace or Del or if 1 character was removed, maybe you can use the OnAfterChange event and compare the OldValue to the NewValue of the event.  If it is more complex logic, you may have to build your own ActiveX control.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>disable delete key on keyboard</title><link>https://www.infopathdev.com:443/forums/thread/5070.aspx</link><pubDate>Tue, 01 Nov 2005 03:11:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5070</guid><dc:creator>absMing</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5070</wfw:commentRss><description>Hi&lt;br /&gt;&lt;br /&gt;is there a way to disable the delete key on keyboard.  I have coded a delete button on my form which does some stuff behind the scenes. but pressing the delete skips all of the code ive written.&lt;br /&gt;&lt;br /&gt;regards</description></item></channel></rss>