I would like to know if there is a date input plugin for jquery that work like this plugin epecifically the datetimeinput.
This input check that the values are correct and only let the user to input the numbers not the / characters for the date.
I know that there are some mask inputs plugins out there but I would like one that validates and only lets the user to input correct date.
Regards
You can use jQuery Calendars Datepicker. They providing validation plugin also
You will get required info from HERE
Maybe this awesome jquery plugin fits your needs.
Working demo code. However there are much more plugins just try a short search on google.
mongaru, why don't you use the plugin that you linked? It's free for personal use.
Related
I want to validate mobile number depending on selected country.
Is there any Angular package for this.
I have tried regex but its for specific countries. i want to validate all countries mobile and landline numbers.
Just in case if you are comfortable with adopting to a jquery based solution, you can very well try the formvalidation jquery plugin which has support to validate your international phone numbers,
Detailed documentation with demo is available at,
http://formvalidation.io/examples/validating-international-phone-numbers/
Hope this helps
I'm looking for existing jQuery plugins that can be used as a picker for business days and hours, something that looks similar to this:
Even its not the exact thing you are looking, check this out
http://gendelf.github.io/jquery.businessHours/
'From' could be drop-down using simple jQuery -ui - same with 'to'
Mon-Sun are just a radio-group where you can only select one -> http://jqueryui.com/button/#radio
Then you can add these strings together (or convert to date-time if it isn't just for display purposes and format it after)
Finally append to 'results' box using something like
http://xoxco.com/projects/code/tagsinput/
So the plug-ins you want are jQuery-ui and some tagging plug-in (of which there are hundreds) - the rest is some simple javascript to tie it all together. Have a go - if you get stuck post again with what you have tried.
I'm looking for a datepicker that support entering by the user 5y and it will return now + 5years.
if possible if prefer to use jquery ui datepicker control, or if someone know about other control.
The jquery control blocks entering non numeric characters.
Thanks, Pini
Take a look at the demo from DateJS.
Any+Time is my go-to date (and time) picker. Highly customizable.
I want some type of javascript to do like below
I have a text box to enter phone number
And its like this 111-111-1111
when a user start to type means when he types 111 then the "-" must come there automatically.
then again he types 111 "-" it should come automatically.
how can i do this???
please help
Thanks
With jQuery
You could use the masked-input plugin for jQuery: http://digitalbush.com/projects/masked-input-plugin/ There's a demo on that page demonstrating specifically the format you illustrated here.
With MooTools
There's also the iMask solution which is built off of Mootools: http://zendold.lojcomm.com.br/imask/
Without a Framework
And dFilter for those not using any framework, preferring pure javascript: http://javascript.internet.com/forms/dfilter.html
Else...
If you're looking for a more thorough solution that doesn't require Mootools, jQuery, or some other framework, you might find Typecast to be of interest: http://typecast.arapehlivanian.com/index.html
I am looking for some kind of example of a Javascript Time Picker that is similar to the one used in Windows to pick the time...well except with out the seconds being in their. I have a mockup in place at the moment but trying to figure out how some of the user functionality should be be as it is two inputs and a dropdown. I guess I just am not happy with it at this point.
Thanks ahead of time for any help
There are a number of jQuery plugins that you can use for the perfect looking time picker control.
Here is a good one: http://plugins.jquery.com/project/timepicker
The Windows time picker (if you're referring to the one to change the system clock) is basically just a masked edit text box. If you're looking for something similar, you just need some JavaScript to do masked edits, like this one:
http://digitalbush.com/projects/masked-input-plugin/
To make it specifically for time, you should be able to easily add logic to ensure the hours don't go over 12 (or 24), and the minutes don't go over 59.
Personally, I prefer the way Google Calendar does time selections. There is a jQuery plugin for this which can be found here:
http://labs.perifer.se/timedatepicker/
Here's a cool one.
http://www.java2s.com/Code/JavaScript/GUI-Components/FancyTimePicker.htm
An online example of the control is posted here.
Like Dan said, if you are looking for a masked text input and if you want to use the PrototypsJS framework, there is http://code.google.com/p/phenx-web/ .
And if you want a good date/time picker, you could use this : http://home.jongsma.org/software/js/datepicker (also PrototypeJS). I'm currently working on it with Jerermy Jongsma to add more features.
I'm pretty fond of the jQuery stuff, There is a fairly nice one here.
I ended up creating a prototype time picker that for the time being is less fancy than a lot of the others out there. It shows up a regular input until you click on it then it shows a dropdown that has times in it.
I can share the code if anyone is interested
A timepicker shouldn't slow down the user's interaction, should be pretty straightforward without having to play with it for a while, and should be keyboard-accessible for users who can't manipulate a mouse. The time-picking functionality provided by the Any+Time™ Datepicker/Timepicker AJAX Calendar Widget with TimeZone Support meets all of these design goals, supports countless date/time formats and is easy to customize using CSS or jQuery UI.
A good test of timepicker usability is to think of an odd time (say, 10:32pm) and then see how long it takes to accurately select that time using various time pickers. You can probably do it with Any+Time™ faster than you can even write out the time by hand... how's that for speed and ease of use? :-p