Okay
  Public Ticket #3979080
VAT ID and File type field validation error in Registration form
Closed

Comments

  •  1
    Ekaterina started the conversation

    There is no validation error message for empty VAT ID and File type field in Registration form.

    I'm using WP Rocket cache plugin. Is your plugin compatible with it or I need to make some exclusions?

    WordPress 6.7.2
    Woodmart Theme
    Woocommerce 9.8

    Attached files:  8da04d87-1745-4637-a736-b5832311ef70.png
      804bdb4f-aa1a-4160-9414-a19ecd1a2bdd.png

  •  2,406
    WebWizards replied

    Hi Ekaterina,

    For those 2 field types, our plugin relies on JS validation.

    The issue seems to be that this type of validation is currently disabled on the form. You can enable the validation by adding this code snippet to your functions.php file or using a code snippets plugin:

    https://pastecode.io/s/saqr40z5

     

    After adding this code, you should be able to see various messages there if those fields are empty, such as:

    6536301543.png

    8039345996.png

     

     

    Regarding WP Rocket compatibility - our plugin is fully compatible with WP Rocket and you shouldn't need to make any special exclusions for it to work properly. Our only recommendation is to enable User Cache ( https://docs.wp-rocket.me/article/313-user-cache ) as this is important if you have different prices / products / content for different users.

     

     

    Let me know if adding the code snippet resolves the validation issue for you!

    Kind regards,

    Stefan

     

  •  1
    Ekaterina replied

    Now, all works fine. Thank you)))