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

Customising the email subject line?


  1. takemura
    Member

    Currently, the subject of email notifications are in the following format:

    Form Name [#ID]

    But I would like to change this to:

    Form Name - Specific Field

    I have identified the file where I need to commit this change: email_entry.php

    Here's the code I need to change:

    {form_name} [#{entry_no}]

    The specific field I require to replace [#{entry_no}] is called 'Business Name' in my form but how do I get it to use this?

    Posted 14 years ago #
  2. redityo

    Actually you no need to edit any file for this. To change the mail subject, go to mail menu and click "more option" link there. You can change mail subject text box from

    {form_name} [#{entry_no}]

    to

    {form_name} - {element_1}

    In there I assume your business name element id is 1. You can see the element id for form fields by click "template variable" link in mail setting


    MachForm Support

    Posted 14 years ago #
  3. takemura
    Member

    Brilliant! Thank you very much!

    Posted 14 years ago #

RSS feed for this topic

Reply