Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    I'm experiencing an issue with the input validation feature

    How-to, Tutorials
    2
    8
    428
    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.
    • Olivier MAGNIN
      Olivier MAGNIN last edited by

      Hi all,

      When I set in the first field for a password an Action, validation 'the value must... to another field' check password

      When testing it, the error message displayed is truncated or with no message

      Capture d’écran 2021-05-15 à 14.45.16.png

      1 Reply Last reply Reply Quote 0
      • Wassim
        Wassim last edited by

        Hi,
        Do you have the link to your page?
        I'm pretty sure it's related on the configuration you set on the first input. As it should be the second input to have to match the first input as a rule.

        1 Reply Last reply Reply Quote 0
        • Olivier MAGNIN
          Olivier MAGNIN last edited by

          That's exactly the case... I want my first password field to check with the confirm password field.
          Here is the URL : https://prod.appdrag.com/Builder/pagebuilder.html?appId=inspiration-fe287c#PAGE_resetpassword

          I've checked again... the complexity validation rules displays correctly the error message
          Capture d’écran 2021-05-17 à 09.43.54.png
          The confirm password mismatch shows the issue
          Capture d’écran 2021-05-17 à 09.42.09.png

          1 Reply Last reply Reply Quote 0
          • Wassim
            Wassim last edited by

            Hi, yes I checked your page and the problem is that you put the verification on the first field without error message.

            What I would do would be to:

            • add the verification on the second field (it will block the form submission so it's not an issue that it's on the input you're using the value)
            • add an error message in the "error message" field
            1 Reply Last reply Reply Quote 0
            • Olivier MAGNIN
              Olivier MAGNIN last edited by

              Bonjour Wassim,

              Cela ne fonctionne pas.
              Si je mets la vérification sur le deuxième champ, j'arrive à sauver même si les mots de passe sont différents.

              Je pense qu'il faut vraiment positionner la vérification sur le premier champ.

              Olivier MAGNIN 1 Reply Last reply Reply Quote 0
              • Olivier MAGNIN
                Olivier MAGNIN @Olivier MAGNIN last edited by

                @Olivier-MAGNIN said in I'm experiencing an issue with the input validation feature:

                Bonjour Wassim,

                Cela ne fonctionne pas.
                Si je mets la vérification sur le deuxième champ, j'arrive à sauver même si les mots de passe sont différents.

                Je pense qu'il faut vraiment positionner la vérification sur le premier champ.

                Sorry Wassim, I forgot to write in english.

                Son, I've tried your solution and it'sn not working. I'm able to save even if I'm typing a wrong password.
                I think that the verification must be done on the first field.

                1 Reply Last reply Reply Quote 0
                • Olivier MAGNIN
                  Olivier MAGNIN last edited by

                  Hi Wassim

                  I confirm... your solution is correct except that the verification must be done in the first field.
                  Capture d’écran 2021-05-20 à 15.21.23.png

                  1 Reply Last reply Reply Quote 0
                  • Wassim
                    Wassim last edited by

                    Hi,
                    You can add an additional field to your Cloud Backend Function passwordVerification and add it to the fields, so it will be required to fill the form. Then you can use it on the second input.

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