Remove space at the end of a string value of the input field

  • DreamCalisthenics
    Asked on January 18, 2019 at 8:13 PM

    Hi  

    Users are interacting with our forms using tablets and mobile devices. Mobile predictive text puts a space at the end of a word in anticipation of the next word. This results in double spaces in our records between first and last names and other fields.

    Could you please advise if the basic widgets can be updated to address this nuance? 

    Sincerely 

    Ben Manfield 

  • jonathan
    Replied on January 19, 2019 at 12:44 AM

    Unfortunately there is no built-in function yet that can trim the trailing spaces on input field values.

    We have existing feature request similar to this, so I will forward this thread as well as another request. The more request for the feature the higher the chance Jotform will implement the feature.

    We will notify you here for any news/updates on the status of the requested feature.

    Alternatively, if you have know how on using the form full source code embed, you can create a custom script function that can trim space char on the form input fields.