# Collection Field: Email Validation

**URL:** <https://discourse.getcockpit.com/t/collection-field-email-validation/1299>\
**Category:** General\
**Created:** [March 26, 2020, 4:30pm UTC](https://discourse.getcockpit.com/t/collection-field-email-validation/1299 "2020-03-26T16:30:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![serjoscha87](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/serjoscha87/32/151_2.png) [@serjoscha87](https://discourse.getcockpit.com/u/serjoscha87)\
**Post date:** [March 29, 2020, 1:05pm UTC](https://discourse.getcockpit.com/t/collection-field-email-validation/1299/2 "2020-03-29T13:05:37Z")

</div>

Yes, this is possible.

You can pass any html-input-field parameters to the json-options within the cockpit collection config:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/1X/0acb33cdc741444e69c071ddd8586dbd8a0d5be5.png)

this will result in:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/1X/599621abf27ff07ae17fe9898b4eba91d0e67ca3.png)

(so the browser prevents saving the entry because the rule for the e-mail field is not met)

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/1X/d7db2e34bf5ea1e73af807cc0f8698aa07a8e77d.png)

here you can see that the json option has been set to the dom / the input field params

---

_[View the full topic](https://discourse.getcockpit.com/t/collection-field-email-validation/1299)._
