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.
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?
Solved! Go to Solution.
Yep, I blogged about this already at http://blog.teknkl.com/forms2-bug-checkbox-error-msg/
Can't believe I missed this one as well. Have a few hours of fixes to do now. Thanks for the workaround Sanford.
Pls provide a link to your page.
Yep, I blogged about this already at http://blog.teknkl.com/forms2-bug-checkbox-error-msg/
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.
Same issue for me as well with the validation. I was wondering where the js file is so we can put in the edit.
The JS is right in the middle of my blog post.
Do i paste the code with the form embed script? Sorry, I am very new to Marketo.
Add a new <script> tag with the code and place it after the standard embed code.
Am I suppose to just copy paste the whole code? It seems to not work for me.
You'll have to provide more detail than "not work," i.e. a link to your URL.
The sign up button triggers the marketo form in lightbox
Hi Nicole,
If you're using our text editor, you need to put code in by clicking the HTML button. You can't just paste code into the text editor. I think that may be what you're doing.
Justin
Many syntax errors in your code. (You can see the error in your console.)
<script> tags only have JS code inside of them, not <p> or any other tags.
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.
Yeah, I know about it. We have a bug open on it, just low pri.
Thanks,
Justin
Thanks!