Hidden Fields

Formidable Forms
September 21, 2022 04:53:24
muzaffaryounus
Topics: 4
Messages: 19
Dear,

If I want to hide some field information from a specific role type then how can I do that?
For example, I have a role for Members in WordPress and I want to hide Office data from them from PDF View.
I tried and I think this can be done by Action settings of the field but what I have to define in IF and VALUE Conditions.

Thanks.
September 21, 2022 05:22:06
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

If you need to show field depending on the user who is viewing PDF URL, you can use the [e2pdf-user] shortcode as:

Hide IF ANY:

[e2pdf-user id="current" key="roles" implode=", "] LIKE role
[e2pdf-user id="current" key="ID"] = 0

* "role" must be replaced with user "role"

2nd condition must check if the user has been logged in.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
September 21, 2022 07:02:26
muzaffaryounus
Topics: 4
Messages: 19
Thank You
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.