• Resolved sarfaraz27

    (@sarfaraz27)


    Hi there,

    I am using {all_non_empty_fields} in my email notification. but i want the notification to arrive in a table format. i tried all possible options it doesnt work, how do we achieve this.

    Please note that i dont want to create a Custom HTML Table with all fields entered manually. we have alot of fields so we want it to be dynamic. with {all_non_empty_fields}

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hello @sarfaraz27

    At this moment, the tag {all_non_empty_fields} displays the fields of your form as a list. There is currently no options in Forminator to change this behavior and display these as a table. If you want to show the form’s results as table, it’s necessary to create the HTML code inside the Email Notification’s body block, and add the individual fields there; but I understand this is not what are you looking to do because it may include fields that doesn’t have any value.

    Something like this may require custom code, in order to change the behavior of Forminator when the {all_non_empty_fields} tag is used. But I’m afraid this will be outside the scope of support we can provide. For that, you’ll need to hire a developer to provide the required custom code for you. WordPress provides a jobs directory here https://jobs.wordpress.net/. If you need further advice about it, feel free to email [email protected] with this subject: “ATTN: WPMU DEV support – wp.org”

    Kind regards,
    Jair.

    Thread Starter sarfaraz27

    (@sarfaraz27)

    Hi, Thanks for the clarification.

    Just wanted to check if it can be done using PHP Functions, if yes, which hook to use?

    Thanks again for your support 🙂

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @sarfaraz27,

    Forminator provides the following filter that allows you to customize the body of the notification email.

    forminator_custom_form_mail_before_send_mail

    I hope that helps. Please feel free to get back to us if you need any further clarification.

    Best Regards,
    Nebu John

    Hi @sarfaraz27

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind Regards,
    Kris

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Forminator Email notification as Table’ is closed to new replies.