1

Am using checkbox multichoice field in my newform.aspx and in presaveaction call am doing the below code:

      function PreSaveAction() 
          {
          var dt3;
           var dt4;
             var dt5;
             var dt6Date;
              var dt7StartDate;
             var dt8Date;
             var estimatedsizein;
            var currentStatusChoiceField;
             var flagGeneric =true;

            var ORCBIEPMcheckedonsubmit  = 
            jQuery("input[name$='ctl00$m$g_505f6778_755e_45e6_
            b8da_a2acdd7adae3$ctl00$ctl05$ctl17$ctl00$
           ctl00$ctl04$ctl00$ctl00']").is(':checked');
           alert(ORCBIEPMcheckedonsubmit  + ' is the orcbiepm value 
      checked on submit');

I tried with the name,-name$- which i got from F12 dev tools, but i am unable to get the value of checked status of this checkbox, am having 16 checkboxes in this SPFieldChecboxfield. but nothing happened. am struggling to find out how to get teh checked status of each checkboxes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.