Checkbox with number field

Hello,
how can I determine a selection of checkboxes with a number?

form-info

thanks for help.
kind regards
Edgard

Hi Edgard. Instead of checkboxes and separate number fields, can you use all number fields, with the labels (no checkboxes)? It would look like this:

I set the field label position to Left and the size of the number input to Small. If you have more catalogs to offer, you can set this up in two columns if you like. Will that work for you?

Hi Chris,

i try to solve this with the html field like this:

<div class="col-12 col-lg-6"> <div class="row"> <div class="col-12 col-lg-4"> <img class="form-katalog-img" src="https://katalog.kerbl.com/de/agrarbedarf-2023/files/assets/cover300.jpg" alt="Agrarbedarf"> </div> <div class="col-12 col-lg-8 text-left"> <div class="gchoice gchoice_2_19_1"> <input class="gfield-choice-input" name="katalog_01" type="checkbox" value id="katalog_01"> <label for="katalog_01" id="katalog_01" class="gform-field-label gform-field-label--type-inline">Agrarbedarf - Hauptkatalog für Tierzucht und Agrarbedarf</label> </div> <div class="ginput_container ginput_container_number"> <label class="gfield_label gform-field-label" for="anzahl-01">Anzahl der Kataloge</label> <input name="anzahl-01" id="anzahl-01" type="number" step="any" value class="medium" aria-invalid="false"> </div> </div> </div> </div>

but when i send the form the field don’t transmitted.
What ist wrong?

thanks for your help
Edgard

The HTML field is for display only. None of that will be captured in the entry. None of the inputs you added into the HTML field will be captured in the entry.

You will need another method than the HTML field to accomplish this. Thank you.

Thx, i try it
greetings

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.