Jump to content

Recommended Posts

Posted

Boa noite!

Desenvolvi um hook para validar ou não cpfs e procurá-los no banco de dados, garantindo a inexistência de 2 cpfs iguais na db.

Porém estou com uma pequena dúvida: como exibir erros como o mostrado abaixo?

Atualmente estou usando alert em js, porém destoa completamente do resto da aplicação e eu particularmente acho um método muito feio de exibir um alerta.

Como posso fazer para que o hook exiba um erro igual a esse "padrão" do whmcs?

Obrigado!

Screenshot_2.png


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?

-