Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am creating a form which requires the user to fill in a date for a booking. I want to have a calendar as a part of the form where the default date is the date for that particular date.
Are there any premade calendars (I don't want to reinvent the wheel)?
I am developing using html, css, javascript, jsp and bootstrap. I don't mind adding another framework in order to make this work. Thank you!
Bootstrappers have many examples of date-time pickers:
http://eonasdan.github.io/bootstrap-datetimepicker/ This has many calender examples. You can easily incorporate this in to your form.
This question should be more technical, but i think this is what you are looking for.
https://jqueryui.com/datepicker/
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to know, how to change the date format in the contact form, if I am not wrong, it's the contact form 7.
For example: I have in one of the fields, Date of birth, but the format is shown like jj/mm/aaaa
I need to change it, in order to get this format in the field of the form mm/jj/aaaa. I want to clarify that it is not for the general settings, but for the contact form.
I've been checking around, but I haven't got any answer to my question, so probably you may help me.
Thanks to everyone and happy coding!
Regarding the documentation you can change the format with:
Administration > Settings > General > Date Format
There you should see something like this where you can change the format:
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to build a calendar with javasCript that allow users to enter their shift manually and have 2 option when a date is clicked on( swap or give away)? any thought on how to do it? im I going to need an API? building the calendar will I have to build it using table or which is most efficient way?
I am a rookie coder who started less than a month so pardon if I am not too specific.
How about a php calendar? This works good http://fast-apps.co.uk/fast_cal.php#go
Also you can use Google Calendar and embed that too.
Here is an example of where I have it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a timepicker that allows the user to select a time. If they select 7:00pm how can I convert that to UTC 24H time?
If there is already an answer to this question and someone could direct me to it that would be great.
Since you tagged JavaScript and jQuery, I could guess you are using https://github.com/jonthornton/jquery-timepicker#timepicker-plugin-for-jquery? If so, try calling getTime method:
$('#my-timeicker-id').getTime(); // returns Javascript Date object
Check for your timepicker's API (e.g. https://github.com/jonthornton/jquery-timepicker#methods) for more.
--
In case you are using your own timepicker, you will have to implement it yourself. For learning purposes great, go for it! Otherwise don't reinvent the wheel and pick an existing solution.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Recently I decided to learn Javascript and have been trying to create a script that will put a border around empty elements before the form is submitted. Essentially I want the form to be live validation and notify the user before they click submit. Any help would be greatly appreciated.
There are very many plugins if you want to use jQuery as your title suggests:
http://www.jquerybyexample.net/2014/05/15-useful-jquery-validation-plugins.html
Just pick whatever you want :-)
Or if you want to use plain JS, just search "javascript form validation" on google, you'll find thousands of entries, e.g.
http://www.learn-javascript-tutorial.com/javascript-form-validation.cfm and http://www.tizag.com/javascriptT/javascriptform.php
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am in need of using a mini calendar for picking up dates. I cannot find a suitable plugin for twitter bootstrap but what i have found is a plugin for selecting dates (http://www.eyecon.ro/bootstrap-datepicker/) which involves firing up a calender when the calender button is clicked. I want to know whether is there any way possible that we do not need to click a button; rather the calendar is displayed permanently and we can then select a date and use its info. There must be!
Would really appreciate any help.
Sure, you can use .datepicker('show') to display datepicker without clicks. Also there are events('hide') you can track to prevent its hiding. All needed info you can find on the page you provided(http://www.eyecon.ro/bootstrap-datepicker/). Hope it helps!