Delete Specifics Fields "Add Input"

i was trying to code this part from “Elementform.php” , what i expected is that if the label is Subject i would be able to add an input and if is another one , equal to 0 , from that way i could just add input from subject , but it doesn’t work , how could i make this , is it possible in this code ?
$labelComponent = $this->_getLabelComponent();
** if ( $ labelComponent = ‘Subject’){**
** $inputsComponent = $this->_getInputsComponent($extraFieldCount);}**
** else{ $inputsComponent = 0 }**
** $descriptionComponent = $this->_getDescriptionComponent();**
** $commentComponent = $this->getCommentComponent();**
** $addInputComponent = $this->view->formButton('add_element
’ . $this->_element[‘id’],**
** __(‘Add Input’), array(‘class’ => ‘add-element’));**
** $components = array(**
** ‘label’ => $labelComponent,**
** ‘inputs’ => $inputsComponent,**
** ‘description’ => $descriptionComponent,**
** ‘comment’ => $commentComponent,**
** ‘add_input’ => $addInputComponent,**
** ‘html’ => null**

A post was merged into an existing topic: Omeka Classic - Modules ’ Add input ’