*

Lucky

  • ***
  • 66 posts
Problem when saving updated user in back-office
« on: August 07, 2025, 09:17:50 PM »
Hi,

When trying to save an updated user in the front-office I always get an "Enter a valid value"-notification on the 'Registration date'-field.

I always need to change the date before it saves the updated user.

Any solution for this?

Thanks.

*

MB Themes

Re: Problem when saving updated user in back-office
« Reply #1 on: August 08, 2025, 09:23:31 AM »
Updated user in front office has any datetime field?
I think you need to provide datetime in international format (update your php locale?)
yyyy-mm-dd H:i:s

Your has even comma in it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Lucky

  • ***
  • 66 posts
Re: Problem when saving updated user in back-office
« Reply #2 on: August 08, 2025, 12:30:43 PM »
Hi,

this is how the field is automatically populated when editing a user.

Also, when editing the field with the calendar function the field is still populated in the same format (with the comma) and the update succeeds.

But of course it should not be necessary to change the user's original Registration date.

My date format is set as dd/mm/yyyy hh:mm (see screenshot) as it's used in Europe.

*

MB Themes

Re: Problem when saving updated user in back-office
« Reply #3 on: August 10, 2025, 02:40:10 PM »
But you still did not say what field is that.
Osclass format probably does not apply to html5 validation that is pretty strict
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Lucky

  • ***
  • 66 posts
Re: Problem when saving updated user in back-office
« Reply #4 on: August 10, 2025, 09:02:24 PM »
But you still did not say what field is that.
Osclass format probably does not apply to html5 validation that is pretty strict

1. The field is the User’s Registration Date field.

2. About the html5 validation: when I set another date - time the user is saved correctly even if it’s in exactly the same format as the original populated datetime.

*

MB Themes

Re: Problem when saving updated user in back-office
« Reply #5 on: August 12, 2025, 12:15:13 PM »
I've tested and see this in user reg field:
08/12/2025 11:30:25 AM

value in input:
2025-08-12 11:30:25

Everything works OK.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots