2 submit buttons on infopath - InfoPath Dev
in

InfoPath Dev

2 submit buttons on infopath

Last post 09-08-2015 01:47 PM by mcharnell. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-05-2015 08:15 AM

    2 submit buttons on infopath

    I am having a Form Library called Employee Form Library. It has Emp Name, Emp Dept etc (all fields related to employee personal and official details). I created an infopath with 2 views. View A and View B. When new employee joins HR opens Employee Form Lib, and fills infopath form with View A. HR fills all details like Emp name, Emp Dept etc etc. and Submits the form to Form Library. All the data is saved in respective fields in form library. Now if employee changes his details (like last name, department etc), HR again opens that employee's form and View B opens. I am able to achieve this also. On View B , I have 2 text box for each details, like Existing Name ---- Changed Name; Existing Department---- Changed Department and so on. I am able to capture all the exisitng information on View B also. When HR opens View B , he fills the changes name, department etc and hits SUBMIT button. Now this submit button is creating nightmare for me. For my second submit button, i have created a separate data connection. But when I PUBLISH the form, I am unable to map the new employee name to my existing employee name in Form Library. I am unable to map new department to existing field department in Form Library.I have attached a screen shot for better understanding. In the circled dropdown , I am nit getting Employee Name field of Form Library,,, so that I can map my new employee name with it. Please suggest...
    Filed under:
  • 09-08-2015 01:47 PM In reply to

    • mcharnell
    • Not Ranked
    • Joined on 08-01-2014
    • Vancouver, BC
    • Posts 15

    Re: 2 submit buttons on infopath

    I believe it is because the submit button is creating a whole new record in the sharepoint library so you end up with the old form (with the old name) and a new form with the new name.

    I think what you really want is a Save button. 

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