Prevent empty fields to be put into email

spm 11 Dec, 2013
Hi,

i set up a huge request form for buffets and the problem is, as soon someone orders a buffet and just needs a special type of food, the entire form is put into the email I receive afterwards. Is it possible to prevent empty field to be put into the request mail. e.g. there are 3 types of soup and i just need soup 2 fifteen times. After I hit the submit button and the mail is generated, it just shows me, what is ordered (in this case soup 2).

Ans suggestions?
GreyHead 11 Dec, 2013
Hi spm,

You can do this using PHP to build a template that only includes the selected entries. Please check this thread for an example.

Bob
spm 16 Dec, 2013
hi Bob,

thanks for that. I tested it today and it works fine.

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