Using & withing a form value string, I can't figure out how to do it! |
Using & withing a form value string, I can't figure out how to do it! |
danjpalmer |
Dec 24 2010, 11:15 AM
Post
#1
|
Group: Members Posts: 2 Joined: 24-December 10 Member No.: 13,458 |
I want to be able to add a “&” to a form value, as shown below:
<input type="checkbox" name="sku" id="sku" value="ig-0003h-p&sku=vipt-0001&sku=emt-0001"> However using & or & always causes the value to change to %25 when viewed in a browser. I’ve even tried using %25 which still doesn’t work. Do you know of a way I can use the & within the value string? Thanks, |
pandy |
Dec 24 2010, 12:14 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
You use GET? Not totally sure, but I think you actually need to divide it in different inputs. Du you really want to identical name values BTW?
|
danjpalmer |
Dec 24 2010, 12:29 PM
Post
#3
|
Group: Members Posts: 2 Joined: 24-December 10 Member No.: 13,458 |
You use GET? Not totally sure, but I think you actually need to divide it in different inputs. Du you really want to identical name values BTW? The string is as intended for the shopping cart we use so the fact that they are sku= doesn't matter. I'll try and figure something out but if anyone has any ideas id love to hear them! |
pandy |
Dec 25 2010, 01:24 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Well, I think that if you are doing it with a from you need to use several inputs.
|
Lo-Fi Version | Time is now: 25th April 2024 - 10:26 PM |