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: 5 years 7 months 27 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 month 15 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 month 15 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.

Displaying 1 to 3 of 3 messages