Thanks for this, Bicky. I think this is a good one to include in the original textbox.

One thing though, how are you handling focus actions? Like say, returning focus to the canvas after a textbox gets the focus?

Currently, it seems to me the user is forced to press TAB to get back to the canvas, though perhaps I'm missing something.

EDIT: I realize the focus gets returned to the canvas when an OK/Submit button is pressed, but what about in cases where you're not using one? Let's say you're using the ESC key to cancel form entry. Have you or anyone else come across that need?Ugotsta2012-04-10 02:05:07

About your question Ugotsta:The focus changes on clicking on the canvas and on clicking on another form element. As well does it change when pressing TAB to go to a next form field.

Only thing not working is pressing ESC, this because the field doesn't lose focus (not in Firefox at least). Adding this feature would be outside of the scope of this plugin. All it does is trigger conditions on focus lost and gain. Not on how one can change the focus.

i was create a registration form, i need of user to fill email and phone number as true validation, while user add wrong format email as exmple, so..user cannot continue and display message as tooltip (maybe)

if you need to validate an email address or a phone number, you have to it by yourself...I could add an email check to my textbox plugin, but the phone number is different from country to country...

EDIT: I was wrong, there is a way to determine if a phone number is correct Anyway, I've added the "Validate" condition to my textbox plugin and it will check if the data you have into the textbox is valid (based on the type you choose from the editor).Pinco2013-05-02 13:31:34