Problem:
On a CRED form for a child post, the Select dropdown for the parent post shows an empty "--not set--" option when we make the field required.
Solution:
As of today, this is a bug in Toolset CRED v1.9.0.1 and is reported to be fixed. In the meantime, please use this jQuery workaround. Add the below JS code in your CRED Edit Form >> JS editor section:
( function( $ ) { $( document ).ready( function(){ $('select[name*="post_parent"] option:contains("--- not set ---")').remove(); }); })( jQuery );
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 3 replies, has 2 voices.
Last updated by 7 years, 4 months ago.
Assisted by: Noman.