Web Form URL path based on response

User 386760 Photo


Registered User
2 posts

Hi,

I was wondering if I can use the Web Form Builder to validate visitors to the site. On my form I have a drop-down. If someone, for example, selects that they are in the USA I want to direct them to a certain webpage. If they indicate they are Canadian I would like to send them to a different webpage. Can I do this?

Or can I have the email send to a different email address based on what is selected on a Radio button or drop down?

Any insight is greatly appreciated.

Thanks!
User 38401 Photo


Senior Advisor
10,951 posts

The sending emails to different addresses per drop down choices is something in the works to be added to a future update (hopefully soon) so hang in there on that.

I don't think the program itself can do the redirects you're asking for, but you might be able to do so using other scripts with php or similar. Others may have some ideas on that.
User 2185412 Photo


Registered User
44 posts

Andreea
There is an easy way to do this in Web Form Builder.
1. Build the pages that you want your customers to end up at and name the urls for these pages something like this....
Example:
www.example.com/USA.html
www.example.com/Canada.html
www.example.com/Mexico.html

2. Make your form in Web Form Builder and go to Settings>Confirm Options
select Redirect to custom HTML page
enter the HTML code
http://i796.photobucket.com/albums/yy249/madicav/Capture1.png

3.Next put your cursor after the .com/ and before the .html
Now select insert data from
and chose the correct element
http://i796.photobucket.com/albums/yy249/madicav/Capture2.png

Press OK, Save and upload your form like normal.

***Only thing special you will have to do is add an _ (underscore) to countries that have more than one word**


User 464893 Photo


Ambassador
1,611 posts

Bloody Brilliant, shows there is always an easier way. I was thinking of redirecting to a php script, read the csv and open a page accordingly. Your method is so much more elegant. I am impressed and that is not an easy thing for someone to do in my eyes.
The Guy from OZ



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.