Forums

ASP

This topic is locked

validation error DW 8.0.2

Posted 24 Oct 2006 17:49:38
1
has voted
24 Oct 2006 17:49:38 Pierluca Bianchi posted:
Hola,

I've some problems with Dreamweaver 8.0.2 and Pure ASP Upload 2.2.2, using default Macromedia check form validation with Pure ASP require upload option checked.

I've a simple Form, with a text field and a file field. MM check form has to check that text field "Titolo" isn't empty.

I tried to swap java bheaviors as you suggested in some other threads but problems remain.

1) MM_validateForm('Titolo','','R');checkFileUpload(this,'',true,'','','','','','','');showProgressWindow('fileCopyProgress.htm',300,100);return document.MM_returnValue

In this case upload starts even if "Titolo" field is empty

2)checkFileUpload(this,'',true,'','','','','','','');showProgressWindow('fileCopyProgress.htm',300,100);MM_validateForm('Titolo','','R');return document.MM_returnValue

In this case insert record starts even if File Field is empty

3)checkFileUpload(this,'',true,'','','','','','','');MM_validateForm('Titolo','','R');return document.MM_returnValue;showProgressWindow('fileCopyProgress.htm',300,100)

In this case insert record starts even if File Field is empty



ty for your attention

regards

Reply to this topic