3 ms·
> Really, there is no reason why a form should require JavaScript. True. But I'm glad to use Javascript on forms where fields are depending on input from other
by want2know 7y ago
> Really, there is no reason why a form should require JavaScript.
True. But I'm glad to use Javascript on forms where fields are depending on input from other fields.
Or when you want to give the user the option to submit multiple entries of the same field type. For example when you ask for a job history.
Yes you can sumbit the form on every step but this is much harder to develop and has a lot of negative interactions for the user. For example the scrollposition is gone on each submit. And the user has to wait for a reply from the server on each submit.
Javascript is not the problem, bloated and spammy websites are.
- ekianjo 7y ago> Javascript is not the problem, bloated and spammy websites are. It is part of the problem. Because of what Javascript allows and makes possible, bloat can thrive and endure in the modern web.
- shadowoflight 7y ago> For example the scrollposition is gone on each submit. Could this be fixed by dynamically-created anchors, so for instance when one is adding a new row to the "job experience" section of an application form, the reload to add the new row could also direct the user to "somesite.com/jobapp#JobExp2"?
- ubercow13 7y agoThat would be where the new row is, but not where you were scrolled to previously.
- Existenceblinks 7y agoJavascript itself is not the problem, it's the means. Same as we want gun control (not 100% confident using this analogy though).