Appnitro Software Forums » MachForm

question about admin emails and export to excel

(3 posts)

  1. bsimpson
    Member

    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 1 year ago #
  2. 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

    Posted 1 year ago #
  3. bsimpson
    Member

    thanks for the quick reply

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.