On my website i'm using a form that is created withe the mpform module.
I have a problem with the validation of the email address field.
I think this validation is done by some function off WebsiteBaker.
The problem is that there are a lot of people who type a space after their email adress, and then the form reject the email address.
I know that there is a php function called "trim" to remove spaces on the beginning and the end of a string.
Is it possible to apply this function on the email addres field or on the function that validates the email?
Does anyone have a solution for this? I know a littlebit of php but not enough to find my way in the WebsiteBaker code.