CalcBuilder Forum

Is there a way to include values ONLY in the admin email?

User moon_1306 2013-11-01 17:26:16

I would like to be able to include certain variable values in the admin email ("Send form results to") only, without them displaying in the results or being included in the user email.

Specifically these:

$IP=$_SERVER;
$Referrer=$_SERVER;
$UserAgent=$_SERVER;
$Host=$_SERVER;

Which I have included in the exit layout.

I can use CSS to hide them in the results and probably the PDF, but I can' find a way to keep them out of the user email.

I have tried just adding the variables to Preferences/Send form results to, but I guess that feature only works for text fields.

Thanks in advance for any help.

Alan

Moonsoft support 2013-11-01 18:29:22

Hi,
sorry but you can't do that, as the email is created using same content, you'd need to make changes to the mail function in order to conditionally print output depending on the destination address. We could code a custom version with that kind of function, please place a ticket at helpdesk if you are interested in a quote for that feature.

Thanks, regards

User moon_1306 2013-11-01 19:19:54

OK thanks. I just opened a ticket.

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!