# Need help customizing one field label 

**URL:** <https://community.gravityforms.com/t/need-help-customizing-one-field-label/20463>\
**Category:** Get Help\
**Tags:** field-label, gform\_product\_price\
**Created:** [October 16, 2026, 7:48am UTC](https://community.gravityforms.com/t/need-help-customizing-one-field-label/20463 "2026-10-16T07:48:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user65580f01a0a0b405](https://avatars.discourse-cdn.com/v4/letter/u/e9bcb4/32.png) [@user65580f01a0a0b405](https://community.gravityforms.com/u/user65580f01a0a0b405)\
**Post date:** [October 16, 2026, 7:48am UTC](https://community.gravityforms.com/t/need-help-customizing-one-field-label/20463/1 "2026-10-16T07:48:06Z")

</div>

Hi,

I used the PHP code below to change all field labels from “price” to “tuition”. Now I have a new form where I need this field label to be “price” – without affecting the other forms. How do I do that? Thanks in advance!

```auto
add_filter( 'gform_product_price', function ( $sublabel, $form_id ) {

    GFCommon::log_debug( __METHOD__. '(): Running...' );

    return 'Tuition';

}, 10, 2 );

```

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/david/32/2517_2.png) [@david](https://community.gravityforms.com/u/david)\
**Post date:** [October 16, 2026, 10:49am UTC](https://community.gravityforms.com/t/need-help-customizing-one-field-label/20463/2 "2026-10-16T10:49:44Z")

</div>

You can use the `$form_id` parameter available in this filter to exclude your new form from the label change.

Just replace your existing snippet with this:

```auto
add_filter( 'gform_product_price', function( $sublabel, $form_id ) {
    // Keep the default "Price" label for form 123.
    if ( $form_id === 123 ) {
        return $sublabel;
    }

    return 'Tuition';
}, 10, 2 );

```

Replace `123` with the ID of your new form.

This will continue changing “Price” to “Tuition” on all your other forms while leaving the default “Price” label intact on your new form.

If you need to exclude additional forms later, you can easily expand this to support multiple form IDs.

---

<div class="post-metadata">

**Author:** ![user65580f01a0a0b405](https://avatars.discourse-cdn.com/v4/letter/u/e9bcb4/32.png) [@user65580f01a0a0b405](https://community.gravityforms.com/u/user65580f01a0a0b405)\
**Post date:** [October 16, 2026, 4:54pm UTC](https://community.gravityforms.com/t/need-help-customizing-one-field-label/20463/3 "2026-10-16T16:54:59Z")

</div>

Thank you!!!

---

<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:** [October 17, 2026, 4:56pm UTC](https://community.gravityforms.com/t/need-help-customizing-one-field-label/20463/4 "2026-10-17T16:56:00Z")

</div>

Closed on October 17, 2026, 4:56pm UTC

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