Hi, I have a requirement to format the date field on the fly. For example, if I am entering a date in the <html:text> field as 02/20/2006, the slashes (/) should be added automatically, when I finish entering 02 and 20.
I mean, the user is not pressing the '/' key at all, It has to be added when I finish the MM and DD fields.
I was thinking of using JSTL for this. But I don't know how and where to start....
Joined: Jan 11, 2003
1 - you can't nest custom tags as attributes to other custom tags. 2 - when you press a key, it won't invoke the bean:write tag.
Instead of passing the value, I would recommend passing the textfield itself using the "this" keyword.