Jump to content

input box for time


home123

Recommended Posts

HiI wanted to know how can i make an input box so the user puts in the time in the time format without making any possible mistakes. I want to do something like when you need to put the time into windows.also to put in a date how can i make it possible to view a callender?Thank you

Link to comment
Share on other sites

You will want to check the data after the form is submitted, and if it is not in the right format then show the form again and ask them to fix it.As for the calendar, you can use javascript to open a popup window that displays the calendar, and you can have the links in the calendar run javascript that will manipulate the window.opener (the page that opened the calendar) to pass information to it, probably through the querystring, or directly using the window.opener DOM.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...