Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Limit does not work when DW is converted to HTML if the input field's height is more than 100 pb unit.

1 view
Skip to first unread message

Narendra Wagley

unread,
Jun 27, 2003, 1:43:23 PM6/27/03
to
I need help on limiting the input to 40 charactes in an input field
whose height is more than 100 PB unit. If the height is 56, the HTML
conversion will have something like this (and works as expected):

<INPUT TYPE="text" NAME="comment_text_0" SIZE=101 MAXLENGTH=40
VALUE="" CLASS=dwMineE7D5 TABINDEX=2 STYLE="position:absolute;

left:0.688in; top:0.240in; width:6.708in"
onFocus="{dwMine.itemGainFocus(0,9,this,dwMine.gobs.comment_text);}"
onClick="{var ret; ret=

dwMine.itemClicked(0,9,'comment_text'); return ret;}"
onChange="{this.bChanged = true;}" onBlur="{dwMine.itemLoseFocus
(this);}">


But when the height is 112, the HTML conversion will have something
like this (does not work as expected):

<TEXTAREA NAME="comment_text_0" ROWS=2 WRAP CLASS=dwMine10B75
TABINDEX=2 STYLE="position:absolute; left:0.688in; top:0.240in;
width:6.708in" onFocus="{dwMine.itemGainFocus(0,9,this,dwMine.gobs.comment_text);}"
onClick="{var ret; ret= dwMine.itemClicked(0,9,'comment_text');
return ret;}" onChange="{this.bChanged = true;}"
onBlur="{dwMine.itemLoseFocus (this);}"></TEXTAREA>

Does anybody have any idea how I can limit input to 40 charactes in
the field whose height is 112 PB unit? Your help is greatly
appreciated. Thanks.
-Narendra

0 new messages