I have a dynamic list and a dynamic form with custom validation. Data insertion and validation works perfect on insert, but not on update. It just updates the data into the table no matter what I put into the fields.
What i've tried: Double click on the Validate Form (formValidation) server behavior, click on the Advanced tab and in the Transactions table both insert and update transactions are listed with priority of "10" and type "BEFORE". I haven't changed anything it's the default.
---------------------------------
I'm using DW CS4 with ADDT
No validation for dynamic update
Re: No validation for dynamic update
If you look at the actual code and compare it to a page that works, any difference?
Here is an example line
Note this is kollection pro. version
Here is an example line
Code: Select all
// Make an update transaction instance
$upd_content = new tNG_multipleUpdate($conn_siteConn);
$tNGs->addTransaction($upd_content);
// Register triggers
$upd_content->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Update1");
$upd_content->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
$upd_content->registerTrigger("END", "Trigger_Default_Redirect", 99, "........