*

webcity

  • ****
  • 243 posts
Hi,

I'm using the Epsilon theme, I have the options enabled: "Required Fields on Publish" Country, Region and City.

When location Autocomplete is enabled, users can place ads without entering any location information.

Can you please suggest a solution?

Many thanks

*

MB Themes

@webcity
You need to set that box as required on publish page.

Code: [Select]
$("form[name=item]").validate({
        rules: {
          "title[en_US]": {
            required: true,
            minlength: 5
          },
          "sLocation": {
            required: true
          },....

Code: [Select]
messages: {
          "title[en_US]": {
            required: 'Title: this field is required.',
            minlength: 'Title: enter at least 5 characters.'
          },
          "sLocation": {
            required: 'Location: this field is required.'
          },....


"sLocation" is example, not sure if this is ID or Name of field, you must check name of yours.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots