validation on multiselect generic fields is not working, its not displaying the error message above the field.
It is working if you use other field types, eg.: select.
its showing the message in the error message box as normal, however not on the field.
Ive have tried using the cred validate filter and the option on the field for required, both dont seem to show error above field.
e.g this works, I get an error when the field is empty.
[cred_generic_field type='select' field='test']
{
"required":1,
"default":[],
"options":[{"value":"one","label":"otne"},{"value":"two","label":"two"}]
}
[/cred_generic_field]
e.g doesn't generate and error above the field when the field is empty.
[cred_generic_field type='multiselect' field='test']
{
"required":1,
"default":[],
"options":[{"value":"one","label":"otne"},{"value":"two","label":"two"}]
}
[/cred_generic_field]
If there is an issue with the way this validation works for multiselct, be cool to know if there is any workaround to getting the field highlghted so the user knows which are the issue fields...
Ill keep looking for a solution and will close this if I find one, but Ive been looking for a while ... hence the ticket 🙂
thanks guys