Problem: I have a Form that uses conditionals based on the value of a generic field. That field is set using the cred_post_parent shortcode, but it's not working after updating to Types 3.2.1.
Solution: Instead of setting the value based on cred_post_parent, use the wpv-search-term shortcode to directly access the parent post URL parameter.
[cred-generic-field field="_wpcf_belongs_company-profile_id" type="hidden" class=""] { "required":1, "validate_format":0, "persist":1, "default":"[wpv-search-term param='parent_company-profile_id']" } [/cred-generic-field]
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-search-term
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 5 réponses, has 2 voix.
Last updated by peterv-6 Il y a 5 années et 4 mois.
Assisted by: Christian Cox.