Skip to main content

Date Pickers?

  • 18 August 2023
  • 2 replies
  • 82 views

Can I ask how the community handles Date Pickers? The GenerateDate action function doesn’t work for me because the field expects the user to select day, month and year from the date picker dialogue box. 

Date Pickers are commonplace so I can’t be the first to face this challenge, but I can’t find an answer anywhere?

Thank you for any help you can offer. 

John

 

2 replies

Userlevel 5
Badge +3

Ummm...could you give some more information on what exactly you want to do ? I’ve read and reread your post several times and I don’t get what type of the information are you looking for,

Userlevel 5
Badge +3

It really depends how the team have coded it. Some allow for straight typing into a textbox then validation once that loses focus, some require every number to be scrolled through… each date picker component is written different & you’ll likely have to come up with custom code to interact with the one your app is using. It’s unlikely you’ll get code to copy-paste here & you’ll need to investigate whether your GUI allows text entry, clicks, scrolls of the finger, voice commands or a mixture.

 

Some of the work you might be able to offload to lower-than-GUI levels as well. I.e. if there are any API calls allowing you to pass in several arguments, one being a date, or pre-populating of a database with entries including the date?

Reply