# Adding Categorys to Forms

**URL:** <https://community.gravityforms.com/t/adding-categorys-to-forms/11362>\
**Category:** Get Help\
**Tags:** custom\
**Created:** [December 7, 2021, 1:46pm UTC](https://community.gravityforms.com/t/adding-categorys-to-forms/11362 "2021-12-07T13:46:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user61081fbf499ca430](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user61081fbf499ca430/32/3357_2.png) [@user61081fbf499ca430](https://community.gravityforms.com/u/user61081fbf499ca430)\
**Post date:** [December 7, 2021, 1:46pm UTC](https://community.gravityforms.com/t/adding-categorys-to-forms/11362/1 "2021-12-07T13:46:01Z")

</div>

Hi all, apologies if asked and answered before.

I’m trying to create a wholesale order form using Gravity forms for our website and as we have various suppliers, want to create categories so that each company’s products are in a separate ‘block’ so it’s easy to use and looks nice. Maybe add a small thumbnail of the products too? Tried the HTML block but only getting a large image and can’t find a way to reduce unless I re-size everything in PS.

Just wondering if there’s a way to add a category title please?

eg

Billy Whizz Beans  
6 x 400g Billy Whizz Beans  
12 x 400g Billy whizz Beans

Our Betty’s  
132 x Bettys Best Biscuits

I understand how to use the custom block but its the Our Betty’s I want to put in

Many many thanks in advance from an old fart.

Kindest regards

Jools

---

<div class="post-metadata">

**Author:** ![user5c0166073a6c48.6](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user5c0166073a6c48.6/32/17391_2.png) [@user5c0166073a6c48.6](https://community.gravityforms.com/u/user5c0166073a6c48.6)\
**Post date:** [December 8, 2021, 4:48am UTC](https://community.gravityforms.com/t/adding-categorys-to-forms/11362/2 "2021-12-08T04:48:32Z")

</div>

To resize your image you just need to add style=“width:300px;height100px:” inside the img tag and after the URL.

To setup categories what I’d recommend is just add the category text before the img tag in the same field. Then add another field and add conditional logic to it to only show if they selected that category.

Sometimes adding HTML inside a field that isn’t an HTML field requires you to click the show values button and the change the HTML value to simply text or a number for your conditional logic to work.

Here is a great article on [how to add images to gravity forms](https://www.gravityforms.com/blog/how-to-add-images-to-a-form/)

---

<div class="post-metadata">

**Author:** ![user61081fbf499ca430](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user61081fbf499ca430/32/3357_2.png) [@user61081fbf499ca430](https://community.gravityforms.com/u/user61081fbf499ca430)\
**Post date:** [December 15, 2021, 12:24pm UTC](https://community.gravityforms.com/t/adding-categorys-to-forms/11362/3 "2021-12-15T12:24:57Z")

</div>

Thank you so much for your reply Derek.

I’ll def have a go although, bit of a dinosaur I’m afraid lol.

Appreciate the help

j

---

<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:** [January 14, 2022, 12:25pm UTC](https://community.gravityforms.com/t/adding-categorys-to-forms/11362/4 "2022-01-14T12:25:13Z")

</div>

Closed on January 14, 2022, 12:25pm UTC

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