I have a form with radio buttons similar to this example:
Bananas - $4.00 (value 4)
Apples - $3.00 (value 3)
Lemons - $4.00 (value 4)
If I select Lemons, it will pass the first matching value (4) to PayPal and show Bananas and not Lemons.
I know one way around this is to set the lemons value to 4.0, that way it is unique .. however that will not work in the practical application of my form.
Is there a way to string replace/truncate or trim the value of an item so that I can make the radio value unique but still send the correct text/value to PayPal?
Thank you.