My button does not work when I put f:validateRegex

Asked

Viewed 36 times

-3

Without f:validateRegex the button works normally, but after you put f:validateRegex to validate the input data, it doesn’t work anymore, someone can help?

Follow the code attached, I can’t format it here...

Botão não executa, só limpa os campos

  • 1

    Paste the code (not the image) to make it easier for us to help you.

  • I tried to put the code and it doesn’t appear, it’s only two asterisk.

1 answer

0

Your inputs are with the id duplicate:

<h:inputSecret id="passwordInput">

Abcs!

  • But the button validates the passwordInput, how do I validate the two inputs?

  • each has an id of its own

Browser other questions tagged

You are not signed in. Login or sign up in order to post.