Redirect based on two inputs
-
I’m trying to figure out how to redirect based on two options. Currently, I have it set up to redirect based on one dropdown to a new page, but would like to base it on two.
This is part of the code I have in there now, but not sure on how to modify it to add the new parameter for the top dropdown.
inputs = event.detail.inputs;
inputs.forEach( function(el) {
if ( el.name == ‘certifications’ ) {
if ( el.value == ‘Marine Certification’ ) {
location.href = ‘https://www.goscop.com/marine-industrial/’;Any tips would be great!
Cheers,
TrentonThe page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Redirect based on two inputs’ is closed to new replies.