### Example of a AJAX calls done after specific steps, and how to use the before_remote_ajax and after_remote_ajax events

- An ajax call will be done after the second step, simulating serverside validation (will always "fail"). Done using the remoteAjax option
- Callbacks bound to the before_remote_ajax and the after_remote_ajax events triggered by the remote ajax functionality.
- Note that this example will not work in chrome, but the functionality should work when used on a server.

#####

First step - Name
First name
Surname
Step 2 - Personal information
Social Security Number
-
Phone number
- -
*Email
Last step - Username
User name
Password
Retype password
Hidden step
This step is not possible to see without using the show method