• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: input dates info needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: input dates info needed


  • Subject: Re: input dates info needed
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 21 Apr 2010 10:49:32 -0700


On Apr 21, 2010, at 9:57 AM, Theodore Petrosky wrote:

I need to permit my users (of my app) to input dates. I am so enthralled with how easy some things are in webobjects and I can not seem to find an easy solution to my problem.

I want the user to be able to type in 02152010 or 2-15-2010 or 2/15/2010 and the input would properly format to what I am telling the format to be.

ERChronic in Wonder should be able to infer the intended date.


ie. you type 02152010 and tab to the next field and the date is formatted to 02.15.2010.

If you want it to change on tab, then you either need an JavaScript solution, or Ajax to send that field to the server, have ERChronic translate it, then return an updated value for display.



I am hoping someone will tell me there is an easy framework that can do this and I have been barking up the wrong tree...


You could use the AjaxDatePicker and avoid having the user type anything at all.

Chuck


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >input dates info needed (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: announcement
  • Next by Date: Submit form and pop up a AjaxModalDialog confirming submission
  • Previous by thread: input dates info needed
  • Next by thread: Submit form and pop up a AjaxModalDialog confirming submission
  • Index(es):
    • Date
    • Thread