JohnBoy2005
Programmer
I'm trying to validate a form to make sure all the input boxes have entries in them before I submit to the next page.
The problem I have is that the names of the input boxes can change depending on the results of the page.
E.G.
Report 1
<input name="Room_1" type="text">
<input name="Room_3" type="text">
<input name="Room_5" type="text">
Or Report 2
<input name="Room_2" type="text">
<input name="Room_4" type="text">
<input name="Room_8" type="text">
Any ideas on how I can validate these input boxes.
Cheers
John
The problem I have is that the names of the input boxes can change depending on the results of the page.
E.G.
Report 1
<input name="Room_1" type="text">
<input name="Room_3" type="text">
<input name="Room_5" type="text">
Or Report 2
<input name="Room_2" type="text">
<input name="Room_4" type="text">
<input name="Room_8" type="text">
Any ideas on how I can validate these input boxes.
Cheers
John