K
K
krispey1022021-06-21 12:32:05
1C-Bitrix
krispey102, 2021-06-21 12:32:05

Bitrix web form returns a BAD error when added?

A BAD error is returned when submitting the web form.
I tried to manually add the result of the web form in the admin panel, it also returns BAD
How to fix this?
Send code:

// создадим новый результат
if ($RESULT_ID = CFormResult::Add($FORM_ID, $arValues))
{
    echo "Результат #".$RESULT_ID." успешно создан";
}
else
{
    global $strError;
    echo $strError;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-06-21
@idruweb

Maybe the statuses are not configured or the required fields are not filled in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question