K
K
Kuzma Shpagin2016-07-21 10:22:55
1C-Bitrix
Kuzma Shpagin, 2016-07-21 10:22:55

Bitrix add field?

I need to add one field to edit form. I added a field in the infoblock properties, 4d126fd6402744d2afeaa99a55e69e21.PNGhow can I include it in the form now 8555dea6c26648728e4167345d6c7016.PNG? He's not in shape. There is a rbrm.realty module with integrated dadata.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kuzma Shpagin, 2016-07-21
@demon72

In short, I found the code in the form file

foreach( $aTabs[0]['PROPS'] as $key => $val ) {
  if ( is_numeric( $val['ID'] ) && !in_array( $val['ID'], $SECTION['UF_PROPERTIES'] ) ) {
    unset( $aTabs[0]['PROPS'][$key] );
  }
}

had to manually exclude id fields
foreach( $aTabs[0]['PROPS'] as $key => $val ) {
  if ( is_numeric( $val['ID'] ) && !in_array( $val['ID'], $SECTION['UF_PROPERTIES'] ) <b>&& $val['ID']!=711</b>) {
    unset( $aTabs[0]['PROPS'][$key] );
  }
}

And everything worked out.

A
Alexey Emelyanov, 2016-07-21
@babarun

What is the form? Is she in public or in the admin panel?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question