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.");
}
}
|
|
|
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
|
|
|
|