Forums

This topic is locked

Locking a text field or text box??? Anyone?

Posted 05 Mar 2002 04:46:10
1
has voted
05 Mar 2002 04:46:10 b w posted:
I need to lock a text field and a text box. I do not want anyone to be able to put a cursor in the text field or text box.
Thanks
UD4/asp/vbscript

Replies

Replied 05 Mar 2002 18:15:24
05 Mar 2002 18:15:24 Jeremy Conn replied:
Do you need to use a texbox, then? You could just display whatever info you needed to using the standard method... then it would not be editable.

Replied 06 Mar 2002 07:10:49
06 Mar 2002 07:10:49 b w replied:
I think I need a textbox because I want to pass the values to another form( Passing variables ).
Can you pass text from one form to another without the textbox?

Btw I figured It out. You can put "readonly" in the code for the textbox.



Edited by - biffysix on 06 Mar 2002 07:42:18
Replied 06 Mar 2002 09:01:45
06 Mar 2002 09:01:45 Viktor Farcic replied:
Use Hidden Field instead of Text Box.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I think I need a textbox because I want to pass the values to another form( Passing variables ).
Can you pass text from one form to another without the textbox?

Btw I figured It out. You can put "readonly" in the code for the textbox.



Edited by - biffysix on 06 Mar 2002 07:42:18
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Viktor Farcic

TalkZone Manager

Reply to this topic