showing / hiding content
I am using a bit of JS to show/hide form elements based on a select list and just struggling with a couple of issues if you wouldnt mind taking a look please?
The first one is the 'download_update.php' page attached. On this one, I am trying to figure out how to show/hide the elements automatically based on what the 'FileType' select list is showing (which is based on the database). For some reason, if for example the sleect is preset to 'External' then the 'ExternalLink' element should be showing. It only shows if you use the select list to choose something else and then go back to the 'External' option. The same is happening for the other options whdere the 'DownloadFile' element should show automatically but isnt.
The second issue is on the 'download_insert.php' page attached. On this one, how do I go about making the select list require that something (other than 'Select Type' is selected?