toolset-dave
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Collapse button for Repeatable Field Group
Started by: 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 | 6 years, 2 months ago | |
Collapsible treeview for multiple checkboxes
Started by: toolset-dave in: Toolset Professional Support |
|
2 | 6 | 6 years, 2 months ago | |
Ordering of Repeatable field groups
Started by: toolset-dave in: Toolset Professional Support |
|
3 | 8 | 6 years, 4 months ago | |
Restricted access to CPT based on User roles
Started by: toolset-dave
in: Toolset Professional Support
Problem: Solution: Relevant Ticket & Solution: |
|
2 | 5 | 6 years, 4 months ago | |
How to hide other plugins for specific roles using Toolset Access?
Started by: toolset-dave in: Toolset Professional Support |
|
2 | 2 | 6 years, 4 months ago |