Hi
I'm creating a 'contact the owner' form for a page and trying to use eval to set the contact email address and property name (its a property listings site).
The values already exist in the page as php variables eg $thispropertyname (created through sourceror) so I can echo $thispropertyname just before the form with no problem.
But when in eval (type field) I enter:
$thisrental = $thispropertyname;
return $thisrental;
It returns a blank space.
Is it possible to use a php variable like this in eval?
Thanks
I'm creating a 'contact the owner' form for a page and trying to use eval to set the contact email address and property name (its a property listings site).
The values already exist in the page as php variables eg $thispropertyname (created through sourceror) so I can echo $thispropertyname just before the form with no problem.
But when in eval (type field) I enter:
$thisrental = $thispropertyname;
return $thisrental;
It returns a blank space.
Is it possible to use a php variable like this in eval?
Thanks