Validate file upload field names no spaces

  • Profile Image
    Asked on June 16, 2015 at 12:57 PM

    My form allows users to upload files... when they upload file names with spaces, it breaks the URL download link I set up in InfusionSoft integration.

    Other than adding subtext to the file upload "fields", can I validate the file names to reject any names with spaces?

    Here's the form:



  • Profile Image
    Answered on June 16, 2015 at 01:59 PM

    Hi Steve,

    At the moment we don't have the provision for such a feature in our file upload elements, as a workaround you can make the text telling the users to submit files without spaces more prominent.


    Another approach will be to download the form's full source code and implement a JavaScript validation on the file that checks for spaces in the file-name before it is submitted.