By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,314 Members | 1,809 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,314 IT Pros & Developers. It's quick & easy.

Expand/Shrink Attribute for FORM elements of INPUT and Textarea

P: n/a
Hi,

Here's the problem I want to solve. Suppose you design an HTML FORM
with three elements of INPUT, TEXTAREA AND SUBMIT, you specify the
length for the INPUT box as Size="30" and MaxLen="50", now, when a
user sees the FORM, begins to enter some data in the INPUT box, and he
uses up all the 30 spaces for the INPUT box, and your business rule
allows him to enter more than 30 characters including spaces (to be
precise 50 in this case), well, yes, the user can continue to enter
more data, however, he can't see all the data that he's entered while
entering more into the 30 spaces box. It would be much more user
friendly if the user can drag the box on the right bottom corner of
the box and expand it to the maximum, that is, up to 50 spaces as
defined by MaxLen="50" attribute, so, this function is sort of like a
window object, which, user can drag to expand or shrink. Has this
feature been covered by CSS or dHTML? Same should be applicable to
TEXTAREA element as well.

I've searched W3C org's web site for HTML and XHTML specifications,
but no where could I find what I need. Any ideas, thoughts?
Jul 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.