Problem:
How to make a “Select Parent post” field required in a cred child form?
Solution:
You can make the Select Parent Post field required in CRED Child form >> Add Post fields >> Parents >> Required. Screenshot here:
https://toolset.com/wp-content/uploads/2017/08/556019-required_field.png?x71388
Example CRED shortcode looks like this:
[cred_field field='post_parent' value='' order='date' ordering='desc' required='true' select_text='--- not set ---' validate_text='property must be selected' class='form-control' output='bootstrap']
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 |
---|---|---|---|---|---|---|
- | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | - |
- | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | - |
Supporter timezone: Asia/Karachi (GMT+05:00)
This topic contains 4 replies, has 2 voices.
Last updated by 7 years, 3 months ago.
Assisted by: Noman.