*

njsb777

  • ***
  • 26 posts
activate the class "error" in the field
« on: May 10, 2017, 06:27:38 PM »
As I can activate the class "error" in the location field, when the user does not complete the required fields of the form. ?

Note: By default it always appears with the "valid" class green color.


*

Ivanko

  • *****
  • 391 posts
Re: activate the class "error" in the field
« Reply #1 on: May 10, 2017, 07:35:09 PM »
What is the question?
Required fields can be added or removed in admin panel in theme settings.

*

ColdFusion

  • ***
  • 72 posts
Re: activate the class "error" in the field
« Reply #2 on: July 11, 2017, 11:51:03 PM »
Hi,

njsb777 has a point, there's a small bug with the theme here - this field only gets red error class if location is used in settings. If you use country or region it always looks ok, although error message shows up on top. Moreover, if you use country and region, on input you need to click on the suggested link - if you just type it, it wouldn't be recognised as valid input (maybe you can confirm this).

Thanks

*

MB Themes

Re: activate the class "error" in the field
« Reply #3 on: July 12, 2017, 08:54:26 AM »
@ColdFusion
Reason is that country, region and city is selected via one box. If country, region or city is missing, it is identified on different level on different inputs...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots