CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Help/Consulting -> Help - Jobs Available

 very small job

Print topic Send  topic

Author Message
nyblk

Posts: 12
Posted: 08/02/2015, 11:09 AM

OK well after almost 2 weeks of trying to figure this out with no real direction I've decided to see if I can pay someone

let me break it down

I have a record called reset for resetting passwords I have my code on the record on validate

the code is in section at the end of sending the email etc I have the redirect or password sent text

and it posts using the error system.. how ever even though it works the success message is the same color as the error message obvious reasons of course.

I added a label called success

I tried posting to the label like this

$reset->success->echo ("Instructions to reset your password have been emailed to you.");
$reset->success->print ("Instructions to reset your password have been emailed to you.");
$reset->$component->message ("Instructions to reset your password have been emailed to you.");

and got no result

I want this particular message to show on a label if its successful


//REDIRECT USER TO PASSWORD SENT CONFIRMATION PAGE

$reset->Errors->addError("Instructions to reset your password have been emailed to you.");
$reset->email->SetValue("");

} else {
$reset->Errors->addError("There is no account with that email address.");


}
}
View profile  Send private message
marcel24

Posts: 2
Posted: 11/21/2015, 7:10 AM

I think I can help with this problem as I have done something similar with my label having green, amber and red coloration depending on the error message.

If you still need help, drop a word
View profile  Send private message

Add new topic Subscribe to topic   


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.