How can i implement the string function in infopath 2010 - InfoPath Dev
in

InfoPath Dev

How can i implement the string function in infopath 2010

Last post 09-04-2011 03:19 AM by Karsten Brocksieper. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-03-2011 11:00 PM

    How can i implement the string function in infopath 2010

    Hi all, I have dessigned a infopath 2010 form with two views and published in sharepint 2010 form library thru central admin. The two views are: 1) Data Entry View and 2)Read Only View. Condition is: After submitting the Data Entry view if the same user try to open the form it will redirect to Read Only View. In my data entry view i have user full name field, so i am not dealing with username() only, i am dealing with user full name. For example when the form is opening full name is displaying on the form: like Rahul Khanna, For this empname windowos logon name is: rahul_k Now how can i set the rules in infopath, so that more than one time user can not submit the form.There are so many condition in rules: like contains, begins with, matches pattern, is present etc. How can i implement the above logic based on rules. Your help is appreciated.
    Filed under:
  • 09-04-2011 03:19 AM In reply to

    Re: How can i implement the string function in infopath 2010

    Hello Rahul,

    if I understand you correct you want to prevent that the same user can submit the form more than once. Than you need a field which is blank at the beginning --- and when the user clicks on the submit button you insert an action rule that fill this field with the username. And in the Form_load rule you set a formatting rule that the submit button is disabled when your user full name field is identical with the field which you have filled during the submit process.

    Hope that helps,

    Regards,

    Karsten
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.