Support » Plugin: FormCraft - Form Builder for WordPress » VAT Verification

  • Resolved estam40721

    (@estam40721)


    Hi,

    we have a registration form in which we add the option for a user to enter a VAT number. We are looking for an option to verify the VAT number before sending the form.
    Checking the string by a reg expression isn’t enough.
    – Is there a way triggering a VAT verification on the field? (Thru a plugin?)
    – Is there a way triggering a script for the verification of the field? (we could then call some php code…)
    – Is there another way of doing so? (we have WooCommerse on the site in case that helps)

    Thanks for your thoughts 🙂
    Best regards, Vicky

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author FormCraft

    (@nishncraftsnet)

    You would need to use JavaScript to watch changes made to the field. I’d suggest hiding the Submit button and showing it only when the VAT field matches the format you want. All this, of course, would require custom coding,

    Oh thanks, we would try this approach. We just wanted to avoid inventing something already existing. Thanks again 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.