J
|
Jane 4/17/2007 |
Evan, if ($values["SerialNumber"]!="") $values["Checkbox"]=1;
|
N
|
Norian 4/20/2007 |
Evan, you can do it using Before record added or Before record updated event on the Events tab. Here is a sample: where SerialNumber and Checkbox are your actual field names.
|
E
|
evan_ad2000 author 4/22/2007 |
Evan, you can do it using Before record added or Before record updated event on the Events tab. Here is a sample: where SerialNumber and Checkbox are your actual field names.
|
J
|
Jane 4/23/2007 |
Evan, |
E
|
evan_ad2000 author 4/23/2007 |
Evan, this code write values to the database after you click on the Save button. If you want to change values on the fly open generated include/commonfunction.php file and edit BuildEditControl function.
|
J
|
Jane 4/24/2007 |
Evan, |
![]() |
paperhog 9/7/2007 |
you can do it using Before record added or Before record updated event on the Events tab. if ($values["SerialNumber"]!="") $values["Checkbox"]=1;
|
J
|
Jane 9/10/2007 |
Lori, if ($values["resend"]!= 1) { $values["intern_post_date"]=now(); $values["intern_renewed"]=$values["intern_renewed"]+1; } |
![]() |
paperhog 9/10/2007 |
Lori, try to use this code:
|
![]() |
Sergey Kornilov admin 9/10/2007 |
First of all you need to print $values["resend"] value on the web page. |
![]() |
paperhog 9/11/2007 |
First of all you need to print $values["resend"] value on the web page. This can help you find what is wrong: echo $values["resend"];
|
J
|
Jane 9/12/2007 |
Lori, if ($values["resend"]!= 1) { $values["intern_post_date"]=now(); $values["intern_renewed"]=$oldvalues["intern_renewed"]+1; } |
![]() |
paperhog 9/12/2007 |
if ($values["resend"]!= 1) |
![]() |
Alexey admin 9/13/2007 |
Lori, |