Hi,

I have a field that type "link" and widget type is "advance link", the field is not required but when an invalid value is entered the validation and error message are done after reload the form.
please advice.

Thanks.

Comments

attiks’s picture

I assume it's working when clientside_validation is disabled? It sounds strange that you get the error after reload

Khetam’s picture

hey attiks,

The clientside validation is enabled but there is no compatibility between advance link module and clientside validation module.
Please follow these steps:

  1. Install link module
  2. Install advance link module
  3. Add new field to any content type that you want, this field have to be link and widget type have to be advance link.
  4. Make the setting of this field to external url and the URLs filter to facebook.com/* for example
  5. Save the setting that you made.
  6. Try to add new content and for the link field try to add invalid value
  7. Observe the result, you will note that the form is reloaded again then the error message appears.

Thanks,
Kito.

attiks’s picture

Version: 7.x-1.38 » 7.x-1.x-dev
Category: Bug report » Feature request
Issue summary: View changes

So we need to add support for the advance link module, changing to feature request.

Jelle_S’s picture

Title: Clientside validation is not working with Advanced link moduel » Clientside validation is not working with Advanced link module