Changes format of the submitted form data to be more easily parsed.
Validates html form based on attributes