Javascript multidimensional validation

Job ID: 30912339

Budget: $10 – $30 USD

I have a form "fjob1" with 50fields with javascript validation which working well.

But now I have to modify the fieldname to multidimensional from "fname1" to "0[fname1]", "fname2" to "0[fname2]"...and span id from "fname1loc" to "fname10loc", "fname2loc" to "fname20loc"...., refer to "fjob2".

So, the javascript validation has to be modified too, but I dont know how to do and seeking your help here. You don't need to do all the 50 fields but only need to do the 1st few fields and I can base on your method to do all the 50 fields and your method shall working for all the 50fields.

If the problem is caused by fieldname "0[fname1]"'s 0, then you can use id=fname1, id=fname2... It should be very simple for you who know javascript, I will only pay USD10/= for this job.

Your code should work in MF, Opera, GC, IE, Edge and safari.
Related categories: JavaScript HTML5 HTML jQuery / Prototype