Hidden field OLD style

Submitted by:David Villa

Date added:30 April, 2016

Category:PHP

So better not to do, because the invisible fields are not needed for the binding form of validation of input data, etc.

Tags: validation , input data

Code Snippet:

   <?= $form->field($cart, 'Goods_idGoods', ['value' => 'test'])->hiddenInput()->label(false)?>
 
 

Comments