Redirect with modal open on form error.#1858
Redirect with modal open on form error.#1858DFurnes merged 3 commits intoDoSomethingArchive:devfrom DFurnes:address-stuff
Conversation
|
👍 ! |
|
🌞 👍 |
There was a problem hiding this comment.
Won't this reload the page and the user has to fill out the form again?
There was a problem hiding this comment.
Yup, but only on form errors (which would currently reload the page but not include the modal hash at the end).
There was a problem hiding this comment.
The difference for current behavior though is that the form reloads with the user input still filled out (but they do need to figure out to click on the link again). Not going to keep me up at night or anything, its just something we lose by doing the drupal_goto.
|
Gonna merge this guy in so that @mikefantini can check it out on staging. This is only a temporary fix until we can run the address validation as a client-side check before submitting the form, so it's a bit messy but not permanent. |
Redirect with modal open on form error.
|
Nice job @DFurnes @angaither 👍 |

Redirects to page with modal hash in URL if there's a form error (will trigger modal on load with updates in Neue).