How to change a value of a check box

April 26, 2021 23:09:19
mmelendez
Topics: 1
Messages: 3
Would it be possible to change the value of a check box using Add Action - to where instead of a checkmark it would be changed to some text

Action: Change
Property: Value
Change: F
If:???
Condition: =
Value:[1599:2]
April 27, 2021 05:35:09
E2Pdf
Topics: 7
Messages: 3614
Support
Hi,

If we understand correctly you need to change text in some field/element if some checkbox checked. If so, then it must be used condition as follow on field where must be done change:

Action: Change
Property: Value
Change: Changed Value (It will be changed to this if "Action" fired and "Condition" met).
If: [105] (Here we use shortcode which renders the checkbox value)
Condition: LIKE (It must be used "Like" as checkbox usually rendered as Option 1, Option 2, Option 3, so we need to detect "part" of string)
Value: Option 1

So this action will change "value" inside field to Changed Value if [105] will contain Option 1 in rendered value. Screenshot attached.

If it will not work, attach please some screenshots with setup and result which you get.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
April 27, 2021 14:34:48
mmelendez
Topics: 1
Messages: 3
So what i'm trying to do, when someone clicks on a formidable form to say the Gender/Sex from Male to Female in a checkbox, what i receive in e2pdf is just a checkmark instead of it saying Male or Female.

I made these changes in the attachments but it doesn't seem to be working, one returned the same checkmark and the other one returned a blank value.
April 27, 2021 15:03:26
E2Pdf
Topics: 7
Messages: 3614
Support
It looks like you are trying to print text inside "checkbox" instead of "input". Replace it please with "input" (Screenshot attached) and apply action, checkbox can be only checked/unchecked.

When you use [1599:1] as "value" inside "input", is it renders as "Female"?

We remain at your service.

We would really appreciate your feedback at WordPress.org!
April 27, 2021 15:12:24
mmelendez
Topics: 1
Messages: 3
Simple enough, that worked. Thank you very much
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.