Just stumbled upon something strange...
I’ve created a set of forms; started out finishing the first form named "nieuwsbriefForm" and then continued with the second: "contactForm"
eForm call 1:
[!formFunctions!]
[!eForm? &formid=`nieuwsbriefForm` &subject=`xxx` &to=`xxxx` &noemail=`1` &ccsender=`0` &tpl=`nieuwsbriefForm` &report=`nieuwsbriefFormReport` &gotoid=`44` &requiredClass=`required` &invalidClass=`required` &debug=`0` &eformOnBeforeMailSent=`nieuwsbriefFormBedankt` !]
eForm call2:
[!formFunctions!]
[!eForm? &formid=`contactForm` &subject=`xxxx` &to=`xxxx` &noemail=`0` &ccsender=`1` &tpl=`contactForm` &report=`contactFormReport` &gotoid=`46` &requiredClass=`required` &invalidClass=`required` &debug=`0` &eformOnBeforeMailSent=`contactFormBedankt` &sendAsHtml=`1`!]
As you can see I am using some custom validation functions (which are not important for the problem I’m about to describe...)
When I finished the first eForm, inline error reporting worked like a charm; spans containing a hidden errormsg after the missing required field were being set to "display:block".
The second eForm works completely, only without the inline error reporting. I still get the error report about missing and/or wrong values (were I put [+validationmessage+]). Only when I change the formid in the eForm call AND in the eForm tpl to "nieuwsbriefForm" (the name of the first form) all works without a glitch!
How can this be? When using the first name everything works fine... Is there some sort of cachingbug? Can I fix this somehow?
My problem now with using one name (and only the exact word "nieuwsbriefForm" works) is that I can’t put multiple forms on one page.