Take a user selection from dropdown menu and have it bring user to different page and enter the selection in a text box thats part of a form

I need help and I am new to Wix code. I have searched through the forum and cannot find what I’m looking for. I am trying to have a dropdown menu on my home page in which the user would select a Service/Project they are looking for from the dropdown list (I already have the list being pulled from a data collection I created just for this list so that part is all set) then I want them to hit a button that says “Find my Pro” which is under the drop down menu. I want the button to take them to another page where I have a form set up as a miltipage form using a slideshow (which I already have that all set up). What I can’t figure out is how to get the selection from the dropdown menu on the home page to fill in the first user input item (text box) on the form. I need it to get carried to the form because I want it to be the first question and I need it to be saved to the same row in my Data Collection.

I hope someone can please help me with this I have been trying to do this for days.


I hope someone can help me with this so I got something to show up in my textbox on the other page except its not the users selection its just the placeholder text. I need to find out why this is happening. So I tried to do it if a actually type the value out for each service which is over 100 values so I wanted to test one first. I chose Local Movers. Here is my code:

on the first page:

import {session} from ‘wix-storage’;

export function button8_click(event, $w) {
session.setItem(‘dropdown1’, $w(“#Local Movers”).text);

On the second page:

import {session} from ‘wix-storage’;

export function textBox5_viewportEnter(event, $w) {
let textBox5 = ‘getItem’(“dropdown1”);

I chose Local Movers from my dropdown list and then clicked button8 but when the next page loads instead of Local Movers being in textbox5 it just has my placeholder text. Can someone please help me I am desperate and I cannot keep spending all this time on this one thing.

Thanks !