Streaming live at 10am (PST)

How to dynamically select option based on page user come from?

Hello everyone,

I want to dynamically select option from select field based on the page user come from.
This site is for booking basecamps, with cms I made page for each basecamp and I need when user click on “book now” to go to reservation page and basecamp to be already selected based on page user comes from.

I believe I need custom code for that

Here’s preview link:

Live link of basecamp page:
Reservation Page:

What language is this in for starters?

Can you tell me which link is the “Book Now”?

Hello @WebDev_Brandon,
Thank you for trying to help.
I managed to do this with document.referrer js function.

1 Like