This message is cross posted in
alt.comp.lang.p hp & comp.lang.javas cript
I have a form for a user to input an establishment's hours and what time an
event is taking place. After the user inputs their establishment's hours of
operation I want the form elements lower in the form to adjust so that an
event can only happen when the place is open.
I have two fields for the hours:
These are both select fields with values between 0-23
store_open
store_close
Later in the form I have
event_start
event_stop
These values need to be between whatever store_open and store_close are.
I am stuck.
Thank you.
alt.comp.lang.p hp & comp.lang.javas cript
I have a form for a user to input an establishment's hours and what time an
event is taking place. After the user inputs their establishment's hours of
operation I want the form elements lower in the form to adjust so that an
event can only happen when the place is open.
I have two fields for the hours:
These are both select fields with values between 0-23
store_open
store_close
Later in the form I have
event_start
event_stop
These values need to be between whatever store_open and store_close are.
I am stuck.
Thank you.
Comment