add_instruction.js.html

About this file

This file contains a script that handles the instruction form validation upon clicking the next button. Required fields of the form are given the data-parsley-required attribute and an associated max character length.

Code Check Report


                        

Documentation drawn from source code

  $(document).ready(function () {
   $(".instruction-control .instruction-divs").each(function (e) {
   $("#instruction-next-1").click(function () {
      success: function (data) {
   $("#instruction-next-2").click(function () {
     success: function (data) {
   $("#instruction-prev-1").click(function () {
   $("#instruction-prev-2").click(function () {
   $("#add-instruction-form").submit(function () {
   $("#instruction-content").keyup(function () {

Source code