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

FILTERING ENTRY DATA TO BE SEND


  1. johntorre
    Member

    HI SIR REDITYO..

    how can i filter the entry data to be sent in email pop up inside view_entry.php
    is it possible to send only {element_1} and {element_6} not the whole {entry_data}
    pls reply sir redityo...

    Posted 15 years ago #
  2. yuniar

    Hi there, if possible, please don't use all caps for the title.
    Some other people might be annoyed with this :-)

    Thank you.


    MachForm Founder

    Posted 15 years ago #
  3. yuniar

    To answer your question, yes you can do so.
    Simply modify your email template and put those template variables there.

    Remove the {entry_data} and put {element_1} and {element_6)


    MachForm Founder

    Posted 15 years ago #
  4. johntorre
    Member

    im very sorry sir yuniar.. thanks for the reply.. what im trying to ask sir is filtering the message to be sent.. when using the EMAIL section inside view_entry.php
    together with link like PRINT,EDIT, EMAIL & DELETE. it is possible to send only to element of the form not the whole {entry_data}

    Thanks

    Posted 15 years ago #
  5. johntorre
    Member

    Sir Redityo,

    is it possible to send only the entrys with value and not send the '' and 'some thing value' to the email notification?

    Thanks

    Posted 15 years ago #
  6. AMurray
    Pro Member

    Yes, you can customise the message and pick and choose the fields. You need to experiment with the *template variable* options presented in the Emails section of Machform.

    Basically you substitute the field names for the actual text like

    Dear {element_1}

    Thanks for your message....

    Where "element_1" is the first name - as entered by the user. When the message is sent, it replaces "element_1" with the actual first name of the person so they will see this when they open the email.

    This information is presented in the Emails area of the Admin screen.

    What is a Template Variable?
    A Template Variable is a special identifier that is automatically replaced with data typed in by a user.

    How are they used?

    Copy the variable name on the left (including curly braces) to your email template.

    Where can Template Variables be used?

    Template Variables can be used in From Name, Subject and Content fields.

    I hope this is what you're asking about....and that it assists you.

    Posted 15 years ago #

RSS feed for this topic

Reply