What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Validate file upload field names no spaces

    Asked by Swoodruff2002 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:




    Page URL:

  • Profile Image

    Answered by Sammy 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.