I am facing a problem in assigning value to radio button in cakephp 3.7. Any help will be highly appreciated. Its urgent, please help me as soon as possible. please add your answer to below<?php echo $this->Form->radio('entry_level',[' '], array('label'=>'', 'id'=>'radio-1' ,'class'=>'option-input radio','type'=>'radio','value'=>'1','hiddenField'=>false)); ?>
value still taking 0 but it should be 1.
Please help, your reply will be highly appreciated.