# File Upload Element | How to Change Validation Message | Validation Message Not Responsive \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/file-upload-element-how-to-change-validation-message-validation-message-not-responsive-resolved/14595>\
**Category:** Get Help\
**Tags:** gform\_field\_validation, gform\_validation, front-end-validation, custom-validation-message\
**Created:** [March 1, 2023, 2:00pm UTC](https://community.gravityforms.com/t/file-upload-element-how-to-change-validation-message-validation-message-not-responsive-resolved/14595 "2023-03-01T14:00:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AeroStar](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/aerostar/32/15243_2.png) [@AeroStar](https://community.gravityforms.com/u/AeroStar)\
**Post date:** [March 1, 2023, 2:00pm UTC](https://community.gravityforms.com/t/file-upload-element-how-to-change-validation-message-validation-message-not-responsive-resolved/14595/1 "2023-03-01T14:00:01Z")

</div>

Good Day,

Concerning the File Upload element:

1. How can we change the field validation message that appears when the wrong file is uploaded? Currently, the message is too long and/or repeats part of what we already defined in our file upload conditional statement (i.e., footer). Details: [Screenshot by Lightshot](https://prnt.sc/ityJI8KFaQTq) and [Screenshot by Lightshot](https://prnt.sc/4Nx0P0iqwbqZ)

2. The validation message generated by the File Upload element is not responsive. It extends beyond the field of view on small mobile devices (e.g., iPhones). Details: [Screenshot by Lightshot](https://prnt.sc/sDHmuFOtq5kr)

A fix for the above is appreciated!

Thank you!

---

<div class="post-metadata">

**Author:** ![AeroStar](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/aerostar/32/15243_2.png) [@AeroStar](https://community.gravityforms.com/u/AeroStar)\
**Post date:** [March 24, 2023, 3:56am UTC](https://community.gravityforms.com/t/file-upload-element-how-to-change-validation-message-validation-message-not-responsive-resolved/14595/2 "2023-03-24T03:56:01Z")

</div>

**Update:**

We resolved this issue by adding the following CSS Rules to our affected Gravity Form page:

```auto
.gform_fileupload_rules {
    display: none!important;
}

.gfield_description.gfield_validation_message {
    word-wrap: break-word!important;
}

```

Cheers,

Jonathan

---

<div class="post-metadata">

**Author:** ![AeroStar](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/aerostar/32/15243_2.png) [@AeroStar](https://community.gravityforms.com/u/AeroStar)\
**Post date:** [March 24, 2023, 1:30pm UTC](https://community.gravityforms.com/t/file-upload-element-how-to-change-validation-message-validation-message-not-responsive-resolved/14595/3 "2023-03-24T13:30:49Z")

</div>

**Closing Report:**

We filed this issue as a bug via [this portal](https://www.gravityforms.com/gravity-forms-roadmap/?c=submit-idea).

Cheers,

Jonathan

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [March 24, 2023, 2:00pm UTC](https://community.gravityforms.com/t/file-upload-element-how-to-change-validation-message-validation-message-not-responsive-resolved/14595/4 "2023-03-24T14:00:19Z")

</div>

Closed on March 24, 2023, 2:00pm UTC


