Astnrocker,
If I understand correctly, a hidden field is unnecessary.
When the form is submitted (or serialzed if you are using ajax), the server-side code will see the "age" value and can apply whatever logic is necessary.
Thus, all the logic for handling form data will be in one place, not split between client-side and server-side.
Airshow
Airshow
WiFi Lounge Lizard
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372