Drupal Association members fund grants that make connections all over the world.
I'm trying to create a custom error placement function that displays the error twice, once below the element and once above the form. I have managed to get my custom function to display the error below the element by duplicating the function from clientside_validation however also showing the errors above the form as well is proving difficult. I believe that this is partly because
insertBefore() just moves the element, instead of cloning it. I have had some luck by using
clone() however when I do this the error isn't removed once validation passes. Any ideas on this?
I've created a gist of the closest I've got so far: Gist
Thanks in advance.