You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by TI...@ngco.com on 2001/04/05 16:54:38 UTC

DISABLE TEXT FIELD ON JSP

HI,
Does anybody know the trick how I can disable all or some text fields on JSP
to make sure use can not change anything on the form..


Thanks N Regads

TAHIR IQBAL
 

Re: DISABLE TEXT FIELD ON JSP

Posted by Peter Alfors <pe...@irista.com>.
IE accepts the readonly attribute on the input field.
However, Netscape ignores it.
Therefore, to be safe, you should handle this in your action.


TIqbal@ngco.com wrote:

> HI,
> Does anybody know the trick how I can disable all or some text fields on JSP
> to make sure use can not change anything on the form..
>
> Thanks N Regads
>
> TAHIR IQBAL
>