Implements submit buttons and required fields