CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 password - re_password validation

Print topic Send  topic

Author Message
Amanda
Posted: 03/02/2003, 12:01 AM

Hello,
I am trying to make a validation rule where the password and re-enter your
password have to match.

any solution
Thanks

Richi Novello
Posted: 03/03/2003, 4:46 PM

if you use PHP...
create a record form for users table;
create a $fldpassword field linked to users.password and set field
properties to
required and password if you want to **** it.
create a $fldconfirm field not linked to users and set field properties to
required and password if you want to **** it.
Set its default property to =$fldpassword;


On the Validation event write a similar code
if ($fldconfirm != $fldpassword) {
$s<formName>Err.="Confirmed password and password are different.<br>";
}

Take a look at the generated code (Custom Action/Obtain generated code) or
at the generated .php file to understand more.

Hope to be of use

Richi Novello

"Amanda" <kaaoude@hotmail.com> ha scritto nel messaggio
news:b3sdpd$qf1$1@news.codecharge.com...
> Hello,
> I am trying to make a validation rule where the password and re-enter your
> password have to match.
>
> any solution
> Thanks
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.