Remember me

Form validation preventing form entry

6 years 4 months ago #1

  • Rob's Avatar
  • Rob
  • Posts: 12
We have a form on our site where we have required fields. If the user skips them and presses the submit button the fields outline in red, but we get no warning as to why and we can no longer enter text into any field to correct the problem.
The form is the Gift Voucher form on this page...
turbo51.servers.prgn.misp.co.uk/~inspire...okings/gift-vouchers

6 years 4 months ago #2

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
Hello,

The reason it does not work in the CSS code that you added on the 419 line in your custom CSS file.
.ba-form .row-fluid::before, .row-fluid::after {
  display: none !important;
}
Regards,
Vyacheslav, Balbooa.com

6 years 4 months ago #3

  • Rob's Avatar
  • Rob
  • Posts: 12
OK. That was done to try and remove the massive space between the title and the start of the form. Is there another way to remove or reduce this unnecessary space as it doesn't look very nice?

6 years 4 months ago #4

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
The problem in your picture is it pushes the content.

to solve this problem, you can add CSS code:
.ba-form {
	display: inline-block;
}
Regards,
Vyacheslav, Balbooa.com

6 years 4 months ago #5

  • Rob's Avatar
  • Rob
  • Posts: 12
OMG! Of course it is!

Sorry I was being a numpty.

Thank you for your fix, it'll keep the client happy.

6 years 4 months ago #6

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
You are welcome ;)
Powered by Kunena Forum