I have a form that will be triggered from another site via a link which we will add to the URL some data points which we want to parse out and plug into fields on our form upon opening. The string added looks something like this:
We currently do this via an InfoPath form using the below formulas for each field (see screen shot).
substring-before(substring-after(DataIn, "|"), "||")
substring-before(substring-after(DataIn, "||"), "|||")
We want to do the same thing in a Nintex Form (using Responsive Designer) but are struggling with this. I'm assuming I'll need to create some kind of variable and saw a parse function but can't figure out the formula...HELP! Is that the right formula, how do I "convert" it...the length of the field inputs varies☺.
@SimonMuntz or anyone else...
Do the other forms do the type of parsing from my example? If so, is there a easy way to convert what I have built?
I need some type of solution or I have to scrap all the work I've done which will be incredibly disappointing.
@cecilia-penha I don't think his recommendation works b/c it appears that solution requires fixed location in the string which I do not have (unless I just don't fully understand how it works?).
Is there a way to transfer everything I've done in a Responsive form to a Classic form w/o rebuilding the whole form? I have done a lot of work in my Responsive form including a BUNCH of rules, if I have to start from scratch manually it's going to set me back in a big way that isn't acceptable to my project.
Using the New Responsive Form, you will only be able to get the parameter value by the Name. There's no split function or substring search on a value. I would recommend :
instead passing ?DataIn=CompanyValue|OperatingUnitValue|...
This is the proper way.
Plus, you have to ensure your parameter is properly encoded. The value you provided is not. I hade to remove the "%Name%".
As per as I know, there's no way to transfer automatically your Responsive Form to Classic Form.