NetTalk Central

Author Topic: Open calendar on click instead of press button  (Read 3161 times)

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Open calendar on click instead of press button
« on: February 19, 2019, 06:58:47 AM »
Hallo!

I would like to open the calendar (in a data field) when I click on the field instead of press button.
How can I do that?

Thank you!
Robert

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: Open calendar on click instead of press button
« Reply #1 on: February 19, 2019, 11:06:04 PM »
  p_web.SetOption(loc:options,'showOn','focus')

before the call to

 packet.append(p_web.CreateDateInput ('MAI:StartDate',p_web....

cheers
Bruce

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: Open calendar on click instead of press button
« Reply #2 on: February 19, 2019, 11:29:12 PM »
cool!
I put this code in web handler because I wanted for all calendars :-) and it works perfect.

Thank you!
Robert