NetTalk Central

Author Topic: NT 8.07 form date field error  (Read 2788 times)

Manuel

  • Newbie
  • *
  • Posts: 41
    • View Profile
NT 8.07 form date field error
« on: April 14, 2014, 06:16:53 PM »
Hi

NT 7.10 to 8.07 C8

Have a memory form with required date field .
Pick the date selector does not fill date and alert "file required"

Example 21 -update invoices procedure seems to have same problem.

TIA

Regards
Manuel

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT 8.07 form date field error
« Reply #1 on: April 16, 2014, 12:12:54 AM »
Hi Manuel,

Thanks for the example.
the example 21, in the UpdateInvoices procedure, has this line of code;
p_web.SetOption(loc:options,'dateFormat:','dd/mm/yyyy')

this is wrong. It should read
p_web.SetOption(loc:options,'dateFormat:','dd/mm/yy')

You may have similar code in your WebHandler procedure if you are setting the picture globally.

The date picker object uses yy for 2014 and just y for 14.

I have corrected the code for the next build.

Cheers
Bruce