Error message about Spaces and Illegal Characters

tshirley 11 Oct, 2016
Hi,

I am getting the message:

"One or more of your fields names contain a space or illegal characters or starts with a number, fields names should NOT contain spaces or dashes and should start with a character."

I understand the message, and I have checked every field (I think) and fixed one error - but the message persists even though the form appears to work for every field in it. Is there any way I can debug the form or clear the error?

Cheers
JerseyGirl 28 Jan, 2017
I also have this problem - I get the same error message in the listing of my forms, but the form seems to work properly and I can't find any illegal field names.

How can I double-check this?

Thanks!
GreyHead 28 Jan, 2017
Hi JerseyGirl,

Please post a link to the form so I can take a quick look or post a form backup here.

Bob
JerseyGirl 28 Jan, 2017
Hi Bob,
I did finally find a field where I had accidentally inserted a space into the name and id. I removed the space, and the warning message went away.

But I would still like to know if there's an easy way to search through field names for a space (or other character)?

Thanks!
GreyHead 29 Jan, 2017
Hi Jerseygirl,

I use Chrome as my browser and the web-developer tools have a 'Network' tab that lets me see the data submitted by a form - that's quite an easy list to scan.

Another way is to add a debugger to the form On Submit event, complete all the fields in the form and submit it. You'll then see a list of all the input names shown. You could similarly add an email action, save the form and then examine the email template which will be an HTML table with one row for each input element.

Bob
JerseyGirl 29 Jan, 2017
Hi Bob,
Thanks so much for the suggestions - should have come up with at least the email one myself!

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