Hello all:
I need to populate a hidden form field using a parameter that is appended to a URL. I am sure I have done this in the past but for whatever reason, I can't figure out how to grab it from the URL as a variable.
Here is the example:
There is a "keycode" varibale appended to the URL of the web page where the form is embedded in an iFrame. The URL looks like this:
baseurl?keycode=MCE2234X
I have a field called KeyCode on the LF Form and have it hidden using css. I need to grab the keycode variable from the URL and enter it into the hidden field when the form gets submitted.
Can someone point me in the right direction? I thought this could be done without javascript but the only thing I can find by searching is javascript code.
Thanks in advance,
Eric