Title: Username cannot be empty
Last modified: May 11, 2020

---

# Username cannot be empty

 *  Resolved [mjeason12](https://wordpress.org/support/users/mjeason12/)
 * (@mjeason12)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/username-cannot-be-empty/)
 * Hi there,
 * Working on building a registration form and although I’ve entered a valid username
   it seems that it is not recognizing it and I keep getting the error “Username
   cannot be empty”. For whatever reason it works when I’m logged in under my administrator
   account, if that helps at all.
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fusername-cannot-be-empty%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Thread Starter [mjeason12](https://wordpress.org/support/users/mjeason12/)
 * (@mjeason12)
 * [6 years ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-12822989)
 * I was able to come to a resolution.
 * I was using “Name” field both username and first/last name. I replaced the “Name”
   field for Username with Text Input and it seems to work fine now.
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [6 years ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-12823902)
 * Hello [@mjeason12](https://wordpress.org/support/users/mjeason12/)
 * I hope all is well!
 * Thank you for letting us know that you’ve solved the issue! Glad to know that
   all is well!
 * Cheers,
    Nastia
 *  [imanjauh](https://wordpress.org/support/users/imanjauh/)
 * (@imanjauh)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13000233)
 * Hello [@wpmudev-support9](https://wordpress.org/support/users/wpmudev-support9/)
   and [@mjeason12](https://wordpress.org/support/users/mjeason12/) I have the problem
   too. Can you tell me how to fix it? I can not understand your resolution.
    Thanks
 *  Thread Starter [mjeason12](https://wordpress.org/support/users/mjeason12/)
 * (@mjeason12)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13000261)
 * I don’t remember entirely what the problem looked like. If you provide a link
   to the page or picture of your form editor I might be able to help.
 *  [imanjauh](https://wordpress.org/support/users/imanjauh/)
 * (@imanjauh)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13000336)
 * Thanks for the reply [@mjeason12](https://wordpress.org/support/users/mjeason12/)
   jeason12
    here it is my link: [https://perpustakaan.stikesholistic.ac.id/daftar-anggota-perpustakaan/](https://perpustakaan.stikesholistic.ac.id/daftar-anggota-perpustakaan/)
 *  Thread Starter [mjeason12](https://wordpress.org/support/users/mjeason12/)
 * (@mjeason12)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13000353)
 * Can you provide a picture of your form editor? I remember that I wasn’t able 
   to tell the problem from the front-end
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13001051)
 * Hello [@imanjauh](https://wordpress.org/support/users/imanjauh/)
 * I trust you’re doing well!
 * Per WordPress.org forums regulations please open a new thread regarding the issue
   that you have
 * Please export your form, from Forminator > Forms > click on settings icon > Export
   and share it with us, in a new thread so we could investigate it further.
 * Please see this screenshot:
    [https://monosnap.com/file/jD52mrLUZbvf5NulIjYjM9SsitzQh7](https://monosnap.com/file/jD52mrLUZbvf5NulIjYjM9SsitzQh7)
 * Upload the export file to Google Drive or to a DropBox, or you can use a Pastebin.
   com and share a download link with us.
 * Kind regards,
    Nastia
 *  [constantleads](https://wordpress.org/support/users/constantleads/)
 * (@constantleads)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13005480)
 * Hi, Working on a registration form, I keep getting the error “Username cannot
   be empty”. when I log into the website and try completing the form. It seams 
   to work fine when I’m logged in under my administrator account. I’m having zapier
   use a (zaphook) pull the data from the from and send to google sheets (it’s scheduled
   to pull the data once the form is completed and the registration button is depressed.
   
   Please help!
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13006433)
 * Hello [@constantleads](https://wordpress.org/support/users/constantleads/)
 * I trust you’re doing well!
 * Thank you for posting in this thread, however, per [WordPress forum regulations](https://make.wordpress.org/support/handbook/forum-welcome/#post-in-the-best-place),
   please create a new thread and describe the issue you have.
 * In that new thread, please export your form, from Forminator > Forms > click 
   on settings icon > Export and share it with us so we could investigate it further,
 * Please see this screenshot:
    [https://monosnap.com/file/jD52mrLUZbvf5NulIjYjM9SsitzQh7](https://monosnap.com/file/jD52mrLUZbvf5NulIjYjM9SsitzQh7)
 * Upload the export file to Google Drive or to a DropBox, or you can use a Pastebin.
   com and share a download link with us
 * Have a good day!
 * Kind regards,
    Nastia
 *  [maartymaart](https://wordpress.org/support/users/maartymaart/)
 * (@maartymaart)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13260258)
 * Hi, I have this same issue with a new form. First time using the plugin and i’m
   lost.
 * The error is: The username can not be empty.
 * I used a registration form template. I have no need to have a username field,
   just a name field so I know who the person is. I type my name and other info 
   to test, but the error keeps coming up. I replaced the Name field with another
   name field and the same thing happens. I am not sure how to implement the solution
   above or if it pertains to my exact situation. I am using the single option as
   don’t need a surname etc.
 * Could anyone shed some light please. Page link is [http://staging8.mattanderson.co.nz/training/](http://staging8.mattanderson.co.nz/training/)
 * BTW, I’m posting in this thread as I am not able to post a new topic at the moment.
 * Thanks,
    Maarten
    -  This reply was modified 5 years, 9 months ago by [maartymaart](https://wordpress.org/support/users/maartymaart/).
 *  Thread Starter [mjeason12](https://wordpress.org/support/users/mjeason12/)
 * (@mjeason12)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13261759)
 * Hi Maarten,
 * As far as I’m aware the registration form is really only if you want the user
   to be creating a “login-able” account on your website and is probably why you’re
   getting the error on the registration form. For your purposes, you could probably
   just use a contact form and customize the rest to fit your current needs; you
   could also add stripe or paypal field to the form if you’re wanting to include
   purchasing on contact.
 * This is my guess at least.
 *  [maartymaart](https://wordpress.org/support/users/maartymaart/)
 * (@maartymaart)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13262367)
 * Thanks [@mjeason12](https://wordpress.org/support/users/mjeason12/) I struggled
   with it for a while and ended up coming to the same conclusion. It is a bit strange
   to me that there are hidden fields(so to speak) that users can’t see. I did loo
   in the code from the export in the end, was a clue you gave me after reading 
   your fix a few times, and there was username stuff in there relating to fields
   as well as email notifications. I would have thought that when building a form
   you should be able to see all the info, even if it is a template.
 * Thanks so much for your response, and confirming my suspicions.
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13269601)
 * Hi [@maartymaart](https://wordpress.org/support/users/maartymaart/)
 * I hope you’re well today!
 * The error happens not because of hidden fields but because it’s a standard user-
   account registration form and and it hooks to standard/core WP registration process
   which requires username to be submitted. A user account cannot be created/registered
   without username.
 * The “hidden stuff” in export is related to error messages, e-mail notifications
   and validation but even if it wasn’t there, WordPress wouldn’t let you successfully
   register account that way unless registration process is customized.
 * If it is and you want/need to check if Forminator form can be made to work with
   it, please create a separate topic on this support forum about it and we’ll look
   into it.
 * Best regards,
    Adam

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Username cannot be empty’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [empty](https://wordpress.org/support/topic-tag/empty/)

 * 13 replies
 * 6 participants
 * Last reply from: [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/username-cannot-be-empty/#post-13269601)
 * Status: resolved