I need an RSVP system for a website I have developed.
* When a link is clicked, I need a lightbox/popup box to appear which will ask for a 5 digit code.
* When the correct code is input, the form will fade out and fade in with a new form (the box will not fade, just the form). it will bring up the guest(s) name associated with that code (can be more than 1 guest with the same code (e.g. a family)).
* The guest is then required to select from two radio options, ('attending' or 'not attending' and 'require transport' or 'do not require transport').
* Once the form is complete, it will then write to a file and email me advising of RSVP'd guest(s). This file can be basic and only visible if I access it via FTP or, if possible, login to it if I browse to it.
Styling is not necessary as I will do this to integrate it into my design. Just basic html and css validation.
jQuery is preferred.
Form validation required.