I have 3 input fields to build a phone number (#area_code, #number1, #number2) I need validate plugin to do the following:
1) Check that #area_code is 3 digits long & required
2) Check that #number1 is 3 digits long & required
3) Check that #number2 is 4 digits long & required
OR
1) Check that these 3 fields together are required and 10 digits long
ALSO
if any of these conditions are not met then there is one error only shown to the right of #number2
I'm currently using the image error/success that is 16px with the em attribute. If I could still use this for this issue would be great. I apprecaite anyones help on this. Thx in advance.
First off sorry for demanding fast help. I just need this last part of the project to complete it hopefully today.
Ok I have datepicker on my site with two extra text fields. One id date to show the date the user selects the other two are 1) startdate and 2) enddate these two get the start fo the week and the end of the week for the week that date falls in that the user selects. This works great when a user actually selects a date, however is there anyway for these other two fields to load upon the page being loaded? I have the date field being auto populated by php from the database in the correct format d/m/Y so example 07/13/2010 but even though the date field shows this value from the database I cant get the startdate and enddate to populate onload unless the user selects the date again. Is there anyway to load these two upon page load?
Ok I have a customer that want to datapicker used to select a date range of a certain week. So if user selects tuesday on the calendar of a certain week. The first date should be set to that monday and the last date should be set to that friday of that week. We dont want the user to select from two different calendar popups, but rather have the first text field return that mondays date and the 2nd text field return that fridays date of that week. Can anyone please help me on this. I would greatly appreciate it. Also I'm pretty new with this so the more detail the better on how to return these dates the the input fields would be great.
I have been looking everywhere and I cant find a solution to this issue. Is there anyway to disable all dates but dates the user has defined in mysql table? I'm trying to setup an event calendar in which if there is an event on certain days, then the user can click on that date to view information, else the date is disabled. Please.. I would appreciate any help on this.