Form mystery

User 2598320 Photo


Guest
6 posts

Hi,

I'm a WIX Pro Web Designer and have used your great web form builder to make a booking form for a client who's a DJ, and he experienced that a sign popped up when he put in the letter "m" in the form saying: "Please enter a value matching the regular expression". See screen shot attached. I've tried to reconstruct the problem, but everything works
perfectly on my computer...Thanks. Best, Bjarne O.
Attachments:
User 187934 Photo


Senior Advisor
20,271 posts

Regular expression to match the given.
\/m/\
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2598320 Photo


Guest
6 posts

Sorry, Don't understand what you're saying...?
User 187934 Photo


Senior Advisor
20,271 posts

I was thinking you were trying to use a regular expression to match the letter m.
The regular expression I posted will do that. Copy and paste into your regular expression in the form builder.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2147626 Photo


Ambassador
2,958 posts

Have you got a link to the form we can look at?
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 2598320 Photo


Guest
6 posts

Here you go:
http://filmmusic.wix.com/lindojuly19201 … ng-2/c1uq8

I don't experience the problem on my computer in any of the browsers I use. The form works fine. But the
question is why my client experience this on his computer when he starts writing the letter "m"...?

Thanks!
User 271657 Photo


Ambassador
3,816 posts

I wondered if this was a template; maybe the regex was a default for that field?
<div class="fb-regex"><input id="item8_regex_1" type="text" required="" name="regex8" data-hint="" autocomplete="off" placeholder="" maxlength="254"></input></div>

Maybe you could make sure the regex allows both letters and numbers in that field, or else include a hint to show users how to specify the dates ( 00/00/0000 ).

The letter M issue didn't come up for me either.
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 2598320 Photo


Guest
6 posts

Thanks a lot for all your great advise - I'm new to this and terms like "regex"...I will go back to the form and check out the fields - what precisely should I put in every field in the form to ensure that both numbers and letters will work and to avoid that the "Please enter a value matching the regular expression" window pops up again...?
Thanks again.
User 187934 Photo


Senior Advisor
20,271 posts

I would first remove the spaces from the form name and republish. Can you provide a link to the actual form so it's not in an iframe. Looks to be on S-Drive. What kind of input do you need and what kind of validation does it require? Looks to be a date. Have you tried the date picker?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2598320 Photo


Guest
6 posts

I've now removed the spaces from the form name and republished. Here's the link to the actual form and the code.
Thanks!

http://lindo.coffeecup.com/forms/LINDOBOOKINGFORM1/

This is the code:
<script type="text/javascript">document.write(unescape("%3Cscript src='http" + (document.location.protocol == 'https:' ? 's' : '') + "://www.coffeecup.com/api/sdrive/forms/form.js?name=LINDOBOOKINGFORM1%26slug=205111%26width=288%26height=1480%26crossdomains=true' type='text/javascript'%3E%3C/script%3E"));</script>

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.