Form input does not post data

[SOLVED]

Problem: There is another radio tag group (hardcoded) which has 2 options and they have same id=“gender”. That is weird that some how web browser act crazy, send some data before that, then skip some data, then skip error tag, then send some other data.

Solution: remove id attribute of those radio options

Dear all,

In one of my view, I have form that post many data which belong to many Tables.

And there are some hardcoded tag input does not post data (I cant see the field in $this->request->getData()).

I have tried to use FormHelper and generate almost the same HTML tag, and the generated input still DOES NOT got posted

There are some other part of Form DOES got posted:

<div class="col-12">
       <div class="form-group">
              <?= $this->Form->control('kids.0.nationality_id', ['options' => $nationalities, 'label' => 'Nationality', 'class' => 'form-control']) ?>
       </div>
</div>

The hardcoded input tag which is NOT POSTED:

<div class="col-sm-12 col-md-6">
   <div class="form-group">
        <label><strong class="text-danger">*</strong>Last Name</label>
        <input type="text" class="form-control"  id="kids-0-last-name" name="kids[0][last_name]" value="">
   </div>
</div>

And the FormHelper code which is ALSO NOT POSTED:

<div class="col-sm-12 col-md-6">
   <div class="form-group">
        <?= $this->Form->control('kids.0.last_name', ['class' => 'form-control', 'label' => 'Last Name', 'required']) ?>
    </div>
</div>

And finally the generated HTML tag:

<div class="col-sm-12 col-md-6">
      <div class="form-group">
             <div class="input text">
                   <label for="kids-0-last-name">Last Name</label>
                   <input type="text" name="kids[0][last_name]" class="form-control" required="required" id="kids-0-last-name">
             </div>
      </div>
</div>

Can someone please point out what did I do wrong ? Thank you very much.

Are these inputs by any chance outside of the <form> / </form> block?

yes, i did put $this->Form->create() and end() outside those code , that what I checked at begining, but still no luck

thank you Zuluru for your response, i found my problem, and updated on top of the post already.
Really appriciate your intention to help.