Topic: Contact form status returns different if successful or invalid validation

tommyhutcheson free asked 6 years ago


Hello I have setup a contact form using the below link: https://mdbootstrap.com/components/bootstrap-contact-form/   I would like to style how the status responses are returned. Ideally I would like to have a successful email returned in green using the bootstrap alert-success and if the user enters an invalid form then the status returned using the alert-danger.   Code used : https://mdbootstrap.com/wp-content/themes/mdbootstrap4/content/jquery/docs/latest/downloads/extend/php/bootstrap-contact-form-ajax.zip   Hope you can help Tommy Hutcheson      

Ollie Vincent pro commented 6 years ago

Hi, At the moment the validation is showing in #status. At the bottom of you index.php file you have a command defining where your success and error messages display. Create a new id and perhaps you could style them differently. Thanks


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags