Upload file disappear when there is server validation error

On the Add page I am using a form_customValidate as
if(…) return FALSE;
else return TRUE;

when it return FALSE from the form_CustomValidate
all the text input data does not disappear
but the upload file data disappear
and if there is Clientside_validation error the upload file data doesnot disappear.

As there is four upload field it is very difficult to upload again and again when there is Custom_Server_validation error.

Try to validate that form by using client-side validation instead of server-side validation as possible.

mobhar wrote:

Try to validate that form by using client-side validation instead of
server-side validation as possible.


I have put my validation code in the
form_customValidate under Add Page

Form_CustomValidate is located both for server events and client scripts. I meant, you should use Form_CustomValidate that belongs to the client scripts, and not the one that belongs to server events.