![]() |
Sergey Kornilov admin 1/21/2011 |
This can be placed to BeforeAdd event: if ($values["status"]=="Returned")
|
T
|
thefoxes author 1/21/2011 |
This can be placed to BeforeAdd event: if ($values["status"]=="Returned")
|
A
|
asawyer13DevClub member 1/21/2011 |
Hi Sergey if ($values["Status"]=="Returned") $values["Returned date"]=now(); I have placed the above code in beforeadd event (of the items table), however it does not seem to update the field of "Returned date" with the current date... I am i doing something wrong
|
![]() |
Sergey Kornilov admin 1/21/2011 |
Make sure all field names are correct (case sensitive, no extra spaces etc). |
T
|
thefoxes author 1/21/2011 |
Not sure if this is the issue, but is it possible to change the field name so it doesn't have the space in it and then try the update? Thanks Alan Changed the field name, but still getting the date entered into the other field. Do I after use a "then" statement or am i missed a brackets? thanks...a little puzzled Alan |