How can I make the City field not required in the admin panel?
« on: February 11, 2026, 11:53:53 AM »
Hello,

I have encountered an issue with.

In the theme settings, under "Required fields for publication", I set only the Region field as required and left the City field optional.

On the frontend, everything works correctly — users can publish an ad by selecting only the region without specifying a city.

However, in the admin panel, when I try to edit or save an ad, the system does not allow me to save it and displays a message saying that the city must be selected.

I would like the City field to be optional not only for users on the frontend, but also in the admin panel.

Could you please advise:

where this setting can be changed,

and how to make the City field optional in the admin area?

Thank you in advance for your help.

*

MB Themes

Re: How can I make the City field not required in the admin panel?
« Reply #1 on: February 13, 2026, 03:51:48 PM »
Checked and it's not osclass forcing this in backoffice.
Try to review your plugins, maybe you've enabled it somewhere.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Own Petz

  • ****
  • 218 posts
  • OwnPetz - Free Classified Ads. Buy, Sell or Adopt
Re: How can I make the City field not required in the admin panel?
« Reply #2 on: February 15, 2026, 08:56:08 AM »
This issue occurs when editing an ad that contains more than three images. When you attempt to save such an ad, the system prompts for city selection. I have also experienced this issue occasionally.
OwnPetz - Free Classified Ads. Buy, Sell or Adopt Online. https://ownpetz.com

*

MB Themes

Re: How can I make the City field not required in the admin panel?
« Reply #3 on: February 20, 2026, 03:15:58 PM »
Interesting and yes you are right.
Funny is that these validations often does not work because there is "accept" for file input not supported by validate by default.
So, you can alter these requirements in item form file in core, but permanent fix will be in Osclass 8.3.2
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots