HTML.form.guide

Web forms

How to create a multi-submit form

Imagine you have a form that needs to be processed by different scripts based on user’s input. (example: ‘update’ or ‘create new’) . You can use JavaScript to switch the action field of the form just when the submit button is pressed. See the page below for some examples: Switching the form’s ‘action’ field dynamically What we will try to do in this post is still more adventurous: submitting the same form to multiple scripts at the same time!

Continue Reading →

A rich password widget for your web forms

Here is a password field widget that not only has a password strength meter but also has other essential features that your users would love to have. Mask or unmask? Do passwords really have to look like **** ? When you type-in your password, the password field shows a mask. This mask supposedly prevents someone from observing your screen ‘over the shoulder’ . But, what if I am at home with the only possible observer being my pet dog?

Continue Reading →