form reset and animations
-
Hello!
I am animating the form submission by applying an opacity layer of 50% after submit and 0% on success and 100% on error.
As the animation takes 0,3s and the form usually gets sent before that time, during the animation the user sees the form reset inside the animation, which is weird to the eye.
Would it be possible to make the form reset optional but true by default? this way, I would do the reset myself once the animation finished.
The form reset happens in lines 446 to 448 of public.js:
if (!response.error) { formEl.reset(); }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘form reset and animations’ is closed to new replies.