Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When entering a ; character in the form field name , the webform breaks and give an extra field to enter data.
Comments
Comment #1
lipcpro CreditAttribution: lipcpro commentedOn 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?
Comment #2
Jurjen de Vries CreditAttribution: Jurjen de Vries commentedHi,
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
Comment #3
lipcpro CreditAttribution: lipcpro commentedI've added validation to prevent non file name characters from being entered in the file name field.
Comment #4
lipcpro CreditAttribution: lipcpro commented