MultiChoice

rss

Posted by schuess - Jan 23 ’17 at 12:06

How do i validate that at least one checkbox is checked in a MultiChoice field?

This does NOT seem to work.

if (!fd.field('divisionsIncluded').value()) { //type=MultiChoice

var strdivisionsIncluded = "Divisions Included\n";

missingFields = missingFields.concat(strdivisionsIncluded);

errorCount = errorCount + 1;

 

}

  • schuess
    schuess
    Member
    Member for: 6 years 8 months 7 days
    #1 by schuess Jan 23 ’17 at 12:23

    This seems to work.

     

    if (fd.field('divisionsIncluded').value() == "") { //type=MultiChoice

    var strdivisionsIncluded = "Divisions Included\n";

    missingFields = missingFields.concat(strdivisionsIncluded);

    errorCount = errorCount + 1;

    }

  • Justin S. Hayward
    Member
    Member for: 1 year 1 month 26 days
    #2 by Justin S. Hayward Aug 4 ’19 at 04:59

    If you need help booking reservation, you https://www.assignmenthelper.com.au/law-assignment-help/ can call United Airlines Reservations number. To provide the best support and discounts, our team is active 24/7, dial United Airline Reservation Helpline number.

  • mandi
    Member
    Member for: 1 year 1 month 25 days
    #3 by mandi Aug 5 ’19 at 02:03

    The arrival on speculation for Multichoice was perceived in under a year, with advantages being gotten from both the call focus and the field  Assignment Writing Service - Assignmentspot administrations workforce.

  • acquiro
    Member
    Member for: 4 months 6 days
    #4 by acquiro Jun 4 ’20 at 02:01
  • Petarparkar
    Member
    Member for: 3 months 13 days
    #5 by Petarparkar Jun 18 ’20 at 03:57

    Our wordpress website design dubai offerings make certain that your enterprise grows at an high charge. At Budget Web, we're decided to provide you with a internet site that generates site visitors and suits your business as nicely.

Displaying 1 to 5 of 5 messages