Modified question so you can stop taking the michael!
Ok i want use jquery to validate it.
The form values are from hidden inputs. So if any hidden inputs == 0, i want to alert the user to complete the form. If all == 1 i want the form to be submitted.
I want to submit via input button type with an onclick event.
<script>
jquery function
if all hidden == 0
alert
else
location.href='submit2pd.php
</script>
<input onclick="(the jquery function)" type="button" value="Submit" />