<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Restricting movement</title><link>https://www.infopathdev.com:443/forums/thread/57288.aspx</link><pubDate>Fri, 23 Jul 2010 14:57:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57288</guid><dc:creator>Pcheru</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57288</wfw:commentRss><description>&lt;p&gt;Yes Jimmy I tried disabling the button till the value is entered but I failed to create a rule which pops up a message saying&amp;nbsp; &amp;quot;Please enter Quantity&amp;quot;......not sure how that can be done.....for now I am considering that to be fine as I am dealing with a major issue of closing the form after submitting on just one click of a button........I have the code written for submitting the form with which I am successful......also created a rule to &amp;quot;Close the form&amp;quot; but,I want both of them to happen in just one click of the &amp;quot;OK&amp;quot; button.Currently 2 steps are needed....Can u help me with this!!!!!!!!Please.......&lt;/p&gt;</description></item><item><title>Re: Restricting movement</title><link>https://www.infopathdev.com:443/forums/thread/57193.aspx</link><pubDate>Thu, 22 Jul 2010 14:39:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57193</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57193.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57193</wfw:commentRss><description>&lt;p&gt;You seem to be describing two entirely different things: one is manipulating the user&amp;#39;s mouse/keyboard cursor, and the other is preventing submit under certain conditions.&amp;nbsp;&amp;nbsp; The latter is a much more reasonable objective.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Have you tried just adding validation to the field in question?&amp;nbsp; Or if you&amp;#39;re having users submit using a button in the form, you can just disable the button (with conditional formatting) when the criteria aren&amp;#39;t met.&lt;/p&gt;</description></item><item><title>Re: Restricting movement</title><link>https://www.infopathdev.com:443/forums/thread/57191.aspx</link><pubDate>Thu, 22 Jul 2010 13:04:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57191</guid><dc:creator>Pcheru</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57191</wfw:commentRss><description>&lt;p&gt;Hi Patrick,&lt;/p&gt;
&lt;p&gt;Thanx for those ideas.....but the real scenario I am dealing with is something different. I want&amp;nbsp;the field &amp;quot;quantity&amp;quot; to be filled before I can really submit the form.....may be I need to&amp;nbsp;create few rules for this....I know we have a feature in Oracle forms which restricts the cursor movement thus, want to know if there is something similar here.&lt;/p&gt;
&lt;p&gt;Also,&amp;nbsp;I tried to change a Submit event into Clickedbutton event.....do you think I have a way of dealing with the CancelableArgs&amp;nbsp;used in Submit event other than getting rid of them.....&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Restricting movement</title><link>https://www.infopathdev.com:443/forums/thread/57171.aspx</link><pubDate>Wed, 21 Jul 2010 23:59:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57171</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57171.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57171</wfw:commentRss><description>&lt;p&gt;Hi Pcheru,&lt;/p&gt;
&lt;p&gt;This isn&amp;#39;t a feature that InfoPath supports out-of-the-box. InfoPath can be used to add validation and to show a popup for example if the value isn&amp;#39;t correct. That&amp;#39;s easy to do.&lt;/p&gt;
&lt;p&gt;Two other methods that you could do to get what you want:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Add an OnAfterChange event handler (code) to your form that checks the value and sets text selection (cursor position) to a your text field. I believe the object model method is SetTextSelection, but I may be forgetting the exact name. This can be done, but requires code.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Make all of the other fields in your form read-only if the value for Quantity isn&amp;#39;t numeric between 1 and 1,000,000. This can be done without code, but it does require setting conditional formatting on all other fields in your form. Not too hard though if you only have 10-20 fields. If you have 100, I suggest using InfoPath 2010 which allows for copying conditional format rules and will make it faster.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Happy trails!&lt;/p&gt;</description></item><item><title>Restricting movement</title><link>https://www.infopathdev.com:443/forums/thread/57165.aspx</link><pubDate>Wed, 21 Jul 2010 20:32:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57165</guid><dc:creator>Pcheru</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57165.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57165</wfw:commentRss><description>&lt;p&gt;Hi...Can somebody please tell me a way as to how I can restrict the cursor movement i.e., I cannot leave the block without entering a valid value.......eg: I entered a value &amp;quot;Z&amp;quot; into Quantity which is a numeric field. I should not be allowed to move to the next or any other field unless I change it to a numeric field like &amp;quot;8&amp;quot;&lt;/p&gt;
&lt;p&gt;Thanks in advance!!!!!!!&lt;/p&gt;</description></item></channel></rss>