This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
question about admin emails and export to excel
Started 16 years ago by bsimpson | 3 posts |
-
Thanks for all the help in the past, I am curious if there is a way to modify a template variable for the notification emails.I want to change the {entry_no} variable. Lets say I wanted to apply a formula to the entry number.
For example "entry number +7"So in the "Send notification emails to " area i would have the variable {entry_no} , and somewhere behind the scenes, machform would take the entry number and change it and use the resulting changed value in the email.
So even though the entry number is actually 15, it would display the result of the formula (using our example "22").Also, is there a way to select which columns do and do not show in the export to excel function? and how would I go about that?
Posted 16 years ago # -
Hi ..
It's possible to give formula for entry_no variable by editing "includes/helper-functions.php" between line 314 ~ 315
$template_variables[$i] = '{entry_no}'; $template_values[$i] = $entry_id + 7; //<-- add the formula in here
and for selecting column in excel export, I'm afraid it not possible for now
MachForm Support
Posted 16 years ago # -
thanks for the quick reply
Posted 16 years ago #
Reply
You must log in to post.