Answer the question
In order to leave comments, you need to log in
Bitrix form of adding an element swears on the field and does not send data. Why?
Hello world! There is a task to implement reviews on the site using Bitrix. The task is simple, but I'm dumb.
What I did:
1. Added an infoblock with my properties. The properties are mostly of the "string" type, but there is also the "HTML/text" type.
2. I copied the default template for adding an element and I start changing everything in it.
3. In the template parameters, I specified the fields that need to be filled.
It seems that everything is ready, but I'm starting to test the fields that are string with them, everything is buzzing.
But here is the message field, which is of type "html/text". The form constantly swears at this field, they say the type is not filled. That's why?
This is how the field code looks like in the form:
<textarea name="PROPERTY[169][0]"><?=$arResult["ELEMENT_PROPERTIES"][169][0]["VALUE"]?></textarea>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question