Redirect to Selected Page on Submit
-
I am trying to create a simple autocomplete redirection/search function to redirect the visitor to their selected page.
Example: I have a custom post type Destinations, and I have created the relevant ACF field (a Page Link type field) that properly populates all my destinations into the search field.
When a destination is selected and the form is submitted, I would like the visitor to be taken to that specific page.
I know there is a “target” attribute that I can use, but I’m not sure how I can connect it to the form.
Any help is much appreciated, thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Redirect to Selected Page on Submit’ is closed to new replies.