<?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: Infopath Form</title><link>https://www.infopathdev.com:443/forums/thread/125335.aspx</link><pubDate>Tue, 30 May 2023 13:06:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125335</guid><dc:creator>lionheart2308</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125335.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125335</wfw:commentRss><description>Hi Hilary,
How can i load a form to the user &amp;quot;sorry you have already submitted a request &amp;quot; if the same user submitted a request earlier.
in other words, if the user had already submitted a request, trying to re-submit a new one should pop up a message that he is not allowed , I already did this by doing the following :
I created a single text field &amp;quot;AlreadyCreatedUser&amp;quot; and changed it to &amp;quot;Enforce Unique value&amp;quot;  then i added a rule to the form in Infopath Designer that &amp;quot;AlreadyCreatedUser&amp;quot; is equal to Username() . 
so submitting a request twice is now impossible after clicking on the Submit button. the error message says  : 
The form cannot be submitted.
One or more fields have invalid values and cannot be submitted to the list.
The list item could not be added or updated because duplicate values were found in the following field(s) in the list. 

what i need is when the user select &amp;quot;+ new item&amp;quot;  from sharepoint list , the form or error message should display at this moment only. and not after clicking on the Submit button,

the confusion is i dont need the users to fill the entire form and then when they try to submit , they wil get the error message at the end.  i need the error to display when selecting new item before they submit the request (this condition must apply only if they have submitted the request already) and not for new records.</description></item><item><title>Re: Infopath Form</title><link>https://www.infopathdev.com:443/forums/thread/124075.aspx</link><pubDate>Fri, 23 Apr 2021 01:25:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124075</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124075.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124075</wfw:commentRss><description>I think you would need to add a query to the list, so you could query the list and see if there were any items there that were created by the current user. You should be able to set that data connection to not query on load, and then in form load rules, set the query field for Created By to the current user, then run the query to see if a list item already exists for them.</description></item><item><title>Infopath Form</title><link>https://www.infopathdev.com:443/forums/thread/124046.aspx</link><pubDate>Mon, 19 Apr 2021 10:21:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124046</guid><dc:creator>lionheart2308</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124046.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124046</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have a simple SharePoint list, 2 Infopath forms (New request &amp;amp; No Duplicate ) with 1 Submit Button&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I need to disable the duplicate submission as follow:&lt;/p&gt;&lt;p&gt;whenever the user (who already submitted a request) , i want to display the form (No Duplicate) so that the user knows that he already submitted this form and cannot submit one more time.&lt;/p&gt;&lt;p&gt;How can i do that please ?&lt;/p&gt;&lt;p&gt;Thank you &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>