Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
January 7, 2004, 1:59 pm
rate this thread
shopping cart Basket page. It works fine whenever the "code" being passed
is the same as the prompt. However I have a problem in that the code in my
shopping cart does not allow any spaces. I have the following example for a
The form option is "As Shown"
That passes to the Basket Page as "As Shown"
Since there is a space it causes an error - I need to pass it to the Basket
as "As_Shown" which is how the "code" is set up in the Basket.
I can certainly change things so my prompt and code are the same, but it
looks unprofessional to present the user an option of
I don't know too much about forms so any pointers are appreciated! Thanks.
Re: Pass a form value that is different from selected value
Sounds like the shopping basket script could have been written better.
Are you really not able to fix that, rather than mucking about with
Unless there's something you're not telling us I don't see what the
<option value="As_Shown">As Shown</option>
The user sees a space, the shopping basket script sees an underscore,
everyone is happy.
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor