Multiple radios with same value returns first one
Last Post 05-28-2013 06:18 AM by Ryan Bakerink. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
KellyoUser is Offline
river guide
river guide
Posts:113
Avatar

--
05-24-2013 01:43 PM
    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.
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    05-28-2013 06:18 AM
    Hello Kellyo,

    The radio buttons are based off of value. Basically, the check is:

    IF RadioButton Selected = 4 THEN
    Select Option with value of 4

    Have you tried using the $(Token_Text) and $(Token)??

    $(Token_Text) will return the text of the selected option: i.e. Bananas - $4.00

    $(Token) will return the value of the selected option: i.e. 4.00


    Does this help?? If not, you may need to incorporate JavaScript or SQL to alleviate this issue conditionally.

    Please let me know if you have any questions.

    Thanks,

    Ryan




    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi