A customer of mine has a Joomla website with several forms. When submitting these forms an email is sent to my customer with the content. Unfortunately the preset values ("value if empty") are sent as well. Is there a way to remove this values before the mail is sent? The data is processed after the mail and for now these preset values are removed by hand which is rather time consuming. Furthermore I'd like to replace all new lines in the values with spaces before sending the mail.

  • What extension is being used?
    – Sharky
    Sep 13, 2021 at 6:27
  • Form Maker is used to create the forms
    – NicolasB
    Sep 13, 2021 at 6:29
  • Another forum extension that I use a lot is RSForm Pro. It has an option for "PHP Scripts" + "PHP Scripts - Pre-Processing" that I use to add my own PHP scripts to retrieve and/or modify data. I don't know Form Maker. Maybe you can ask the developers if they have a similar function?
    – pe7er
    Sep 13, 2021 at 12:28


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.