close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Password confirmation field

Thread began 7/25/2011 12:43 pm by iainmacdonald331081 | Last modified 8/31/2011 3:30 pm by iainmacdonald331081 | 5040 views | 10 replies

iainmacdonald331081

Thanks Ray - I didn't add anything - the Confirm field was added as part of the Security Assist wizard.

The code currently looks like:

<div class="errorGroup"> 
<span id="Registration_group_1_Confirm_Spry">
<input id="Registration_group_1_Confirm" name="Registration_group_1_Confirm" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("registration","Registration_group_1_Confirm"):"")); ?>" size="50" tabindex="13" onBlur="hideServerError('Registration_group_1_Confirm_ServerError');">
<?php
if (ValidatedField('registration','registration')) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "8" . ",") !== false || "8" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="Registration_group_1_Confirm_ServerError">Password values must match.</span>
<?php //WAFV_Conditional registration.php registration(8:)
}
}
}?>
<span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldRequiredMsg">Password values must match.</span> </span>
</div>



So that has a <span id> value of Registration_group_1_Confirm_Spry - which looks right.

Or, if I take it out, and add a new field myself:

<span id="spryconfirm2">
<label for="Confirm">Confirm</label>
<input type="text" name="Confirm" id="Confirm" />
<span class="confirmRequiredMsg">A value is required.</span><span class="confirmInvalidMsg">The values don't match.</span></span>

How do I relate that back to the Password field?

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...