NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on September 10, 2017, 12:51:12 PM

Title: Chrome & Default Values
Post by: rupertvz on September 10, 2017, 12:51:12 PM
Hi Guys,

What determines the value that Chrome defaults for an input field?

I have a LOC:Login field in the login NWF, which Chrome sometimes fills with a cellular number, and other times with random text.

I would like to have this field always as blank?

Title: Re: Chrome & Default Values
Post by: Bruce on September 10, 2017, 10:38:33 PM
I asked Google and the solution seems to be to add autocomplete="off" to the form or field.

cheers
Bruce
Title: Re: Chrome & Default Values
Post by: rupertvz on September 12, 2017, 01:17:55 AM
Thank you Bruce,

How do I include this the form HTML section;

<form action="/action_page.php" autocomplete="off">

To make it part of the "Form Action"?

I've tried an HTML routine "before <form>" and "after <form>", but does not seem to have an effect.


Title: Re: Chrome & Default Values
Post by: Bruce on September 12, 2017, 09:42:24 PM
I'd likely add it into loc:enctype just before the <form tag is created.
If you right-click, source on a procedure and search for <form you'll see what I mean.

That said the fields already have autocomplete="off" on them so I'm not sure if this will have any effect on the browser.

cheers
Bruce