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

    How to concatenate texts with Calculation?

    Asked by tatacomms on November 23, 2016 at 03:23 PM

    I'm using a formula to concatenate alphanumeric strings entered via form with text used inside the calculation (eg. if I ask a website and want the form to automatically add "www" then the calculation is www + field1 where field1 is where the user enters the website. however, on saving, the www shows as switched off automatically on every edit. How do I get it to stay on? 

     

    in my example, I'm making a utm generator that adds utm parameters to a url with url and parameters entered by user and standard utm identifier (eg. ?utm_campaign=) added in calculation.

    Page URL:
    https://form.jotform.com/63231245467151

    Screenshot
    calculations in values used
  • Profile Image
    JotForm Support

    Answered by Jim_R on November 23, 2016 at 06:14 PM

    You need to do 2 things to get this to work:

    1. Since you're concatenating texts, you should omit the operators in between the fields.

    2. Then you have to click on the actual field that has a black background so it's treated as a text.

    Here's a short video showing those, along with the result: