Hi. I'd like to know what is right syntax for variables to be passed in the Redirect URL action in CFv4.
I've got the Redirect URL and Redirect User actions in place and I've been trying different ways to set the form fields to be passed but none seems to work. The form redirects alright but form field contents are not passed as parameters.
What is the right syntax?
David
Then I guess I've got it right but I get no values in the URL.
I have a field 'dis' in my form and I have 'dis={dis}' (no quotes) in the parameters, but when I submit the form, I get 'dis=' in the URL.
Any ideas?
Hi David,
No idea, it should work as far as I know. Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
I just PMed it to you, thank you.
Hi, Bob.
Thanks for looking at it. I don't get it then. Whatever box I check is passed as blank! For instance, I checked the first two boxes, and the url it redirects me to is
myurl&dis=&com=
Just like that.
I've tested it in both Chrome and Firefox with the same result.
What's wrong?
Hi David,
Have you added the missing values to the Form HTML?
Once they are in place it works OK for me.
Bob
Silly me, I get it now. I thought that the values for a checkbox where automatically filled with a boolean type value (1 or 0).
I just figured out the problem. So I have just added the 1 value to all boxes and is working fine. Thank you, Bob, for helping silly boys like me.
David