Forum Moderators: open
<input type="text" name="pagename['.$i.']" value="'.$defpn.'" '.$dis.'>
which of course outputs as a form with input boxed named pagename[1] followed by a pagename[2] etc.
I have tried to use various javascript options to require the field not being empty, but none seem to work.
Testing it out without the [] in the name resolves the issue, but rewriting to accomodate this is something I would really rather avoid due to the fact that more than a few pages rely on them being the way they are and would all require considerable time to even find them all.
Any ideas on how to get this working? Or should I just start rewriting them all?