<?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: Needs to write Before Save Event</title><link>https://www.infopathdev.com:443/forums/thread/74000.aspx</link><pubDate>Mon, 16 Jan 2012 06:29:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74000</guid><dc:creator>Ammar Badar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74000.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=74000</wfw:commentRss><description>by the way, i am using InfoPath 2010 so please tell the steps accordingly</description></item><item><title>Needs to write Before Save Event</title><link>https://www.infopathdev.com:443/forums/thread/73999.aspx</link><pubDate>Mon, 16 Jan 2012 06:20:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73999</guid><dc:creator>Ammar Badar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73999.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=73999</wfw:commentRss><description>Hi 
I am new to InfoPath. I need to write a code before saving the form. I want whenever someone saves the form, it must check whether all fields are properly entered. if not, give a user friendly message and dont allow user to save the form. Please tell in details as i even dont know where to write the code. SomeOne on this community says that to write code for save event 
You need to create a Save event, which can be done by clicking &amp;quot;Edit&amp;quot; in the &amp;quot;Open and Save&amp;quot; category of the &amp;quot;Form Options&amp;quot; dialog box. Your code would then be inserted into the event handler stub.
but i dont find any category &amp;quot;Open and Save&amp;quot; in &amp;quot;Form Options&amp;quot;
Please help!!!!</description></item></channel></rss>