Corrected name in last input field of the html file
Reorganises getFormInfo

Fields are pulled from the form into variables which then get echoed