Use form data as variable in URL Redirect

Hey! I really need help on my project, I’ve been browsing the forum with no answer, this is my last resort! I’m starting a cleaning business, and I need to ask my customers how many rooms and bathrooms they cleaned.

I have two dropdown menus, one is asking for the number of rooms and the other for the number of bathrooms. And I’ve got one submit button.

Depending on the combination of rooms/bathrooms I have a corresponding booking page URL that I need to redirect the customer to upon clicking submit.

How can I redirect my customer to a URL that has the variable of the number of rooms followed by the variable of the number of bathrooms?

Ex.: If 1 room equals to 01, and 2 bathrooms equals to 02, the Redirect URL would be: https://bookingsite.com/0102

Thank you so much for your help!

1 Like