# FormHelper Radio with specific HTML Tags

**URL:** <https://discourse.cakephp.org/t/formhelper-radio-with-specific-html-tags/6404>\
**Category:** Need Help\
**Created:** [July 22, 2019, 9:35pm UTC](https://discourse.cakephp.org/t/formhelper-radio-with-specific-html-tags/6404 "2019-07-22T21:35:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ole](https://avatars.discourse-cdn.com/v4/letter/o/fbc32d/32.png) [@ole](https://discourse.cakephp.org/u/ole)\
**Post date:** [July 22, 2019, 9:35pm UTC](https://discourse.cakephp.org/t/formhelper-radio-with-specific-html-tags/6404/1 "2019-07-22T21:35:47Z")

</div>

Hi together,

i tryed to build a radio form controll wich include this HTML structur:

```auto
    <div class="form-check form-check-radio form-check-inline">
      <label class="form-check-label">
        <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> 1
        <span class="circle">
            <span class="check"></span>
        </span>
      </label>
    </div>
    <div class="form-check form-check-radio form-check-inline">
      <label class="form-check-label">
        <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> 2
        <span class="circle">
            <span class="check"></span>
        </span>
      </label>
    </div>
   

```

I tryed combine with something like this

\<?= $this-\>Form-\>radio('gender', ['Masculine', 'Feminine', 'Neuter']); ?\>

I think it works with setTemplates [Link to cookbook](https://book.cakephp.org/3.0/en/views/helpers/form.html#customizing-the-templates-formhelper-uses)

but i didn’t get it…

Thanks for your help!

Ole
