Problem:
How can we populate the Parent Post Selector on a Toolset Form using the value passed in an URL parameter?
Solution:
You can specify the URL param to listen to in the Forms Parent post selectors like so:
[cred_field field='@relationship.slug.parent' class='form-control' output='bootstrap' select_text='Custom Select Text' urlparam='custom_url_parameter']
Then link to the page where the form is inserted to by passing the custom_url_parameter
in the URL, populated with the ID of the parent post.
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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by 4 years, 9 months ago.
Assisted by: Beda.