We are using EasyCalcCheck Plus to load captcha on forms included in Virtuemart.
When opening the virtuemart billing form the EasyCalcCheck plugin displays the message "Please fill out this field". Even when the field is filled with the correct value (See image below).
Digging into the issue, we found out that the EasyCalcCheck field is being loaded twice on top of each other). Then when submitting the form only the field on top is filled and the message appears.
1 - Do you have any input on why is it happening?
2 - How can we fix this issue?
Joomla Version: 3.4.5
Virtuemart Version: 3.0.12
EasyCalcCheck Plus Version: 3.1.0
thank you for activating a support subscription. Please do no push threads within 48 hours (2 business days). See forum rules for mor information.
Okay, then the recognition patterns have to be optimized for your template. I need to analyze the page in my browser console. Can you please post the direct link where the problem occurs? You can hide links with the "Hide text from guests" button if you don't want to post your link publicly!
Once I see the output, I can provide you a modified version especially for your template.
Just checked your output, this is really strange. The action buttons (register / checkout) are loaded twice in your template. I think that you have a bug in the template override that you've created. Please check the template and get sure that the action buttons are loaded only once in the end of the form and not a second time right in the beginning.
If you don't know how to do it, I could take a look on it!
Looking at the virtuemart template files I found out that the template that is loaded on the registration for actually calls the method renderControlButtons() twice. This method is responsible for generating the register/checkout buttons area. So I created a template override for the virtuemart template file and commented the first instance of the method call and the forms appears to be working properly.
Do you agree that this is the correct method to solve this issue?