Can anyone help me create a similar page to:
https://getautoquote.floridafirstins.com/
I can knock everything else out except the Form part. I can’t seem to find an option where when you click “Next” and only the form part moves. The whole page doesn’t refresh etc. Can anyone help? Please ask any question if I need to clarify. I do know how to create a standard form on a single page so I am almost there.
Something like this:
Page Code 1
import wixLocation from "wix-location";
import {session} from 'wix-storage';
export function Submit_click(event, $w) {
session.setItem('title', $w('#title').text);
session.setItem('price', $w('#price').text);
session.setItem('class', $w('#class').text);
session.setItem('days', $w('#days').text);
wixLocation.to("/page2");
}
Page Code 2
import {session} from 'wix-storage';
$w.onReady(function () {
const title2 = session.getItem('title');
const price2 = session.getItem('price');
const class2 = session.getItem('class');
const days2 = session.getItem('days');
$w('#title2').text = title2;
$w('#price2').text = price2;
$w('#class2').text = class2;
$w('#days2').text = days2;
});
Where would be the best location to post the code. I am a noob when it comes to that
Go to the bottom of your Editor and enter it In your page code where you have the form.
Or you can create it via the use of lightboxes and have the code on each page of the lightboxes.
Or use this wix tutorial for multistage form which you can open in your own editor and view it all yourself:
Plus a code forum post about it too:
Hey there,
i'm trying to build a multipage form and it already looks pretty similar to this one here: https://www.wix.com/code/home/example/Multistage-Form
But now, I've got a question:
There's a button to get to the next page. Is it possible to...