Sandra
Junior Member
Posts: 2
Registered: 12/10/2002
Member Is Offline
|
| posted on 12/10/2002 at 05:17 PM |
|
|
Mandatory Field
Is there are way of making the input field that accepts the date from the popup calendar a mandatory field.
When I try to do this in Frontpage I can no longer click on the calendar icon.
Any ideas would be appreciated.
Many thanks
|
|
|
tigra
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 12/13/2002 at 12:33 PM |
|
|
I'm not sure how FP makes form fields mandatory, but normally this is done on client side with javascript and on server side (some browsers have JS
disabled).
Just add some event handler that checks the field when visotor submits the form.
|
|
|
Sandra
Junior Member
Posts: 2
Registered: 12/10/2002
Member Is Offline
|
| posted on 12/15/2002 at 01:44 PM |
|
|
Thanks for this but I made the fields "mandatory" in frontpage but when you do this the calendar does not pop-up. In fact you can't make any of the
fields on the form compulsory as for some reason it stops the script from running.
Any suggestions?
|
|
|