Problem:
How to auto fill the parent field with current post ID with Toolset forms
Solution:
You should use value attribute and assign it the current post ID using shortcode [wpv-post-id] in order to auto select the current post ID from parent dropdown select.
For example:
<div class="hide_parent"> [cred_field field='@dom-otzyvy.parent' select_text='--- not set ---' value="[wpv-post-id]" class='form-control' output='bootstrap'] </div>
You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/split-the-automatic-attachment-to-the-post-does-not-work-maximum-allowed-amount-association/#post-1083074
Relevant Documentation:
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.
This topic is split from https://toolset.com/forums/topic/the-automatic-attachment-to-the-post-does-not-work/
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 4 replies, has 2 voices.
Last updated by 6 years, 4 months ago.
Assisted by: Minesh.