Validate Drop Down Selections |
[eluser]Petsoukos[/eluser]
[quote author="iConTM" date="1283386876"]Does the link to your css file work? Try view source and copy paste the css link in your browser.[/quote] Yes it spits out the script...
[eluser]iConTM[/eluser]
Ah maybe it's the version of jquery? I used jquery-1.3.2.min.js I noticed that some jquery plugins only work with a certain version of jquery installed.
[eluser]Petsoukos[/eluser]
Well I mixed up the datepicker utilities. Actually I've used this http://javascriptcalendar.org/javascript...picker.php this was causing the problem I've mentioned. The one you are referring is working. You said the textfield+datepicker is more userfriendly. One click only. But I think otherwise. With this date picker I have to click 25 times to get to my year of birth + 1 to select the date. ;-)
[eluser]Petsoukos[/eluser]
Hm... I've got it running with drop down and it validates correctly as far I can tell. I check the validation from on point only Code: $this->form_validation->set_rules('year', 'Year', 'trim|required|numeric|callback_datechecker'); The callback method: Code: function DateChecker() { Can someone else confirm this? When for example I enter an erroneous date like 2010 02 31 (31 Feb ;-P ) I get the error message. Or any invalid date. If someone was so kind to review it for any loopholes or a trick to bypass it I would be greatfull. Thanks! |
Welcome Guest, Not a member yet? Register Sign In |