This topic is locked

mulit language on change password validation message

6/7/2011 11:21:44 PM
PHPRunner General questions
A
aclhkaclhk author

Before Change password Event in change password page, I add newpassword validation script
if (!is_numeric($newpassword))

{

echo "password must be numeric"; // error message

return false;

}
how can I add multilanguage on error message?
I try to use database method , but I get failure. This event seems not to support db.

here is the part of code.

select * from error_message where id = 'password_error' and lang='".$_SESSION['language']."'

echo $data['message_display'];
Also Nothing response when I use GetCustomLabel()

Sergey Kornilov admin 6/7/2011

Hard to tell what might be wrong without seeing the complete application.
If you need help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

A
aclhkaclhk author 6/8/2011



Hard to tell what might be wrong without seeing the complete application.
If you need help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.


You may ignore our trial method. Please kindly advise how to add multilanguage on change password event.

Sergey Kornilov admin 6/8/2011

It should work the way you doing this. If you haven't done so check this blog post: http://xlinesoft.com/blog/2011/05/05/localizing-phprunnerasprunnerpro-applications. It can provide a few additional ideas for you.
If you need help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.