JavaScript function has verified that all the required fields have been filled, cookie is added to user's computer. If same user attempts to fill out form second time, user will be directed to separate HTML page advising them that they have already submitted form.