G
Gunther Rohrer
I've got a form that looks up data from a secondary source which is a
SharePoint list and then populates the default value in several
fields. In this example, I have a SharePoint list of Vendors with all
their contact data. The InfoPath form (a Purchase Order) has a vendor
lookup dropdown that shows all the Vendors from the SharePoint list;
when a vendor is chosen it populates the address, phone number, etc.
in the proper InfoPath form fields. Everything works great. (I love
this capability!)
In some cases there is no data in the vendor list (e.g. contact
email), so I want to allow the person submitting the form to supply it
manually. This seems to work, because when the form is submitted to
the form library on SharePoijnt, I can see that the email column did
indeed receive the manually entered email data for the vendor.
However, if I open the form to modify, it reverts the email field to
blank again because it's looking-up the vendor data from the vendor
list all over again. The same thing happens for fields with data
received from the vendor list, such as phone number or address; the
form will store manually entered data on save, but then it reverts to
whatever the lookup value is on reload.
Is there a way to allow a one-time population of vendor data fields
from the SP list but allow manually entered data to persist in the
form moving forward?
Thanks for any help with this!
SharePoint list and then populates the default value in several
fields. In this example, I have a SharePoint list of Vendors with all
their contact data. The InfoPath form (a Purchase Order) has a vendor
lookup dropdown that shows all the Vendors from the SharePoint list;
when a vendor is chosen it populates the address, phone number, etc.
in the proper InfoPath form fields. Everything works great. (I love
this capability!)
In some cases there is no data in the vendor list (e.g. contact
email), so I want to allow the person submitting the form to supply it
manually. This seems to work, because when the form is submitted to
the form library on SharePoijnt, I can see that the email column did
indeed receive the manually entered email data for the vendor.
However, if I open the form to modify, it reverts the email field to
blank again because it's looking-up the vendor data from the vendor
list all over again. The same thing happens for fields with data
received from the vendor list, such as phone number or address; the
form will store manually entered data on save, but then it reverts to
whatever the lookup value is on reload.
Is there a way to allow a one-time population of vendor data fields
from the SP list but allow manually entered data to persist in the
form moving forward?
Thanks for any help with this!