*

san37

  • ***
  • 89 posts
required city and region
« on: March 14, 2016, 06:57:07 PM »
Included required fields of the city and the region in supplying new ad, but ad does not generate an error that fields are empty
although the code specifies that required fields

themes zara

*

MB Themes

Re: required city and region
« Reply #1 on: March 14, 2016, 07:18:42 PM »
@san37
Reason is that you cannot create required field simply adding some class...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: required city and region
« Reply #2 on: March 15, 2016, 07:27:56 PM »
so I put a check in the backoffice in the tab item, but the conditions are not met, this class added backoffice
How to make to work?

*

MB Themes

Re: required city and region
« Reply #3 on: March 15, 2016, 08:21:16 PM »
@san37
In backoffice manager plugin you define which fields should be required with no other modifications.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: required city and region
« Reply #4 on: March 15, 2016, 08:33:08 PM »
You do not understand
I have chosen in the plugin options to the city and the region were required when submitting a new ad

But the settings don't work, add the class
you can submit the ad without selecting the city
the field is not required
« Last Edit: March 15, 2016, 08:36:10 PM by san37 »

*

MB Themes

Re: required city and region
« Reply #5 on: March 15, 2016, 08:37:56 PM »
@san37
You need to choose required fields by granularity.
City cannot be required, if region is not. Same, region cannot be required, if country is not.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Adi

  • ***
  • 28 posts
Re: required city and region
« Reply #6 on: April 01, 2016, 12:42:49 PM »
@san37
You need to choose required fields by granularity.
City cannot be required, if region is not. Same, region cannot be required, if country is not.

I think that you didn't understand what the issue is. I wanted to make a bug submit regarding this but noticed the thread

So, in admin, we have the ability to show additional fields when making a new account. We have the ability to select which one is required. All fine so far. What we do not have is a error message telling the user that x field like (region/phone etc) is required (since we activated that requirement in admin area). All we see are the standard messages from the template. So we don't see any error messages from your plugin and this is not ok because user will be stuck at the page not knowing what he is doing wrong. This needs a urgent fix please

*

Adi

  • ***
  • 28 posts
Re: required city and region
« Reply #7 on: April 01, 2016, 01:06:21 PM »
And in addition we don't have error messages when posting a new ad telling the user that the fields are required (because we selected them in admin area). Olso a fast fix for this please.

Required fields when adding new listing

Name is required when publishing new listing (10)
Price is required when publishing new listing (11)
Country is required when publishing new listing (12)
Region is required when publishing new listing (13)
City is required when publishing new listing (14)

*

MB Themes

Re: required city and region
« Reply #8 on: April 01, 2016, 03:35:30 PM »
@Adi
I can see messages on our demo site:
Price: this field is required
Contact name: this field is required


http://plugins.abprofitrade.eu/index.php?page=item&action=item_add
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Adi

  • ***
  • 28 posts
Re: required city and region
« Reply #9 on: April 01, 2016, 09:21:12 PM »
Yes, i see that the messages show in item-post in modern theme. In twitter theme they do not show.
Olso, if you register, the messages do not show in modern or twitter theme (Osclass theme using twitter bootstrap 3.1 - Twitter bootstrap 3.1.1 by Osclass team)

*

MB Themes

Re: required city and region
« Reply #10 on: April 02, 2016, 08:37:46 AM »
@Adi
Then you need to probably contact osclass.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Adi

  • ***
  • 28 posts
Re: required city and region
« Reply #11 on: April 02, 2016, 09:45:48 PM »
@Adi
Then you need to probably contact osclass.

Why? Like i've said, in modern theme, when register, errors from your plugin do not show. Those from osclass show. Can you check please?

*

MB Themes

Re: required city and region
« Reply #12 on: April 02, 2016, 10:36:40 PM »
@Adi
Checked with bender theme that is official osclass theme and works ok.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Adi

  • ***
  • 28 posts
Re: required city and region
« Reply #13 on: April 03, 2016, 03:45:26 PM »
Let's try it again. I have installed elena theme (your theme) and is not working as well? Are you going to tell me again to use bender theme? Or are you going to see this as a issue and provide a fix?

So i have added bender as well and is not working? See image please. What i am doing wrong here?
« Last Edit: April 03, 2016, 05:37:23 PM by Adi »

*

MB Themes

Re: required city and region
« Reply #14 on: April 03, 2016, 07:35:46 PM »
@Adi
What is your URL?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots