Forums

Thank You Message Fields If Empty do not Display or Email

GoleyC 05 Jan, 2012
Is there a way to not show the fields that do not get any information submitted in them to not display in the Thank You Message? This would greatly help in keeping the thank you message less cluttered.

In addition, the same field also get emailed, can those also be excluded from the email sent if they are empty?

Craig
GreyHead 05 Jan, 2012
Hi Craig,

There's no automatic way of doing it. ChronoForms isn't clever enough to know if empty data is meaningful or not.

You can add PHP in the templates for the email and thank you page and display or hide chunks depending on the form results though.

Bob
GoleyC 05 Jan, 2012
Could that be something to consider for future releases? Put this in the settings where the user can choose to include/exclude it in their result if it is empty.
GreyHead 05 Jan, 2012
Hi GoleyC,

I don't know what Max is planning but that seems unlikely to me. There are just too many different ways that people use the inputs to make it practical.

Bob
This topic is locked and no more replies can be posted.