Making field visible based on OnFocus event of another field
Hi, I have a text field called “customerBName” which by default is always visible and another two fields called “customerBAddress“ & “customerBTel” which by default are hidden.
I need a script for the On Focus event on
”customerBName” which will do the following:
When the user clicks (or tabs) into “customerBName” then the fields “customerBAddress” & “customerBTel” become visible(but not printable).
If the user then enters data in ”customerBName” and subsequently tabs out then the other two fields remain visible(but not printable).
However, if no data was entered in “customerBName and the user tabs out then the other two fields revert back to their original hidden state.
