Skip to end of metadata
Go to start of metadata

The onsectionclick event is activated when an accordion section is clicked.  The special variable section can indicate the index of the section that was clicked.  The first section is index 0, the second section is index 1, and so on.  If the JavaScript expression evaluates to false, the section will not be expanded.


The following code requires the user to fill out the information in the first section before allowing them to expand the second section.

onsectionclick: processSectionClick(section);

  • No labels