248 Posts
Giuse
8 years ago
3
Topic

Hi, for validation we have a number of tooltip/alert appearing:

  • # Minimum characters required
  • # Maximum characters allowed
  • Verifying.... Available / Not Available (from Ajax availability)
  • Fields do not match
  • and so no (validation for URL, email)

If the flags are shown in tabs, the alerts are confusing since if you go to another tab, they stick to the position of the previous field where you have the error but they appear on another field.

A quick help for the user would be to add a "(click to close)" message next to each alert, to inform him/her that he/she can close the tooltip and be confused when switching tabs.

I think it can be done easily.

Alternatively, I tried to add the message as language override to all the possible messages but I just found the strings for min/max chars as PLG_CCK_FIELD_VALIDATION_.... in "language/en/en-GB.com_cck_default.ini" and not for the other messages. Where are they?

Thanks

Giuse

Get a VIP membership
4229 Posts
Kadministrator
8 years ago
2
Level 1

Hi,

thank you for your suggestion. If you know some javascript you can use hide method attached to some button or even to tabs click

https://github.com/posabsolute/jQuery-Validation-Engine#hide

248 Posts
Giuse
8 years ago
1
Level 2

Hi, is it something that can be done without hacking Seblod? To hide popups when changing tabs, is it possible to use the JS field in "Stuff" section of the Tab field?

thanks

Giuse

4229 Posts
Kadministrator
8 years ago
0
Level 3

HI, yes, it should work from there. You could also

https://www.seblod.com/store/extensions/1854

Get a Book for SEBLOD