Why are spaces being removed when prepopulating forms?

  • Profile Image
    Asked on February 09, 2016 at 03:11 PM

    When prepopulating forms, spaces are being randomly removed in the populated fields. I had assumed that it was simply that the URL was being parsed without the spaces, but I've recently had submissions where only some of the spaces are removed.

  • Profile Image
    Answered on February 09, 2016 at 05:47 PM

    The issue with the space characters doesn't always manifest itself in all fields, but you are correct that the issue is in characters getting parsed incorrectly when used for prepopulating URLs, especially on values for fields such as Text Area.

    In order to make the fields forward their data in URL friendly way, you may want to add the URLENCODE parameter/flag to your form field tags:


    Please let us know if this fixes the issue you are having. If you need further assistance, kindly provide us with an example link and form that are displaying such behavior, and we will be happy to look for possible ways to fix it. :)