E
E
Evgeny Khlusov2015-06-23 16:44:55
1C-Bitrix
Evgeny Khlusov, 2015-06-23 16:44:55

Attach your bitrix form?

Hello!
Prompt, there is a made-up form on bootstrap'e in 2 columns.
Task: add ads from this form to the Bulletin Board in Bitrix.
Question: how to implement so that the data from the form is sent to the Bulletin Board?
I can't figure it out
Thanks!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Artem Soshnikov, 2015-06-24
@artem90

If I were you, I would do this:
- Create your own component and insert it on the page.
- The component template will contain your form, and the form handler will be in component.php.
It is possible that this task is also solved using web forms dev.1c-bitrix.ru/api_help/form , but I personally have not worked with them, so I cannot say 100%

E
Express777, 2015-06-26
@Express777

I already answered this question: How to create a form with sending to the mail and writing to the infoblock?
You only need the first part of the answer:
It's easy enough if you're happy with the standard functionality.
There is a simple component in Bitrix. It is called "the form of adding and editing elements".
joxi.ru/52aNjzZIRedxA0
Connect, configure, in particular, in which infoblock to add an element.
And just add your bootstrap form to the component template.
The nuance may lie in the names of the inputs. Usually they look like this <input type=text name="PROPERTY[12][0]">
12 in this case it is the ID property of the element in the infoblock. [0] required.
See how the form is made on this page:
weinig.cy35428.tmweb.ru/contacts/obratnaya-svyaz

R
Roman Morozov, 2021-11-23
@Q_BASIC

The easiest way to do this is through a regular form component. You can add ajax and your layout and any fields
https://r-morozov.ru/bitrix/kak-sdelat-formu-v-bit...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question