Successfully calculates the result (accept/reject) and prints it on the web page upon submission of the form. Not very pretty though.