close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Client-Side Validation simply does not work on php page

Thread began 6/30/2009 4:46 am by office377308 | Last modified 6/30/2009 1:59 pm by office377308 | 3541 views | 5 replies


Client-Side Validation simply does not work on php page

I have a form with file field, text, 2 dropdowns, a set of radio buttons and a text area field.
I started with just validating the text field, nothing else, yet.
the form tag is:
<form action="file_upload_control.php" method="post" enctype="multipart/form-data" name="Auftragsdaten" id="Auftragsdaten" onSubmit="WAValidateNM(document.forms[0].anzahl,'- Invalid number format',1,100,0,'','','.,',document.forms[0].anzahl,1,true)">

But the effect of not inserting any number, is, it jumps to the next page. No validation, no error message, nothing.

I recently updated to VA Toolkit ver. 2.3.5

If I apply DW built-in Form validation behaviour, validation works as expected.

I purchased DataAssists Validation Toolkit in order to use more sophisticated validation. Now it turns out it does even less than DW built-in functionalities.
Any idea?
PS.: I also use an insert record form and DA's file upload, here's part of the code:
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../dyn/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
WA_DFP_UploadFiles("WA_UploadResult1", "dateiraufladen", "0", "", "false", $WA_UploadResult1_Params);
// WA Application Builder Insert
if (isset($_POST["upload"])) // Trigger
$WA_connection = $myConnection;
$WA_table = "myTable";
$WA_sessionName = "bst_bsID";
$WA_redirectURL = "";
$WA_keepQueryString = true;
$WA_indexField = "bsID";

I am not sure if this has anything to do with client-side validation, but I thought it might be useful to mention.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...