<?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: Field Validation on a complex Browser Form with Sharepoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/96666.aspx</link><pubDate>Wed, 26 Mar 2014 11:21:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96666</guid><dc:creator>ph0b0s101</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96666.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96666</wfw:commentRss><description>Hi,

my idea has solved my problem with the field validation for the nested sections. I have simply added 3 action rules to the &amp;quot;Accountaktion&amp;quot; field for each state the field has. Then i used the &amp;quot;set value of a field&amp;quot; function to reset all radio buttons which controlls the nested sections. The result is as expected and has solved my problem :-)

Thank you very much for your support :-)

Best regards
Christian</description></item><item><title>Re: Field Validation on a complex Browser Form with Sharepoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/96663.aspx</link><pubDate>Wed, 26 Mar 2014 11:00:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96663</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96663.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96663</wfw:commentRss><description>&lt;p&gt;Hi - my apologies but I don&amp;#39;t really understand German&amp;nbsp;so I couldn&amp;#39;t read the logic in your form. :)&lt;/p&gt;&lt;p&gt;Anyway, are you saying the my suggested method does not work? Hmm, looking at only the radio buttons in your form, I see that the field is named Accountaktion and that it has three options: Einrichten, Ändern and Deaktivieren. What I was suggesting was that you&amp;#39;d use&amp;nbsp;value selected in the radio button as a condition in your&amp;nbsp;data validation rules. For example, one condition can be if the Accountaktion = &amp;quot;Einrichten&amp;quot; and NameAntragsteller is blank, then display an error.&lt;/p&gt;&lt;p&gt;And I see you&amp;#39;re already doing this for most of the fields in your form. You just need to add the same logic in your other fields that depend on the selected radio button&amp;#39;s value.&lt;/p&gt;</description></item><item><title>Re: Field Validation on a complex Browser Form with Sharepoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/96597.aspx</link><pubDate>Mon, 24 Mar 2014 07:49:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96597</guid><dc:creator>ph0b0s101</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96597.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96597</wfw:commentRss><description>Hi,

Thanks for your pretty quick response and your dummy form :-)

This is exactly the way I do my field validation. This will work pretty well when only one level of sections are in the form. In my case there are more sections nested. 

I will attach the form, so you can see my &amp;quot;creation&amp;quot; :-)

The aim for me is, that all fields with validation will be reseted (for both not visible sections), when the user changes the &amp;quot;main&amp;quot;- radio button from on to the other.

I hope it is better understandable if you may look at the attached form.

Hm... maybe i have an idea :) When the user switches the &amp;quot;main&amp;quot;- radio button from on to the other then i should only reset the radio button controls for the nested sections.

Best regards
Christian</description></item><item><title>Re: Field Validation on a complex Browser Form with Sharepoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/96593.aspx</link><pubDate>Mon, 24 Mar 2014 04:04:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96593</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96593.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96593</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Thanks for the very precise description of the issue - not bad at all! :)&lt;/p&gt;&lt;p&gt;I understand that you&amp;#39;re allowing users to toggle between&amp;nbsp;radio buttons to get to the corresponding section, and that validation should clear in the non-selected sections to be able to submit the form. If this is correct and if you&amp;#39;re saying that your data validation rules have conditions based on the selected radio button&amp;#39;s value, they should work correctly if the user toggles to another radio button. I&amp;#39;ve attached a simple form I&amp;#39;ve thrown showing how to do this correctly. Please look at it and let me know if it addresses your issues.&amp;nbsp;&lt;/p&gt;&lt;p&gt;One more thing, if you&amp;#39;re using InfoPath 2010 or 2013 to design your forms, you can&amp;nbsp;make use of the handy feature for copying and pasting rules. Believe me this will save you a lot of time as you won&amp;#39;t need to recreate your rules for every single field.&lt;/p&gt;&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;p&gt;Cheers!&lt;/p&gt;</description></item><item><title>Field Validation on a complex Browser Form with Sharepoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/96571.aspx</link><pubDate>Fri, 21 Mar 2014 14:33:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96571</guid><dc:creator>ph0b0s101</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96571.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96571</wfw:commentRss><description>Hello,

this is my first thread in this forum. I have used the search but i cound&amp;#39;nt find a thread which will help me with my question / problem. If there is a thread i haven&amp;#39;t found please tell me the thread.

Ok first I want to give you a short summary of the forms and the used sharepoint 2010 enviroment. I think its better to know to answer the question(s).

I have created some forms which uses data connections &amp;quot;GetUserProfileByName&amp;quot;-Service and a Sharepoint Bib for sending the form. The final forms will be published in a sharepoint 2010 site collection, where the users are able to find and open the forms. Furthermore each from will start a approval process (workflows).

All this functionallity will work pretty well but we run in a &amp;quot;simple&amp;quot; validation error when the user fill out the form. 

The Problem: I use many sections in each form and i activate or deactivate sections by conditions. Each condition is bundled with radiobuttons. So there are 3 different values for this radiobutton. For example if radiobutton has the value &amp;quot;edit&amp;quot; than activate section &amp;quot;edit&amp;quot;, if radiobutton has the value &amp;quot;create&amp;quot; than show the section &amp;quot;create&amp;quot; and hide the section &amp;quot;edit&amp;quot;. In each section there are many fields the user have to fill with the needed information. So each field has a field validation which become active when the radiobutton (in this example the value is &amp;quot;edit&amp;quot; and the field itself is empty. This is working pretty well.

But i run in problems, when the user is chaning his mind and change the radio button from &amp;quot;edit&amp;quot; in &amp;quot;create&amp;quot;. Then I have the following scenario:

the user has choosen the radiobutton &amp;quot;edit&amp;quot; and the edit section will open. So the field validation for all fields in the section &amp;quot;edit&amp;quot; becomes active but than the user swtiches to the &amp;quot;create&amp;quot; radiobutton and the section &amp;quot;create&amp;quot; will open (and &amp;quot;edit&amp;quot; will be hidden) and starts also the field validation for the fields in this section. This means that the fieldvalidation for the &amp;quot;edit&amp;quot; and &amp;quot;create&amp;quot; section are active but the user will only see the &amp;quot;create&amp;quot; section. Finally the user becomes a error message when he tries to submit the form.

Is there a easy way to deactivate all fieldvalidations for hidden fields / sections? Maybe views or something like that?

Ok its also possible with extra validation rules for each field but then i have to create another 100 rules for each form to reset the field validation for each field which is hidden.

I hope its clear what my problem is, my english isn&amp;#39;t the best but i tried my best :-)

Feedback is much appricated.

Best regards
Christian

PS: If needed i could create a short video demonstration of the error.</description></item></channel></rss>