
generate_letter.js.html
About this file
The function in this file checks for valid values in the form attributes for generating a letter. Using parsley, the required fields are checked. Once the form has been validated after clicking the first next button, the user is able to click the second next button.
Code Issues
- Recommend adding comments for each click handler describing what the action does. Also recommend adding comments on what is displayed after each click.
Code Check Report
Documentation drawn from source code
$(function () {
next1.click(function (e) {
success: function (data) {
next2.click(function () {
success: function (data) {
prev2.click(function () {
prev3.click(function () {
form.submit(function () {