Added code validation to rsvp click

The code will be validated again when a user presses the rsvp button