# Checkbox with number field

**URL:** <https://community.gravityforms.com/t/checkbox-with-number-field/16028>\
**Category:** Get Help\
**Tags:** checkboxes, number-fields, conditional-logic\
**Created:** [October 13, 2023, 9:44am UTC](https://community.gravityforms.com/t/checkbox-with-number-field/16028 "2023-10-13T09:44:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![user6023fb5204a9e802](https://avatars.discourse-cdn.com/v4/letter/u/f9ae1b/32.png) [@user6023fb5204a9e802](https://community.gravityforms.com/u/user6023fb5204a9e802)\
**Post date:** [October 13, 2023, 9:44am UTC](https://community.gravityforms.com/t/checkbox-with-number-field/16028/1 "2023-10-13T09:44:27Z")

</div>

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

![form-info](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/1/1219f10529148862328b35ca3da5815af790543c.jpeg)

thanks for help.  
kind regards  
Edgard

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [October 18, 2023, 6:05pm UTC](https://community.gravityforms.com/t/checkbox-with-number-field/16028/2 "2023-10-18T18:05:26Z")

</div>

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:

> **[Screenshot on 2023-10-18 at 13-04-15.png](https://share.gravityfor.ms/i/jOC4F4)**
>
> Shared with Droplr

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?

---

<div class="post-metadata">

**Author:** ![user6023fb5204a9e802](https://avatars.discourse-cdn.com/v4/letter/u/f9ae1b/32.png) [@user6023fb5204a9e802](https://community.gravityforms.com/u/user6023fb5204a9e802)\
**Post date:** [October 23, 2023, 1:33pm UTC](https://community.gravityforms.com/t/checkbox-with-number-field/16028/3 "2023-10-23T13:33:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [October 24, 2023, 4:42am UTC](https://community.gravityforms.com/t/checkbox-with-number-field/16028/4 "2023-10-24T04:42:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![user6023fb5204a9e802](https://avatars.discourse-cdn.com/v4/letter/u/f9ae1b/32.png) [@user6023fb5204a9e802](https://community.gravityforms.com/u/user6023fb5204a9e802)\
**Post date:** [October 24, 2023, 12:43pm UTC](https://community.gravityforms.com/t/checkbox-with-number-field/16028/5 "2023-10-24T12:43:07Z")

</div>

Thx, i try it  
greetings

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [November 23, 2023, 12:43pm UTC](https://community.gravityforms.com/t/checkbox-with-number-field/16028/6 "2023-11-23T12:43:45Z")

</div>

Closed on November 23, 2023, 12:43pm UTC

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