How to link elements from different pages

On my website, I’m trying to link a button on page to another.

I have a submit button on a form on my website and I want this button (when clicked ) to trigger the appearance of another button on a separate page.

Is the a wix function for this? I have tried to look and can’t find it, so I assume its a function that has to be coded for.

Can anyone help me with the code or even point me to and resources that may help?

Thank you

So you would parse the data in the session and read the session on page load (of page 2)

Session data reference is below.
https://www.wix.com/corvid/reference/wix-storage.html#session

This would allow you to parse the result as a cookie from page 1 to page two and then based on that cookie determine what to do.

The other option would be to use a URL query but not really a good option here i would say.

Hi Scott,

The first part of this seems to be working fine. Thanks very much for that.

However, I still need assistance with the second bit.

I have a list of school options on page 1. I have a form on page 2 with the corresponding schools in a drop-down list as well as other questions.
The functionality I want is, when someone fills out the form on page 2 and selects school A on the form and submits, I want a button to appear on page 1 next to the corresponding school (School A in this example).

Could you help me with an appropriate code or point me to helpful resources as you did before.

Much appreciated!

Hello

Why not use a slide show for the multi step form, this way you can avoid parsing data between pages and people arriving on the wrong “First Page”

You would then utilise
$w(“#slideshow1”).next() and $w(“#slideshow1”).previous()
To change between each slide (PAge)

You could then simply use a
$w(“#text2”).text = $w(“#dropdown1”).value

Cheers

@digital-edge Hi Scott,

Thanks for your response.

I’ve actually decided to take another approach as the slideshow approach and the other way I was trying to do this would require too much time figuring out codes and things.

I have decided to use checkboxes instead and I wonder if you might be able to help me with keeping boxes checked permanently on the website.

So if a user ticks a box on the website, how to keep those boxes checked even when the user leaves the page because at the moment, the boxes go un-ticked as soon as I navigate to a different page.

Thanks!