FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    custom validation-theme Forgot Password

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    2
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      leandro.menagonzalez
      last edited by

      Hi,
      i need know, how to incorporate a validation to the mail field, for example regular expression, to prevent the submit event. Please see images

      Forgot Password-layout.png

      Forgot Password-Code Theme.png

      joshuaJ 1 Reply Last reply Reply Quote 1
      • joshuaJ
        joshua @leandro.menagonzalez
        last edited by

        @leandro-menagonzalez

        This can be solved by using client-side validation in your theme for the corresponding forgot password page. On the authorize page you would pull in JS to check the users email in any manner you see fit.

        https://fusionauth.io/docs/v1/tech/apis/themes
        https://fusionauth.io/docs/v1/tech/themes/

        Josh

        1 Reply Last reply Reply Quote 0
        • First post
          Last post