toolset-dave
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Collapse button for Repeatable Field Group
Commencé par : toolset-dave
in: Toolset Professional Support
Problem: I would like to use jQuery Collapse for showing and hiding repeatable field groups (RFG) in a View, but the code isn't working when I have more than one RFG. Solution: Use CSS classes instead of IDs as your jQuery targets. <div> <fieldset class="majorpoints" > <legend class="majorpointslegend">Expand</legend> <div class="mylist" style="display:none" > <ul> <li>2</li> <li>3</li> </ul> </div> </fieldset> </div> <div> <fieldset class="majorpoints" > <legend class="majorpointslegend">Expand</legend> <div class="mylist" style="display:none" > <ul> <li>2</li> <li>3</li> </ul> </div> </fieldset> </div> <div> <fieldset class="majorpoints" > <legend class="majorpointslegend">Expand</legend> <div class="mylist" style="display:none" > <ul> <li>2</li> <li>3</li> </ul> </div> </fieldset> </div> jQuery(document).ready(function($){ $('.majorpointslegend').click(function(){ if($(this).text()=='Expand'){ $(this).next('.mylist').show(); $(this).text('Collapse'); }else{ $(this).next('.mylist').hide(); $(this).text('Expand'); } }); }); Relevant Documentation: |
|
2 | 3 | Il y a 6 années et 2 mois | |
Collapsible treeview for multiple checkboxes
Commencé par : toolset-dave in: Toolset Professional Support |
|
2 | 6 | Il y a 6 années et 2 mois | |
Ordering of Repeatable field groups
Commencé par : toolset-dave in: Toolset Professional Support |
|
3 | 8 | Il y a 6 années et 4 mois | |
Restricted access to CPT based on User roles
Commencé par : toolset-dave
in: Toolset Professional Support
Problem: Solution: Relevant Ticket & Solution: |
|
2 | 5 | Il y a 6 années et 4 mois | |
How to hide other plugins for specific roles using Toolset Access?
Commencé par : toolset-dave in: Toolset Professional Support |
|
2 | 2 | Il y a 6 années et 4 mois |