You just need to reverse the order of each pair, the label goes first
July::optgroup,July 08 – 14::08-14,
and so forth…
Yes but I need “08-14” as a label and “July 08 – 14″ as a record in the database. I get them right in html (<label>08-14</label> , <input value=”July 08 -14”>, but in “List Participants” section I still see it as “08-14”.
Furthermore I checked mysql fields and they are added correctly (“July 08 – 14”) only in “List Participants” values are displayed as labels.
When exported to CSV I get them correctly too. In confirmation email also as label..
-
This reply was modified 8 years, 1 month ago by
vretenis.
-
This reply was modified 8 years, 1 month ago by
vretenis.
Wait…you said you weren’t getting the expected value in the database?
So everything works fine except it’s showing the saved value instead of the label in the list display? Does it do this for all the entries, or just some of them?
Its working fine in signup form html and mysql except displaying in “List Participants” table where labels is shown instead of values and when using shortcode for email confirmation. In both these cases labels is shown/sent instead of input values.
Here how it goes:
Title: Shift
Values: July ::optgroup,08-14::July 08 – 14
Label = 08 – 14 – correct
Value = July 08 – 14 – correct
In signup form html I get:
<label><input value=”July 08 – 14″> 08 – 14</label> – correct
In mysql under “shift” row on submitted entry I see value July 08 – 14 – correct
In “List Participants” table under “Shift” row on submitted entry I see 08 – 14 – not correct
In confimration email I get 08 – 14 – not correct
OK, thanks for the details…something is up, give me a day or so to figure it out.
So far, I haven’t been able to see this problem in my tests, so not sure what’s happening in your case. Can you post the exact contents of the “values” parameter of your radio field?