Default file not defaulting
have a problem with a CMS Case Study page. the insert record page has option to uplaod up to five images (using Dig File Pro WA Upload). users often only upload one image so four file fields are blank.
when users further update that record using the DA Update page, it fouls up as the Dig File Pro Upload update funcrtions are setr to retain the existing file if there is no new one selected. Of course, if there was not file selected i nthe first place it tries to retain a file that doesnt exist and sends error that field cant be null.
So i uploaded a blank noimage.jpg file and set the Upload functions on the insert page to use this as a default file if not image was selected. or i thought i had - code looks like this:
If(Request.ServerVariables("Request_Method") = "POST") Then
WA_DFP_UploadFile "WA_UploadResult1", "CaseImage", "../images/casehist/noimage.jpg", "../images/casehist/", "[FileName]", "2", "[FileName]_[Increment]", "199", "true", "0", "0"
but when i insert the record, there is default file inserted. any ideas why that would be@ insert page attached