Closed numeroteca closed 6 years ago
This code is saying if the form hasn't been sent (first condition), then show the form. And if the submit input field (id globalrec-form-waw-submit) is not equal to "Send" (second condition), then throw an error.
The second condition doesn't work in a multilingual environment. I've removed it. Details in this commit: https://github.com/montera34/globalrec/commit/dfc4bdda0ccf630f2166f146f28651646516c308
When submitting a new organization in Spanish (http://globalrec.org/es/rem/anade-organizacion/), something is not working and returns "har".
Code available at https://github.com/montera34/globalrec/blob/master/functions.php#L2054
What is the code below doing?