Hello Everyone,
I have a form that I updated from InfoPath 2007 to 2013. After the update, a concat formula is no longer working. I have verified that there are no errors in the formula, it is simply no longer pulling in data the way it used to.
In the form I have a field (FIELD_1) which references the ID number of another field which draws it's values from a secondary connection (FIELD_2).
Here's the breakdown of the problem:
FIELD_2 is a dropdown list control which is connected to a secondary SharePoint list used to provide values for the dropdown list
FIELD_1 is a text field control which concatenates data from FIELD_2 and puts it in a format that can be submitted to a SharePoint list in order to update a Lookup field. The Lookup field references the same SharePoint list as FIELD_2.
In the 2007 version of the form, the concat formula worked perfectly.
For example, let's say the SharePoint list referenced as a secondary connection for FIELD_2 had two rows:
ID Title
1 Apples
2 Oranges
FIELD_2 would contain the Title values in the dropdown list (Apples, Oranges).
Depending on which value was selected, FIELD_1 would grab the ID number associated with the Title value and put it in the following format
ID;#Title
So if a user selected Oranges from FIELD_2's dropdown list, FIELD_1 would look like this: 2;#Oranges
The problem I am having in the 2013 version of the form template is that the ID value is no longer populating.
Instead of getting 2;#Oranges, I am only getting ;#Oranges.
The concat formula for FIELD_1 looks like this:
concat(ID[Title = FIELD_2], ";#", FIELD_2)
Again, this formula worked without any issues in the 2007 version of the InfoPath form template, but is not working in the 2013.
Any help is greatly appreciated.
--
David Alvarado