Hi,
I'm writing this up as a tip because I worked it out while I was writing the question...
update- THIS DOES NOT WORK- sorry, will update when I figure it out!
I have some stateless forms and I am trying to bring some data across from Form 1 to Form 2.
- we need the 'recordID' so we can keep this consistent across the entries in the various parts of the form
- we also need the calculated account number from CRM so we can show or hide customisations to certain clients
- we also have a map of other important values called 'rec'
Here's the problem- the 'recordID' is automatically generated so you can't specify a value in the URL, the parameters are meant to be
URL?FirstField=" + input. FirstField + "&SecondField=" + input.SecondField + rec,"same window");
But this doesn't work- the answer is to put the 'recordID' which does not have an associated value at the end of the URL
This is the format that works-
Now I have to figure out why the 'rec' map doesn't actually add the values into the fields on form 2, but seems to be required - other bits don't work if it is not declared.
If you have an easier way or any greater insight, please share!