Graham Pearson
|
| Posted: 06/26/2005, 6:37 PM |
|
On my CCS Form I have a field called rdate which is hidden. I am
wanting to set this value to time() so I can store it in the database.
At the present time I have $members->$rdate->SetValue(time()); and
when I browse the form after a publish, I get the following error
message:
Warning: Missing argument 2 for setvar() in
/home/fantas23/public_html/register/Template.php on line 145
If I comment out the rdate->SetValue() line and re-publish I do not
get the error message on Template.php. Line 145 of Template.php is:
function setvar($key, $value) { $this->globals[$key] = $value; }
What am I doing Wrong?
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 06/26/2005, 7:13 PM |
|
Try changing this code to $members->rdate->SetValue(time());
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|