# Custom field to collect numbers at registration time

**URL:** <https://meta.discourse.org/t/custom-field-to-collect-numbers-at-registration-time/298788>\
**Category:** Support\
**Tags:** user-custom-fields\
**Created:** [March 10, 2024, 11:24pm UTC](https://meta.discourse.org/t/custom-field-to-collect-numbers-at-registration-time/298788 "2024-03-10T23:24:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![مباركمبارك](https://avatars.discourse-cdn.com/v4/letter/%D9%85/a87d85/32.png) [@مباركمبارك](https://meta.discourse.org/u/%D9%85%D8%A8%D8%A7%D8%B1%D9%83%D9%85%D8%A8%D8%A7%D8%B1%D9%83)\
**Post date:** [March 10, 2024, 11:24pm UTC](https://meta.discourse.org/t/custom-field-to-collect-numbers-at-registration-time/298788/1 "2024-03-10T23:24:36Z")

</div>

Is it possible to add a custom field to capture only numbers at registration time? I would like to be able to ask for the WhatsApp number of users in my community, the custom field I added accepts letters and does not follow the formatting of a phone number

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [March 11, 2024, 2:15pm UTC](https://meta.discourse.org/t/custom-field-to-collect-numbers-at-registration-time/298788/2 "2024-03-11T14:15:49Z")

</div>

Check out this plugin:

[https://github.com/discourse/discourse-authentication-validations](https://github.com/discourse/discourse-authentication-validations)
