Javascript to hide/show text field
I am completely new to doing javascript, and I am trying to complete a form to show or hide a particular text field. I know there are posts on performing the hide/show condition with a checkbox using javascript; and if all else fails I will use this.
However, I am wondering if it is possible for hiding or showing a text field using a date picker field? For example, If the date field is blank, I want the text field to show, and if a date is selected the text field goes away. Then, if the date field is cleared out, the text field reappears. Make sense?
Thank you,
TJ
