<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Display a "Alert Message Box" in Browser Enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/102223.aspx</link><pubDate>Mon, 20 Apr 2015 06:16:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102223</guid><dc:creator>umashiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102223.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=102223</wfw:commentRss><description>Hi Ghozt,

Thanks for your response.

I am clear with your points...  but inside a form, on a button click event i need to trigger a alert message about to remind a user to save a form.

ASP.Net web forms used to have validation alerts.. similarly my end user wants to get an alert.

can we do such things... Please guide me on that..

Thanks</description></item><item><title>Re: Display a "Alert Message Box" in Browser Enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/102188.aspx</link><pubDate>Thu, 16 Apr 2015 16:49:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102188</guid><dc:creator>Ghoztrider</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=102188</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Umashiva,&lt;/p&gt;&lt;p&gt;You can kick off alerts in a browser enabled form using JavaScript, content editor web-part, and a browser developer add-on (firebug) . It&amp;#39;s not the best approach in my opinion, but I&amp;#39;ve used them successfully. Do the following:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Add a content editor webpart&lt;/li&gt;&lt;li&gt;Using firebug, find the (#id) if the control you want to alert on &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Create java script file with alert box code and control id#&lt;/li&gt;&lt;li&gt;Place script file in asset library and point to it via the CE webpart&lt;/li&gt;&lt;li&gt;Click button for alert.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>Re: Display a "Alert Message Box" in Browser Enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/101840.aspx</link><pubDate>Tue, 24 Mar 2015 15:47:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101840</guid><dc:creator>PrachiSingh07</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101840.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=101840</wfw:commentRss><description>&lt;p&gt;Hi Umashiva,&lt;/p&gt;&lt;p&gt;Sorry, if I wasn&amp;#39;t clear earlier. What I meant was that you could try to switch to another view. You build a view with an Alert&amp;nbsp;message textbox and a back button to get back to your previous view. As soon as an error occurs, you set a value to a field that triggers a rule that switches view to display the Alert message. You could use a calculated value for this - add a calculated value to the form with some text in it for the warning you wish to display, and conditionally format it to hide if the number field is &amp;gt;= 0.&lt;/p&gt;&lt;p&gt;Browser enabled forms are really restrictive in their functionality. Alerts are not allowed and Microsoft recommends using hidden sections to display messages. i.e. create a hidden section with a text box with message and keep it hidden until you want to display it on some trigger. You can use an expression box which hides if blank, and shows &amp;quot;Alert message&amp;quot; when text is placed into it. Then when you want to display a message, you populate that field, and the expression box displays. Not the best choice in many cases, but it works.&lt;/p&gt;&lt;p&gt;Hope this helps. Thanks!&lt;/p&gt;&lt;p&gt;-Prachi&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Display a "Alert Message Box" in Browser Enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/101832.aspx</link><pubDate>Tue, 24 Mar 2015 05:00:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101832</guid><dc:creator>umashiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101832.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=101832</wfw:commentRss><description>Hi Prachi,

Thanks for your response.
But, couldn&amp;#39;t clear your points.

Can you please explain me in detail with some code logic or example?

Uma</description></item><item><title>Re: Display a "Alert Message Box" in Browser Enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/101827.aspx</link><pubDate>Mon, 23 Mar 2015 17:29:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101827</guid><dc:creator>PrachiSingh07</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101827.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=101827</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In order to display an Alert Message, you need to use an extra view.&lt;/p&gt;&lt;p&gt;So if the conditions are correct execute a view switch. Set up the view however you want.&lt;/p&gt;&lt;p&gt;If yes, they return to the previous view. If no, the text box with the &amp;quot;Alert Message&amp;quot; appears and once data is entered a continue or&amp;nbsp;any other&amp;nbsp;button appears. When clicked, they proceed to the next view.&lt;/p&gt;&lt;p&gt;Hope this helps.&amp;nbsp;&amp;nbsp;Thanks!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-Prachi&amp;nbsp;&lt;/p&gt;</description></item><item><title>Display a "Alert Message Box" in Browser Enabled forms</title><link>https://www.infopathdev.com:443/forums/thread/101779.aspx</link><pubDate>Thu, 19 Mar 2015 06:47:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101779</guid><dc:creator>umashiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101779.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=101779</wfw:commentRss><description>Hi All,

I working on Browser Enabled Forms in InfoPath 2010, 
On a button click event i just want to display an Alert Message Box 
If any one knows, Please help me in that.

Thanks,</description></item></channel></rss>