Bug: on0, os0, on1, os1
Last Post 12-09-2008 03:43 PM by Chad Nash. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Shawn O'ConnorUser is Offline
going with the flow
going with the flow
Posts:41
Avatar

--
12-03-2008 03:45 PM

    I noticed if you have a form with radio buttons, and the value field for each option is the same (Not the text value) then it is only possible to return values for the first option field.  When the values are different it works fine. 

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    12-07-2008 02:07 PM
    Hi. Yes values must be unique for fields that have option text/ option value as when it references these fields it must use a 'Find By Value' function call. When you say 'only possible to return values for the first optionfield' are you referencing these as tokens in email events or where?

    -Chad
    Shawn O'ConnorUser is Offline
    going with the flow
    going with the flow
    Posts:41
    Avatar

    --
    12-08-2008 07:56 PM
    No, just trying to send the values through to Paypal. If you have two items that are the same price it won't work. In my case I'm using a list of items in a radio button group. Perhaps it works with other setups like checkboxes or multiple discrete items.

    So you can imagine the problem -- Let's say you want to sell T-shirts. Maybe they all cost the same, but you are offering different phrases on each as selected by the user when they select the radio button next to the line item. You can see where this would be a problem...
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    12-09-2008 03:43 PM
    You might check other threads on there with the same issue. YOu should be able to use values that are VALUE01_19.99 and VALUE02_19.99. The code is setup so that for the calculation checkboxlist function at least, and maybe some others, it will remove the value. This works for VALUE01 thru VALUE20 for a total of 20 items currently. I just checked the code and this is also being called within the PayPAl URL.

    Here is the function call so you can see what the module should be doing if you wanted the same price but with multiple items.

    Public Function ReplaceValueText(ByVal strListItem As String) As String
    If strListItem.IndexOf("VALUE") >= 0 Then
    strListItem = Replace(strListItem, "VALUE_", "")
    strListItem = Replace(strListItem, "VALUE01_", "")
    strListItem = Replace(strListItem, "VALUE02_", "")
    strListItem = Replace(strListItem, "VALUE03_", "")
    strListItem = Replace(strListItem, "VALUE04_", "")
    strListItem = Replace(strListItem, "VALUE05_", "")
    strListItem = Replace(strListItem, "VALUE06_", "")
    strListItem = Replace(strListItem, "VALUE07_", "")
    strListItem = Replace(strListItem, "VALUE08_", "")
    strListItem = Replace(strListItem, "VALUE09_", "")
    strListItem = Replace(strListItem, "VALUE10_", "")
    strListItem = Replace(strListItem, "VALUE11_", "")
    strListItem = Replace(strListItem, "VALUE12_", "")
    strListItem = Replace(strListItem, "VALUE13_", "")
    strListItem = Replace(strListItem, "VALUE14_", "")
    strListItem = Replace(strListItem, "VALUE15_", "")
    strListItem = Replace(strListItem, "VALUE16_", "")
    strListItem = Replace(strListItem, "VALUE17_", "")
    strListItem = Replace(strListItem, "VALUE18_", "")
    strListItem = Replace(strListItem, "VALUE19_", "")
    strListItem = Replace(strListItem, "VALUE20_", "")
    strListItem = Replace(strListItem, "VALUE21_", "")
    End If
    Return strListItem

    End Function


    ---
  • 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