Highlighted

Missing Validation Password in the Forms Panel

New Here ,
Jun 20, 2020

Copy link to clipboard

Copied

Hello. 

Where can I find the validation password in the Forms panel?

I am using Dreamweaver 20.2 version.

Please advise how to enable or create this functionality.

I am using this to validate the submitted password.

Thank you.

Views

116

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Missing Validation Password in the Forms Panel

New Here ,
Jun 20, 2020

Copy link to clipboard

Copied

Hello. 

Where can I find the validation password in the Forms panel?

I am using Dreamweaver 20.2 version.

Please advise how to enable or create this functionality.

I am using this to validate the submitted password.

Thank you.

Views

117

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 20, 2020 0
Adobe Community Professional ,
Jun 20, 2020

Copy link to clipboard

Copied

Not sure where you get the impression that there is a password validation module in Dreamweaver 20.2. I am asking this because there is no such functionality in Dreamweaver unless you choose to purchase an extension from either Webassist or from DMXzone.

 

Alternatively, you could choose another IDE that does include the functionality


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 20, 2020 0
LEGEND ,
Jun 21, 2020

Copy link to clipboard

Copied

No form validation exists as default in Dreamweaver, you have to write some code to validate form fields unless you are just relying on the html5 form validation attributes, which are there purely for eye candy and not worth the space they written in.......you should always validate input fields using server-side validation not client side validation.

 

Tell us what you are doing and someone might be able to offer more advice, other than that you can deploy a 3rd party extension or use a different web-editor, as has already been suggested.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 21, 2020 0
Adobe Community Professional ,
Jun 21, 2020

Copy link to clipboard

Copied

If what you desire is a pattern for checking the input, this will do what you want.  But this does not look up the database to ensure your password exists.  That's a separate function.

 

Source = W3Resource

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Check Password Input</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<style>
li {
list-style-type: none;
font-size: 16pt
}
.mail {
margin: 0 auto;
padding-top: 10px;
padding-bottom: 10px;
width: 400px;
background: #d8f1f8;
border: 1px soild silver
}
.mail h2 { margin-left: 2rem}

input { font-size: 1.5rem}

input:focus, textarea:focus { background-color: #ffffe0 }

input submit { font-size: 1rem}
</style>
</head>

<body onload="document.form1.text1.focus()">
<div class="mail">
<h2>Input Password and Submit [6 to 20 characters which contain at least one numeric digit, one uppercase and one lowercase letter]</h2>
<form name="form1" action="#">
<ul>
<li>
<input type="text" name="text1" required>
</li>
<li>&nbsp;</li>
<li class="submit">
<input type="submit" name="submit" value="Submit" onclick="CheckPassword(document.form1.text1)" />
</li>
<li>&nbsp;</li>
</ul>
</form>
</div>
<script>
function CheckPassword(inputtxt) 
{ 
var passw = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,20}$/;
if(inputtxt.value.match(passw)) 
{ 
alert('Correct, try another...')
return true;
}
else
{ 
alert('Wrong...!')
return false;
}
} 
</script>
</body>
</html>

 

 

 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 21, 2020 1