R
R
Run Utochkin2014-04-29 12:38:24
1C-Bitrix
Run Utochkin, 2014-04-29 12:38:24

How to display error messages in Bitrix?

The documentation about the CUser::Login() function says: "...If the authorization is successful, it returns "true", otherwise, if the login and password are incorrect, it returns an array with an error for the ShowMessage function."
So I'm trying to display an error message, but it doesn't work ((
Please tell me how to call the ShowMessage() function correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Misha Vasilyev, 2014-04-29
@vasilyev

dev.1c-bitrix.ru/api_help/main/functions/other/sho...
What exactly is not clear? (Somehow it turned out roughly, I mean, I tried the example, it outputs as it should.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question