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

Select List Box Problem

Status
Not open for further replies.

SundancerKid

Programmer
Oct 13, 2002
116
US
Hello I am having problems,

I have this Select List Box:
Code:
[navy]<select name="[/navy][COLOR=navy yellow]adulttype[/color][navy]" size="1">[/navy]
[red]<option selected value="None">None</option>
<option value="Main Series Adult $92.00">Main Series Adult $92.00</option>
<option value="Chamber Music Festival Adult $110.00">Chamber Music Festival Adult $110.00</option> [/red]
[navy]</select>[/navy]

When I send it to an email as [COLOR=red yellow] {Select:adulttype}[/color] the option data comes out fine. ie..

[COLOR=blue yellow] None [/color]
[COLOR=blue yellow] Main Series Adult $92.00 [/color]
[COLOR=blue yellow] Chamber Music Festival Adult $110.00 [/color]

When I display the results in a thank you display if comes out with unwanted backslashes ie..

[COLOR=blue yellow] None [/color]
[COLOR=blue yellow] Main Series Adult $92\.00 [/color]
[COLOR=blue yellow] Chamber Music Festival Adult $110\.00 [/color]

I am using the routine [COLOR=red yellow]{select:adulttype} [/color] to retrieve the selected list box. Why is the data getting formated with backslashes??

Is there a way to format the data displayed? Or is there another routine??

Where can I find out information about the
[COLOR=red yellow]{select:adulttype} [/color] routine.

Thanks in advance for your help!!
 

>> I am using the routine {select:adulttype} to retrieve the selected list box.

What is "{select:adulttype}"? I've never seen this syntax in HTML or JavaScript before.

Dan


 
Thanks everyone. the {select: was a PHP routine imbeded in an include statement. I have since corrected the routine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top