I have a SharePoint list that is connected to Plumsail Forms. Within the form there is a tabbed area. Each tab is associated to a Document Library within SharePoint. In the Display Form, is it possible to hide tabs that do not have content/documents associated to that tab/document library?
Hi @glsswizard,
If you're using List or Library controls to display the Document Libraries, you can check the amount of items in the list with this line:
fd.control('SPDataTable1').widget.dataSource.data().length
Try using this approach to hide tabs. Let me know if this helps.
Hello, I am new to Plumsail forms and using Javascript and CSS. Would you be willing to provide me examples of the code for each? I am using the List/Library control for the tabs.