Noah, if you’ll indulge me a bit more, I’d appreciate it -
On my ‘weddings’ page, I’ve updated the button link to: http://www.merlotembargo.com/quote?eventType=wedding
(Seems slightly safer to assign a page within wix rather than a URL, but I don’t see a way to attach that eventType parameter if I do it that way.)
I’ve pasted your code onto my quote page, and updated the parameters to match the elements on my page. (I think I’ve got them all, but I’m not a web guy at all, or coder of any sort, so bear with me. Also, it doesn’t work anyway, and as i note below, wix seems to have some issues with my parameters anyway.)
});
$w.onReady(function () {
$w("#dropdown1").onReady(() => {
let itemObj = $w("#dropdown1").getCurrentItem();
let currentPage = itemObj["eventType"];
$w("#multiStepForm1").setFieldValues({
page_submitted: currentPage
});
});
});
When I hover over the onReady in the second line, wix tells me this property does not exist on type "dropdown. Similar red error message when I hover over getCurrentItem. Do i need to declare these at the top of the code or something,
Please forgive my ignorance!
TIA
G