When entering a ; character in the form field name , the webform breaks and give an extra field to enter data.

Comments

lipcpro’s picture

On the project page I suggest that the field name be "machine readable please", the reason being Drupal doesn't like special characters in field names and because a filename is being generated by that field name and most OS's don't allow special characters in filenames (windows is a possible exception) it's just not a good idea. Can you name your field something without any special characters?

Jurjen de Vries’s picture

Hi,

Thanks for replying.

Yes, off course I can name my field without a ; character, but it' still a bug that there is no check at this sort of characters. It did take me a lot of time to found out that the problem was from this type of character.

Hope you can add a check in future.

Kind regards,
Jurjen

lipcpro’s picture

Assigned: Unassigned » lipcpro
Status: Active » Needs review

I've added validation to prevent non file name characters from being entered in the file name field.

lipcpro’s picture

Issue summary: View changes
Status: Needs review » Closed (fixed)