View Full Version : Req fields script limited to 6 fields?

01-12-2008, 05:11 PM
1) Script Title: Required fields

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/requiredcheck.htm

3) Describe problem: I have 15 required fields and each are entered in the script correctly, yet when leaving the form completely blank in the pop up lists only 6.

How can I mod the script to include all 15 fields?

// Enter name of mandatory fields
var fieldRequired = Array("FirstName", "LastName", "dateofrace", "streetaddress", "city", "state", "zipcode", "homephone", "workphone", "email", "bike#", "class1", "class2", "class3", "nsra");
// Enter field description to appear in the dialog box
var fieldDescription = Array("First Name", "Last Name", "date of race", "street address", "city", "state", "zip code", "home phone", "work phone", "email", "bike #", "class 1", "class 2", "class 3", "NSRA");

01-13-2008, 04:10 AM

I just created one with 8 fields and it worked fine. Could you post the form here also so people could test it?