Streaming live at 10am (PST)

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


#1

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: https://preview.webflow.com/preview/geardropper-v2?utm_source=geardropper-v2&preview=95b9e2c9566ca9b027d318cc408b63ee

Live link of basecamp page: https://www.geardropper.com/basecamp/linden-tree-retreat-ranch
Reservation Page: https://www.geardropper.com/reserveren


#2

What language is this in for starters?

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


#3

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