I have a scenario where I need to show a bunch of buttons only when ANY of the group of input fields contains a value and hide the buttons when ALL input fields are empty.
It is impossible to come up with an elegant way to do this, except to attach some code to the focus event of the input fields to check their contents and show / hide accordingly.
Is there a better way to do this?
thanks
source share