Hi all, I'm pretty new to javascript. Please help me. I'm having a very hard time with my form to display correctly on the 2nd page. If a user skips a field on the 1st page, it throws my data off on the second page. Please see my link below. http://mason.gmu.edu/~jwray/final_project.html What am I missing? My eyes hurt searching for this error I've made in my code. Thanks, Rich
I took a look but I am not sure what is causing the problem Rich. Are you talking about how the value for childn3 = submit and childbd3 = undefined if you leave a field blank?
hey, i think the problem is hidden here: you fill data[41] and data[43] in the JS function with those unwanted values - IMHO filling all form information into one numbered array is very uncomfortable for debugging - i recommend displaying the array's contents BEFORE parsing in the retrieveData() function - then you may discover what's wrong... keep us informed on your progress. good luck!