Cronix
Cronix
3 months ago (791,500 XP)

As for the original problem, try using length instead of size(). size() was deprecated.

if(required.length > 0) {
    // not all required fields are filled in
}

Please sign in or create an account to participate in this conversation.