NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on January 17, 2021, 09:18:17 AM

Title: Placeholder problem
Post by: osquiabro on January 17, 2021, 09:18:17 AM
in version 12.05 the placeholder don't, my field Type is Date and placeholder is 'mm/dd/yyyy' but version 12.05 generate:

<input type="text" name="Mem__FechaNacimiento_DATE" id="Mem__FechaNacimiento_DATE" value="  /  /" class="nt-lookup-entry nt-entry ui-corner-all nt-entry-required hasDatepicker" data-nextfocus="Mem__CorreoElectronico" style="width: 16em;" placeholder="mm/dd/yyyy" data-do="imm" data-formproc="updateperfil">

in version 11.43

<input type="text" name="Mem__FechaNacimiento_DATE" id="Mem__FechaNacimiento_DATE" class="nt-lookup-entry nt-entry ui-corner-all nt-entry-required hasDatepicker" data-nextfocus="Mem__CorreoElectronico" style="width: 16em;" placeholder="mm/dd/yyyy" data-do="imm" data-formproc="updateperfil">

i think that the value is a problem.
Title: Re: Placeholder problem
Post by: Bruce on January 17, 2021, 10:33:58 PM
In your WebServer procedure, General tab,
set your date picture to include the B
as in
@D01B
not just
@D01

Cheers
Bruce
Title: Re: Placeholder problem
Post by: osquiabro on January 18, 2021, 04:19:29 AM
don't work i try like as you said
Title: Re: Placeholder problem
Post by: osquiabro on January 18, 2021, 06:22:49 AM
work in a field
Title: Re: Placeholder problem
Post by: Bruce on January 18, 2021, 10:02:24 PM
the local picture will override the global picture. If you want the local field to use the global picture then set it to '' or p_web.site.datepicture

Cheers
Bruce