@creedon Thank so much, you rock. I tried inserting the code as directed and still not seeing results.
Perhaps there is a simpler solution. There are only 3 states that need to be re-directed to a different page so right I have the form "submit" set to redirect to the URL that applies to all states except CA, TX and IL , this is what that code looks like from SquareSpace:
<form data-form-id="5f8da955f46d167ee8ce5578" data-success-redirect="https://shoptreatyoak.com/" autocomplete="on" method="POST" action="https://hawk-sprout-ry8m.squarespace.com" onsubmit="return (function (form) {
Y.use('squarespace-form-submit', 'node', function usingFormSubmit(Y) {
(new Y.Squarespace.FormSubmit(form)).submit({
formId: '5f8da955f46d167ee8ce5578',
collectionId: '5f8da8994339540352e6f741',
objectName: 'page-5f8da8994339540352e6f741'
});
});
return false;
})(this);" id="yui_3_17_2_1_1603213358956_601">
Is there something that can be done to offer an alternate redirect when
<option value="California">California</option>
<option value="Illinois">Illinois</option>
<option value="Texas">Texas</option>