Title: Bug Report: Forms not working correctly
Last modified: March 11, 2024

---

# Bug Report: Forms not working correctly

 *  Resolved [vispr](https://wordpress.org/support/users/vispr/)
 * (@vispr)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-report-forms-not-working-correctly/)
 * Hello,
 * I am using UM for a long time now and the forms are just a total mess! They suddenly
   stop working from one day to the next on a regular basis. The records cannot 
   be altered, edited or saved for no apparent reasons, The image cannot be uploaded
   and so on.
 * Right now, I have Code Fields that are set to accept any values because the field
   insisted on alphanumeric values when it was set to “alphanumeric values” and 
   actually received “Alphanumeric Values.” Even now, after setting it to accept
   any value, it still insists on “Alphanumeric” and will not accept a new code 
   during registration.
 * And existing users that want to change their image cannot upload a new one.
 * I am not sure why this keeps happening over and over again and it´s super annoying!
   Please help to fix your forms for once.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbug-report-forms-not-working-correctly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-report-forms-not-working-correctly/#post-17490180)
 * [@vispr](https://wordpress.org/support/users/vispr/)
 * Before UM 2.8.3 no validation at all for alphanumeric fields.
 * [https://github.com/ultimatemember/ultimatemember/issues/1458](https://github.com/ultimatemember/ultimatemember/issues/1458)
 * Current code for alphanumeric fields can be improved.
 * You can try to replace current code
    `'/^[\p{L}0-9\s]+$/u'`
 * with
    `'/^[\p{L}\p{N}_-]+$/u'`
 * in …/plugins/ultimate-member/includes/core/um-actions-form.php line 992
 * `if ( ! preg_match( '/^[\p{L}\p{N}_-]+$/u', str_replace( ' ', '', $submitted_data[
   $key ] ) ) ) {`
 *  Thread Starter [vispr](https://wordpress.org/support/users/vispr/)
 * (@vispr)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-report-forms-not-working-correctly/#post-17490299)
 * Thanks, but I am not going to touch the code. This will be removed with the next
   update anyway.
 * The thing here is, that I am using the latest version of UM AND the field is 
   set to NO validation, so it should accept anything someone inserts! But it does
   not.
 * Anyone any idea why this happens? As well as why the image change upload does
   not work for existing users?
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-report-forms-not-working-correctly/#post-17490344)
 * [@vispr](https://wordpress.org/support/users/vispr/)
 * If you update the code and can verify it’s working, I will make a bug report 
   with reference to this thread.
 *  Thread Starter [vispr](https://wordpress.org/support/users/vispr/)
 * (@vispr)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-report-forms-not-working-correctly/#post-17490362)
 * Hello, sorry, but I am no coder, I am not touching this. I will wait for an update,
   as this seems to be a common issue right now that will not work for anyone else
   as well.
 * Also it looks like your new string is missing 0-9!?
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-report-forms-not-working-correctly/#post-17490518)
 * [@vispr](https://wordpress.org/support/users/vispr/)
 * No, it’s including digits and also `_-`
 * > \p{L} matches a single code point in the category “letter”.
   >  \p{N} matches 
   > any kind of numeric character.
 * Reference [https://www.regular-expressions.info/unicode.html#prop](https://www.regular-expressions.info/unicode.html#prop)
 *  Plugin Support [andrewshu](https://wordpress.org/support/users/andrewshu/)
 * (@andrewshu)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-report-forms-not-working-correctly/#post-17507966)
 * Hi [@vispr](https://wordpress.org/support/users/vispr/)
 * This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread if any other questions come up and we’d
   be happy to help. 🙂
 * Regards

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

The topic ‘Bug Report: Forms not working correctly’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

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

 * 6 replies
 * 3 participants
 * Last reply from: [andrewshu](https://wordpress.org/support/users/andrewshu/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/bug-report-forms-not-working-correctly/#post-17507966)
 * Status: resolved