mandatory file on update
I would like to make the update page have a mandatory requirement for the upload photo field. I understand how to use the behaviors built in to DW.
I have a hidden field that the upload is bound to and it works fine. But it doesnt seem to see the default file value on the hidden field as meeting the "required".
<input name="Photo_1" type="hidden" id="Photo_1" value="<?php echo $row_WADAinventory_tbl['Photo_1']; ?>" />
<input name="Update" type="image" id="Update" onclick="MM_validateForm('Stock_Number2','','R','VIN','','R','Make','','R','Model','','R','Year','','RinRange1895:2100','Price','','RisNum','Ext_Color','','R','Int_Color','','R','Mileage','','R','description','','R','Photo_1','','R');return document.MM_returnValue" value="Update" src="../WA_DataAssist/images/Slate/Modular_update.gif" alt="Update" />
any suggestions
thanks