Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need text box, But locked from user 1

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
I need to pass a parameter to another site
But I don't want the user be able to edit it.

My code:

<INPUT TYPE=text NAME=&quot;x_Amount&quot; VALUE=<%=formatcurrency(Totalprice)%>>

-----------------------------------------
In other words I want to show the Total Price but not let them be able to change it.
And still pass it to the other site with the name &quot;x_Amount&quot; and a value equal to Totalprice

Any Ideas
TIA


DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
onFocus=&quot;this.blur();&quot;

:)
paul
penny.gif
penny.gif
 
Try readonly:

<INPUT type=&quot;text&quot; id=text1 name=text1 value=&quot;hello&quot; readonly>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top