Answer the question
In order to leave comments, you need to log in
How to put an image instead of text on a radio element in ZF2?
Subject in the title.
code:
Field options:
array(
'spec' => array(
'type' => 'radio',
'name' => 'fcaptcha',
'options' => array(
'label' => 'Капча',
'label_attributes' => array(
'class' => 'control-label',
),
),
'attributes' => array(
'required' => 'required',
),
),
),
$temp[0] = 'Сюда нужно поставить картинку, а не текст';
$temp[1] = 'Сюда нужно поставить картинку, а не текст';
$form->get('fcaptcha')->setValueOptions($temp);
Answer the question
In order to leave comments, you need to log in
Well, what prevents you from writing html there? Or is it shielded?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question