Custom Fields
Re-Envisioned
Support MB User Profile MB User Profile -> Registration form -> validate loses other fields

  • Creator
    Topic
  • #18220
    Resolved mdiessner
    Participant

    Hi,

    I use the following short cut to display registration form:

    [mb_user_profile_register id="dsk-user-registration" email_as_username="true" submit_button="Submit" confirmation="Your account has been created successfully."]

    Then a user enters 2 different passwords, an error messages shows this, however, all other custom fields entered are “empty” so the user has to fill the whole registration form again.

    Is there not a way to do javascript validation of the WordPress password without losing the other fields, same as with the other javascript validation for e.g. required fields?

    Thanks

    Martin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #18241
    Anh Tran
    Keymaster

    Hi Martin,

    When users enter mismatch passwords, they can’t submit the form. Doesn’t that happen to you?

    #18309
    mdiessner
    Participant

    Hi Anh,

    When users enter mismatch passwords, they can’t submit the form. Doesn’t that happen to you?

    I am afraid it does not. Here is a link:

    https://mydsk.co.za/user-registration

    Please advise what is wrong?
    Thanks
    Martin

    #18320
    Anh Tran
    Keymaster

    Hi Martin,

    I open your page and see an error in the console, saying that the JS file (https://mydsk.co.za/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/assets/user-profile.js?ver=1.4.3) is not loaded. Can you check if that file is available? Maybe it’s missed when uploading/updating the plugin. Can you please try re-installing the plugin?

    #18324
    mdiessner
    Participant

    Hi Anh,

    I just downloaded the AIO package and I think you made a mistake in the file – the .JS extension is a .JS.JS

    See screen shot.
    error in JS file

    Now it seems to work.
    Thanks

    Martin

    #18336
    Anh Tran
    Keymaster

    Oh! Thanks a lot for your feedback. I’ll fix it now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.