Hello @lanxalot
Let me know if the field is still required (despite its completion) if this custom validation is not assigned to the field. So set the validation to Default and check if the validation error message disappears. If so – then it means that the validation is not pasted as it should.
Hi Tomasz,
Many thanks for the reply. Yes, the error occurs when the validation is set to default, and if there is no code added for custom validation.
I only added the custom validation method just now to try and get rid of the error. I don’t require custom validation if the default validation works (which it did before recent updates).
So it is a basic text area field, I type in some text, and still I get the message: ‘billing_event_details is a required field’ (or similar). When I remove the ‘required field’ setting, the error goes away and the form submits fine.
Best wishes,
Lanx
Hello @lanxalot
I did not reproduce this error on a clean WP installation (Storefront theme + the latest versions of WooCommerce and our plugins). So I assume it is about a different update.
Please run a quick troubleshooting and see if this behavior is due to a conflict. Install and activate the Health Check & Troubleshooting plugin.
Troubleshooting steps
- Install the Health Check & Troubleshooting plugin and turn on the troubleshooting mode.
- Test the plugin using Twenty Twenty or Storefront template. It will help us identify a possible conflict with your theme.
- Disable plugins which are not ours or WooCommerce.
- Then enable plugins one by one and check if the issue still exists.
Please let me know about the result.
I am marking this topic as resolved as we have not received any new replies.