Hi all,
I'm trying to sanitize the fields from my form before they can be sent in an email. This allows me to block certain injections such as html, javascript, etc.
I want to sanitize all of my fields returned. I have a general idea of how to sanitize them, my problem is more on going through all my fields that my form has. I can't put the Body returned by the form in an apply to each like I tried to do, because Body is an Object. I would need to translate what that object contains in an array that I can iterate through.

Any ideas ? Thanks