Back to Top
The nuts and bolts for
Creative web development

Forums

Overview » Dreamweaver » Locking a text field or text box??? Anyone?
This topic is locked

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

b w
Member



Since: 15 Jan 2002
Posts: 69
Posted 05 Mar 2002 04:46:10

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

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

Jeremy Conn
Devoted Member



Since: 01 Mar 2001
Posts: 348
Replied 05 Mar 2002 18:15:24
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.

b w
Member



Since: 15 Jan 2002
Posts: 69
Replied 06 Mar 2002 07:10:49
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
Viktor Farcic
Moderator



Since: 03 Apr 2001
Posts: 607
Replied 06 Mar 2002 09:01:45
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