This topic is locked

php events problem

4/18/2008 7:22:21 AM
PHPRunner General questions
R
rajx author

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=8200&image=1&table=forumtopics' class='bbc_emoticon' alt=':unsure:' /> i entered this into before record added event
$values["sys_info"]=$values["ID"].$values["KPI_Date"];
where id and kpi_date fields on an add page
record field sys_info does not get update
entering $values["sys_info"]=now(); works
cannot seem to reference any fields on add form for calculation

J
Jane 4/18/2008

Hi,
to debug your code ptint all variables before:

echo "KPI_Date=".$values["KPI_Date"];

echo "ID=".$values["ID"];
$values["sys_info"]=$values["ID"].$values["KPI_Date"];

R
rajx author 4/18/2008

Hi,

to debug your code ptint all variables before:


Thanks tried that but no joy

nnothing is displayed including the echo command i cannot see anything wrong in the syntax i am using any ideas

all i get is data was added on list page all keyed data paper but nothing in the calculated field

>>>

J
Jane 4/21/2008

Hi,
it's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and send to support@xlinesoft.com a URL to your pages along with instructions on reproducing this error.

I'll find what's wrong with your project inspecting it at Demo account site.