Validate file upload field names no spaces

  • Swoodruff2002
    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:

    http://www.jotform.com//?formID=42998229132159

    Thanks,

    Steve

  • Sammy
    Replied on June 16, 2015 at 1: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.