automatic user data retrieval - InfoPath Dev
in

InfoPath Dev

automatic user data retrieval

Last post 06-10-2011 03:08 PM by Skarn. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-07-2011 06:11 AM

    automatic user data retrieval

    Hi,

    i created a form in Infopath 2003 wich automaticly retrieves the data from a sharepointsite( name, phonenumber, locaton etc)  when opening the form, i also added a read only view when the form is submitted so than no data can be changed.
    When the form is submitted and someone else opens the form than is user data will be shown instead of the user that filled in the form, i tought that this wouldn't happen because i added a read only view.

    does anyone know how i can make it that when the form is submitted that the user data will stay the same (user data of the person that filled in the form) instead of it retrieving the data of the current user that opens it.

    Long story short: de form shouldnt retrieve data from the current user after its submitted

  • 06-10-2011 03:08 PM In reply to

    • Skarn
    • Top 50 Contributor
      Male
    • Joined on 04-20-2008
    • Australia
    • Posts 198

    Re: automatic user data retrieval

    when the user presses submit you could set a field e.g. my:formLock to a value, e.g. true.

    Then in your rules which populate from sharepoint, add a condition which says 'if formLock is not true'. This way the fields will only auto populare (or in your case, RE-populate) once the formLock value is set.

    The email which is sent with the form will have formLock set and the auto fields will not change.

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