NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Manuel on April 14, 2014, 06:16:53 PM

Title: NT 8.07 form date field error
Post by: Manuel 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
Title: Re: NT 8.07 form date field error
Post by: Bruce 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