Posting so I can follow….
Yeah, I have the same need as well.
I need both the label and the value for checkboxes when exporting entries so I can create a report for management with the data.
@tmeisky … what did you do as your work around?, maybe i can do something similar?
I don’t think .this would work as easily if there were a lot of choices but I only had 4. It was easier than it sounds like.
Created a Checkbox field with 4 choices and values turned off.
Created a Variable for each value.
Created a Hidden field for each choice in the Checkbox field.
Created 4 Conditions that evaluate each of the Checkbox options.
Used the Conditions to set each of the Hidden fields to one of the Variables if the appropriate Checkbox option was selected.
Created a Calculated field that calculated and displayed the sum of the Hidden fields.
Displayed the Checkbox and Total fields in emails.
Used the Contact Form DB plugin to capture and report on submitted data.
Hope that helps.
Thanks @tmeisky !
I will try that…. hopefully what we need will be in a future update :/
I logged a couple of bug reports and have emailed with the developers. Looks like they are working on it for 1.3.6
There is a 2nd problem where the form will actually record the wrong choice if more than one have the same value. I’m hoping they fix that one as well. I can’t really use values until both are fixed.
Oh awesome!!! I hope the release ithe update soon.
Did you mention the other “bug” in you bug report?
I wouldn’t be able to make it work without being able to get both labels and values.
<fingers-crossed> π
I filed two reports. One for the incorrect values and one for the need to have labels and values in exports, emails, etc.
Hi @tmeisky – Thanks! I just update Caldera to v 1.3.5 but the problem with the incorrect values is still there π
Have you heard anything from Caldera Forms dev yet about possible fix?
where did you log your bug report?
Thanks a bunch!
Thanks, I’m eagerly waiting to see if v 1.3.6 fixes this too.
Hey tmeisky, did you try the update yet? I might try it today if I have time… just curious if it fixes our checkbox with the incorrect values issue.
Nope. My work-around works fine for my needs so I don’t have any compelling need to jump on every upgrade. But, that particular problem is not listed in the release notes as something they’ve fixed.
Hi tmeisky and wynot,
%field_slug:label% just work if the value (eg. price) is different.
And for what you guys need;
– Created a Checkbox field with 4 choices and values turned on.
– Name the Value same as the Label.
– Created one Hidden field for the Checkbox field choices;
for example.
Make Single Line Text Element name Full Name
Make Email Address Element type name Email
Make Checkbox field Name Product Choice, and slug PC
w/ Label. A, B, C, D
& Value. A, B, C, D
Make Hidden field Name 123, w/ Value 123
Add Submit Button
Displayed the Checkbox field and Total Price fields in emails (autoresponder and mailer);
auto responder
Hi %full_name%
your Total %PC% price is $%123%
(if price is same we don’t need Calculation)
mailer (notification)
the %full_name% product choice is %PC%
email : %email%
don’t forget to tick Show in Entry List in this field:
Full Name, Email, Product Choice, 123.
Hope that’ll help, Tq