Forum Moderators: not2easy

Message Too Old, No Replies

How to get little completed hook on form input fields

         

Oimachi2

9:37 am on Mar 27, 2011 (gmt 0)

10+ Year Member Top Contributors Of The Month



How to get little completed hook on form input fields?

Sometimes I see some forms that puts a little green hook after you filled out the field so you know it's filled out ok and passes validation.

Is this pure css or Javascript?

Does anybody know how this can be done or point me in the right direction?

Cheers!

alt131

1:15 pm on Mar 28, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Oimachi2,

I suspect most of what you are seeing currently is javascript, but HTML5 provides some exciting options for validation and required fields - and a number are already supported by current versions of ff/opera/chrome/webkit. A search on "HTML5 forms" or "validating forms" or similar should produce lots of information.

One I really enjoy (no association, just like the writing style), is forms [diveintohtml5.org], which also has tips on checking for understanding browsers so you can use "progressive enhancement" to start implementing this now.