[jQuery] Re: jquery validate and datepicker.

2009-09-16 Thread Williamk

Thanks Karl.
I will direct any ui questions to the UI group from now on.
That  said, I appreciate your help.
:)

Kind regards,
William


On Sep 14, 11:04 am, Karl Swedberg k...@englishrules.com wrote:
 Hi,

 Sorry you haven't received a response yet. Usually Jörn picks up  
 questions about the validate picker, but he's been traveling for the  
 past week. Also, datepicker questions are usually handled on the  
 jquery-ui google group. In any case, it looks like the the validation  
 message is triggered on blur of the field. I don't recall how  
 datepicker works, but I would sort of expect the focus to go back to  
 the date input element when a date is selected from the datepicker.  
 Since that isn't happening now, you can make it happen by adding an  
 onClose or onSelect method to your datepicker 
 options:http://jqueryui.com/demos/datepicker/#event-onSelect
   That way, the validation thing will be triggered when the user  
 clicks or tabs out of the field after that point.

 Hope that helps.

 --Karl

 
 Karl Swedbergwww.englishrules.comwww.learningjquery.com

 On Sep 13, 2009, at 6:45 PM, Williamk wrote:





  Was it something I said? Or didn't say?
  :/

  On Sep 8, 8:28 am, Williamk bkopl...@gmail.com wrote:
  Oh, I put the demo page for the remember the milk with the datepicker
  on a site, so you can see what I am talking about.
  No porn or viagra or Nigerian cons or anything else dubious.
  If you are interested:http://avianflew.com/milk/

  On Sep 7, 9:48 pm, Williamk bkopl...@gmail.com wrote:

  For some reason, and this is baffling me, if I use both the  
  validation
  plugin and the datepicker plugin, some voodoo is occurring.
  I have to select the date twice for it to validate.
  For example, here are the steps I took:
  I try to submit the form without dates in the fields.
  The form is not sent and the date fields are flagged.
  If you open it once and select a date, the calendar closes, but it
  still shows as invalid.
  If you repeat this action, selecting the same exact field and  
  opening
  the calendar and selecting the date again, then it shows as valid.
  I'm not sure how to shoehorn this into validating on the first click
  on the calendar.
  And to be honest, I'm terrified I'm going to get flamed  over this.
  I generally consider myself pretty resourceful, but this is making  
  me
  a little bit loco.


[jQuery] Re: jquery validate and datepicker.

2009-09-13 Thread Williamk

Was it something I said? Or didn't say?
:/

On Sep 8, 8:28 am, Williamk bkopl...@gmail.com wrote:
 Oh, I put the demo page for the remember the milk with the datepicker
 on a site, so you can see what I am talking about.
 No porn or viagra or Nigerian cons or anything else dubious.
 If you are interested:http://avianflew.com/milk/

 On Sep 7, 9:48 pm, Williamk bkopl...@gmail.com wrote:



  For some reason, and this is baffling me, if I use both the validation
  plugin and the datepicker plugin, some voodoo is occurring.
  I have to select the date twice for it to validate.
  For example, here are the steps I took:
  I try to submit the form without dates in the fields.
  The form is not sent and the date fields are flagged.
  If you open it once and select a date, the calendar closes, but it
  still shows as invalid.
  If you repeat this action, selecting the same exact field and opening
  the calendar and selecting the date again, then it shows as valid.
  I'm not sure how to shoehorn this into validating on the first click
  on the calendar.
  And to be honest, I'm terrified I'm going to get flamed  over this.
  I generally consider myself pretty resourceful, but this is making me
  a little bit loco.


[jQuery] Re: jquery validate and datepicker.

2009-09-08 Thread Williamk

Oh, I put the demo page for the remember the milk with the datepicker
on a site, so you can see what I am talking about.
No porn or viagra or Nigerian cons or anything else dubious.
If you are interested:
http://avianflew.com/milk/


On Sep 7, 9:48 pm, Williamk bkopl...@gmail.com wrote:
 For some reason, and this is baffling me, if I use both the validation
 plugin and the datepicker plugin, some voodoo is occurring.
 I have to select the date twice for it to validate.
 For example, here are the steps I took:
 I try to submit the form without dates in the fields.
 The form is not sent and the date fields are flagged.
 If you open it once and select a date, the calendar closes, but it
 still shows as invalid.
 If you repeat this action, selecting the same exact field and opening
 the calendar and selecting the date again, then it shows as valid.
 I'm not sure how to shoehorn this into validating on the first click
 on the calendar.
 And to be honest, I'm terrified I'm going to get flamed  over this.
 I generally consider myself pretty resourceful, but this is making me
 a little bit loco.


[jQuery] jquery validate and datepicker.

2009-09-07 Thread Williamk

For some reason, and this is baffling me, if I use both the validation
plugin and the datepicker plugin, some voodoo is occurring.
I have to select the date twice for it to validate.
For example, here are the steps I took:
I try to submit the form without dates in the fields.
The form is not sent and the date fields are flagged.
If you open it once and select a date, the calendar closes, but it
still shows as invalid.
If you repeat this action, selecting the same exact field and opening
the calendar and selecting the date again, then it shows as valid.
I'm not sure how to shoehorn this into validating on the first click
on the calendar.
And to be honest, I'm terrified I'm going to get flamed  over this.
I generally consider myself pretty resourceful, but this is making me
a little bit loco.