custom error msg positioning for specific ID
-
I am enjoying working through the generous offering of snippets but can’t find ‘exactly’ what I want. Specifically, I have implemented the ‘limit characters’ snippet OK but it throws an alert() which is not so aesthetic. I would like to present the error in a more tidy way.
I tried to cross this with: my_wpforms_process_validate_phone
but can’t seem to get my ‘hack’ working. I have tried to adapt a few other snippets to get a direct error-entry for the specific field.My current approach is to set a hidden div and, instead of the alert, position the div adjacent to the relevant field with the appropriate msg. I have tolerable jQuerry exp. but need the field id to do this.
Again, I have tried working with: wpf_dev_field_properties
but… one , or ; wrong and it don’t work.
It doesn’t ??There may be an existing snippet – and I have really looked – to
1 – customise error messages for specific fields or,
2 – get the ID for an active field; to position an error-div or,
3 – some other suggestion you might have.Thank you for your time.
Kusalo
- The topic ‘custom error msg positioning for specific ID’ is closed to new replies.