How to fill a field based on the origin url
-
Hello, i have a website about restaurants.
Clients can add a new dish in that restaurant thank you to your plugin.The journey implemented already is this
Right now the customer fill the form and one of this field is a drop down menu with a list of all the restaurant so that he can choose to which restaurant the dish he submitting belong to.But the journey I would like to implement is this
The customer will start the journey from the restaurant page, for this reason once he click on the option “add a dish” (he is in the restaurant page at this moment) I would like that he is redirect to the “add dish page” like before but this time there is no need to fill the field “Restaurant” because somehow this data is passed from the previous page. I don’t even need to show the field on the front-end, for me the important is that the dish is created correctly.Could you help please?
Thank you,
Fabrizio
- The topic ‘How to fill a field based on the origin url’ is closed to new replies.