I
I
Ilham Ahmedov2020-12-15 21:21:53
1C-Bitrix
Ilham Ahmedov, 2020-12-15 21:21:53

Bitrix web form results filter not working? How to be?

Hello, I can't figure out what is wrong.
I'm new to Bitrix and PHP in general, don't kick me hard)

There is such a custom web form.
5fd8fb1f68658545113393.jpeg

Only the position selection works from the filter, but age and seniority do not work. The Bitrix documentation has a GetNumberFilter filter ( https://dev.1c-bitrix.ru/api_help/form/classes/cfo... ).

This filter syntax is: FSID_QSID_PTYPE_integer

Syntax and examples from documentation


FSID - символьный идентификатор веб-формы;
QSID - символьный идентификатор вопроса/поля веб-формы;
PTYPE - тип параметра по которому будет фильтрация, возможны следующие значения:
ANSWER_TEXT - параметр ANSWER_TEXT вопроса веб-формы;
ANSWER_VALUE - параметр ANSWER_VALUE вопроса веб-формы;
USER - для вопроса веб-формы - вводимое с клавиатуры значение, для полей веб-формы - значение этого поля веб-формы.

Примеры:

ANKETA_USER_NAME_USER_text;
ANKETA_TEST_FIELD_USER_text.


In my code it looks like this:
<?=CForm::GetNumberFilter(" send_resume_age_USER_integer ");?>

Web form
5fd8fdfe51e69575926491.png
character code: Question character code:
5fd8fe5d72037576510311.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilham Ahmedov, 2020-12-20
@Ilham_ahmedow

The question turned out to be stupid ... I did everything myself in a couple of days, and then I found it purely by chance.
In general, in the question itself, in the filter tab, you just need to put on the filter you want.
I'm already sleeping ... Too lazy to explain, do not blame me. In general, if anyone needs to write in a personal VK , I rarely answer here.
https://vk.com/ilham_02
+ I don’t understand how it can be taken out of the info block, if someone tells me, I will be grateful

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question