w2form.updateEmptyGroups

Hides empty groups, shows non empty groups
updateEmptyGroups()
Returns undefined.

Description

This method will hide all groups that have all fields hidden and show all groups that have visible fields. It is used internally when you show/hide fields. You can also call it to update empty groups.
If you have following form: You can do:

User Comments

comments powered by Disqus