Enable Hyvä Form Validation in CMS Content
When creating forms within CMS pages or blocks, the standard layout XML handle <update handle="hyva_form_validation"/> cannot be easily applied.
To enable JavaScript form validation, use the {{block}} template directive to include the necessary JavaScript directly. This renders the required validation code, making hyva.formValidation available for use in your CMS HTML content.
The primary template to include is Hyva_Theme::page/js/advanced-form-validation.phtml. Be aware that extensions or customizations might introduce additional templates.