Problem:
Client has a CRED from with sections hidden in collapsible Bootstrap panels, and so needs to expand all panels if there is a validation error.
Solution:
There are no public custom front-end CRED events that can be used, but it is possible by adding the following jQuery in the custom JS section of the form:
jQuery(document).ready(function($){ $(".cred-form").submit(function(e){ e.preventDefault(e); $(".panel-group .collapse").collapse('show'); $(this).submit(); }); });
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 |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
This topic contains 5 replies, has 2 voices.
Last updated by 6 years, 9 months ago.
Assisted by: Nigel.