toolset-dave
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Collapse button for Repeatable Field Group
Iniciado por: toolset-dave
en: 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 | hace 6 años, 2 meses | |
Collapsible treeview for multiple checkboxes
Iniciado por: toolset-dave en: Toolset Professional Support |
|
2 | 6 | hace 6 años, 2 meses | |
Ordering of Repeatable field groups
Iniciado por: toolset-dave en: Toolset Professional Support |
|
3 | 8 | hace 6 años, 4 meses | |
Restricted access to CPT based on User roles
Iniciado por: toolset-dave
en: Toolset Professional Support
Problem: Solution: Relevant Ticket & Solution: |
|
2 | 5 | hace 6 años, 4 meses | |
How to hide other plugins for specific roles using Toolset Access?
Iniciado por: toolset-dave en: Toolset Professional Support |
|
2 | 2 | hace 6 años, 4 meses |