Radio Conditions

Gravity Forms
August 09, 2020 23:57:20
ramsu
Topics: 8
Messages: 14
Hi,
Just started using e2pdf, great tool so far, but I cannot work out how to check a radio input on a PDF using conditions.

On a gravity form I have 2 number inputs:
- Number A
- Number B

The PDF template already has a fillable radio item, for "Pass" or "Fail", and if I open PDF manually in reader, I can tick either option.

I want to have a condition where if "Number A" < "Number B", the radio item "Fail" is ticked, otherwise if value is >=, then radio item "Pass" is ticked.

I right click on the "Fail" radio in PDF template, and see it has Option = 5, Value = Fail
Added an action as follows:
Order=0, Action=Change, Property=Value, Change=Fail, Apply If=Any
If={Number A:26}, Condition:<=, Value: {Number B:27}

But the radio item for fail never gets 'checked' in exported PDF.

I then tried removing the fillable radio options in PDF, and manually added Radio via e2pdf edit template PDF builder (e.g. drag and drop radio onto PDF).
But I couldn't get that to work either.

Any tips?
Thanks
August 10, 2020 03:43:09
ramsu
Topics: 8
Messages: 14
I managed to make the fillable radio buttons working in the PDF, by renaming each one, as their own group, and own option name.

So now the "Fail" radio in the PDF template, has Option=fail, value=no
And the action works as:
Order=0, Action=Change, Property=Value, Change=fail, Apply If=Any
August 10, 2020 10:23:36
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

Unfortunately it's happened due the value applied to whole "group" due the behavior of "radio" buttons so it will respect only last element condition.

If you still need to use same group name among 2 radio buttons, you can just add same actions to both "radio" buttons which will have different "Option" values to make it work.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
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.