close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Clear All Fields When Index Page Loads

Thread began 2/08/2016 9:05 pm by salaroche | Last modified 2/09/2016 1:00 pm by Ray Borduin | 252 views | 3 replies |

salaroche

Clear All Fields When Index Page Loads

Hi:

I'm getting some data in the username and password fields whenever I open the Index (login) page of a new Website. How do I have DW clear those fields when the Index page loads?

Thank you for your attention.

Sign in to reply to this post

Ray BorduinWebAssist

What are the values of the form elements set to?

It may be the browser that has stored the values and not your pages. I'd need to know how the values are stored before I could tell you how to clear them.

If the browser itself is storing them, a solution might be to clear them with javascript at the bottom of the page... something like:

<script>
document.getElementById('fieldID').value = "";
</script>

Sign in to reply to this post

salaroche

Ray:

The page in question is the Login page, where values in the username and password are supposed to be empty, no? The curious thing is that a) in the program copy installed in the Ohio server the Login fields appear empty when the page loads, b) in the copy that opens in the local machine (XAMPP) only the password field shows dots and, c) in the company server where the program will be finally installed, both the user name and the password fields show some data.

Just in case, attached please find a copy of the page in question.

Attached Files
Index.php
Sign in to reply to this post

Ray BorduinWebAssist

It sounds like it is probably the browser that saved the information. When you submitted the page at some point the browser asked if you wanted the data to be saved and you clicked yes. I don't think there is a reliable way to remove that option or subsequent behavior cross browser reliably other than to use a javascript like I've referenced above.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...