0
<input type="checkbox" name="check_list[]" value="<?echo $row->field_id?>" <?echo $checked?> > <?php echo $row->field_display_name;?><br/>

Here $row->field_id is my field name,how can I change it to text field. I wanted to show it as a text field.

DanielBarbarian
  • 5,093
  • 12
  • 35
  • 44
abc
  • 87
  • 6
  • you can't have a text field inside a checkbox – Professor Abronsius Nov 10 '16 at 07:38
  • It is unclear, what you ask. The `value="field_id?>"` property you have in your input element is not visible, hidden. What sense is there in a hidden "text field"? I assume you want something else: a checkbox and a text field next to each other that somehow correspond? – arkascha Nov 10 '16 at 07:40
  • Actually i want a text field next to that of checkbox.. – abc Nov 10 '16 at 08:30
  • http://stackoverflow.com/questions/6293588/how-to-create-an-html-checkbox-with-a-clickable-label – Vinay Nov 10 '16 at 10:01

0 Answers0