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.
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 🙂
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