I'm having a problem with my custom field type messing up the e-mail sent from the form. Messing it up by being there. The custom FieldType is just adding a bit of styled text to the form in the frontend, but have no data.
Also the data will be added to the entry in the backoffice, which is also a problem.
I would like it to work just like built in "Text" type. How to do that?
Custom FieldType in e-mails
Hi guys,
I'm having a problem with my custom field type messing up the e-mail sent from the form. Messing it up by being there. The custom FieldType is just adding a bit of styled text to the form in the frontend, but have no data. Also the data will be added to the entry in the backoffice, which is also a problem.
I would like it to work just like built in "Text" type. How to do that?
Here's my code:
And my e-mail with the unwanted empty fields:
is working on a reply...