Then I need to validate the date because the date has to be between a certain date range to verify that the children are the correct age. I don't even know where to start. Except I am trying to make my way through http://www.electricprism.com/aeron/calendar/#manual but I am still sadly confused.
You can add year and month arrows (not terribly good ones but they work) with the navigation: 2 parameter
navigation - An integer–0, 1 or 2–indicating which navigation method the class will use: traditional navigation (1) where left and right arrows allow the user to navigate by month (default); improved navigation (2) where the user can navigate by month or year; and static navigation (0) which is actually no navigation at all.
You can add a default date by setting a value attribute for the input.
You can allow a date to be types by using a plain text field (but that gives you other validation problems).
YOu can validate a date ragne wither by writing a Javascript validator (or a custom Validation); or by using PHP in a serverside validation.
Bob
Thank you by the way for answering my post. It is greatly appreciated!
In the Date Fields Extras box at the bottom of the Form General Tab. I think it needs to be
classes: ['dashboard'], navigation: [2]Bob
So now for that default date. How would I put in 1/1/2000?
And where would you suggest I start to teach myself how to write a javascript validator?
So now for that default date. How would I put in 1/1/2000?
Put the attribute value='1/1/2000' into the input<input id="date" name="date" type="text" value='1/1/2000' />And where would you suggest I start to teach myself how to write a javascript validator?
W3Schools has good tutorials but I'd suggest that you find someone to do it for you.Bob
The programmer will probably do the following items, but just so I know and so I am learning with the process:
1. Where would I have put the code from the previous post? <input id="date" name="date" type="text" value='1/1/2000' />
2. The javascript will end up being placed in the "Form Code" tab under javascript right?
Thanks again for being willing to help!
Angela
