As from the controller to the access id input in the form?

There is a form to every input in this form assigned its own id.
How can I controller id to input?
<?php $form = ActiveForm::begin(); ?>

 <?= $form--->field($updateForm, 'updateEx')->textInput(array('value'=>$item['name'], 'id' => $item['id']))->label(");?>

 <a href="<?php echo Url::toRoute(['site/ex-delete', 'id' => $item['id']]) ?>">Remove</a>

 <div class="form-group">
 <?= Html::submitButton('Send', ['class' =--> 'btn btn-primary']) ?>

 <?php ActiveForm::end(); ?>
July 8th 19 at 16:28
1 answer
July 8th 19 at 16:30

Find more questions by tags PHPYii