We have a word document (application form), from that the data will be fetched and set as the content for the RTE. User can give the values for fields in the application form. Once the user presses the save button, the values will be stored to the DataBase. If the user enters the email-id, the remaining fields value will be shown automatically if the email id is already present in the DataBase.
Upon clicking to the Save button, the corresponding function (saveAction) will be triggered, in that all fields’ data are fetched in client side and using ajax function to call the storeData action method. The data are passed as the arguments.
In code behind, the data will be stored to the “SaveData” table using SQL connection string.
The email-id input field bounded with the “change” event, once the user enter or change the value, the following function will be triggered, the value of the email-id field send as the argument in ajax call.
Once the user enters the “email-id”, the “retriveData” action method will be triggered, which was done using ajax call.
Here, data is fetched from DataBase. In the success function of ajax call, set the data to the application form fields.
This page will automatically be redirected to the sign-in page in 10 seconds.