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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

commer after response.write value

Status
Not open for further replies.

ncumm02

Programmer
Sep 18, 2006
1
US
I am creating an asp page but everytime I write the option button value, I get a comma after the value... eg

Problem:
Item Status=-1,


Here is the code............................

Input code:
<input type="radio" value="-1" name="ItemStatus" checked>
<input type="radio" value="0" name="ItemStatus">


Request code:
ItemStatus=Trim(request("ItemStatus")) 'New / Usec

Write Code:
Response.write "
Payment Type="&PaymentTyp
Response.write "
 
Do you have any other form elements named ItemStatus, like a text box? That's the most common cause of the comma after displaying a form element value. It's caused by more than one form element with the same name passing values to a processing page.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top