Not validating required fields?

goffer 11 Oct, 2011
Just succeeding in making my form using placeholder labels.
But now it wont validate any of the fields, even though they have "required" tag on them 🤨
GreyHead 12 Oct, 2011
Hi goffer.

Please post a link to the form so I can take a quick look. I'm not sure that we've tested the code with ChronoForms v4.

Bob
goffer 12 Oct, 2011
Hi bob🙂
the form is located at http://faelles-stroem.dk/ left hand side, i guess thats the link you need.
As far as i can see on the documentation i bought, V4 should be supported, im guessing its just because i did something wrong.

Thanks for at great product btw.
GreyHead 12 Oct, 2011
Hi goffer,

Please try giving the Submit button an id of submit. I think that should work - it may need an extra tweak to fix an IE problem.

Bob
goffer 12 Oct, 2011

Hi goffer,

Please try giving the Submit button an id of submit. I think that should work - it may need an extra tweak to fix an IE problem.

Bob



And there you go, it works! 😀
one last thing though, on the example form i saw, the errormessages was displayed inside the label.
How do i accomplish that?
GreyHead 12 Oct, 2011
Hi goffer,

If you mean the demo form here. Then it's in the CSS
.LV_validation_message {
    display: block;
    font-size: 0.8em;
    font-weight: normal;
}

Bob
goffer 13 Oct, 2011
Been searching like crazy, but cant find that class youre mentioning in any of the css's, the only thing i can see that has something to do with the errormessages is the class "fc-tbx"
GreyHead 15 Oct, 2011
Hi goffer,

Please try adding it to a Load CSS action in the On Load event.

Bob
This topic is locked and no more replies can be posted.