SOLVED

Custom validation message not displaying when no entry is made on compulsory field

Go to solution
Highlighted
Anonymous
Not applicable

Custom validation message not displaying when no entry is made on compulsory field

I've created a compulsory checkbox in my form with a custom validation message, however the field displays no validation message when I fail to enter a value.

Screen Shot 2017-11-07 at 16.38.28.png

If I subsequently click and un-click the checkbox the message does appear. But nothing if the field is simply left blank from the start.

Can anyone suggest a solution to this issue?

Screen Shot 2017-11-07 at 16.55.10.png Screen Shot 2017-11-07 at 16.56.12.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Level 10 - Community Moderator

Re: Custom validation message not displaying when no entry is made on compulsory field

17 REPLIES 17
Highlighted
Level 10 - Community Moderator

Re: Custom validation message not displaying when no entry is made on compulsory field

Pls provide a link to your page.

Highlighted
Anonymous
Not applicable

Re: Custom validation message not displaying when no entry is made on compulsory field

Highlighted
Level 10 - Community Moderator

Re: Custom validation message not displaying when no entry is made on compulsory field

Highlighted
Anonymous
Not applicable

Re: Custom validation message not displaying when no entry is made on compulsory field

Thanks!

Highlighted
Level 10 - Champion Alumni

Re: Custom validation message not displaying when no entry is made on compulsory field

Is Marketo aware of this bug and, if so, an ETA when this will be fixed?  I didn't even realize it was broken (can't believe I missed this blog post back in September, Sandy!).  It's great that you've provided a custom fix, but this is something that just should work as expected.

Justin Cooperman

Highlighted

Re: Custom validation message not displaying when no entry is made on compulsory field

Yeah, I know about it. We have a bug open on it, just low pri.

Thanks,

Justin

Highlighted
Anonymous
Not applicable

Re: Custom validation message not displaying when no entry is made on compulsory field

Hi Sanford,

Could you tell me where can access the forms code to update it as per your blog? I'm struggling to find it.

Highlighted
Anonymous
Not applicable

Re: Custom validation message not displaying when no entry is made on compulsory field

Same issue for me as well with the validation. I was wondering where the js file is so we can put in the edit.

Highlighted
Level 10 - Community Moderator

Re: Custom validation message not displaying when no entry is made on compulsory field

The JS is right in the middle of my blog post.