I've written a plugin for cf7 - Contact Form 7 Map Field and i need some help with the code, please.
in map-code-leaflet.html, which is where all the map coding going on, down at the end of the file, you can see a "function validate()" where i try to make 2 validations: first that there is a marker, and second for the map zoom level.
BUT... i don't know how to connect this with the cf7 validation!
i do have a field validation, at "contact-form-7-map-field.php".
but how do i connect them?
any idea, and comments are welcomed.