Combining text fields via conditions

  • Mark_Laurin
    Asked on December 8, 2020 at 10:49 PM

    I'm using stripe integration, and I need to pass multiple text fields to stripe.

    I've setup a condition to combine 3 short text fields into 1; however it's only combining numeric data...not alpha.

    What am I missing?

    The following will be passed in via url parameters:

    contact_id: 12345-12345-12345

    Offer: Translation

    Term: 1 year

    Combined short I want: 12345-12345-12345_Translation_1 year


    I can't seem to get this to work? Is there a better way?


    P.S. - the "_" could be replaced by any character really...could be a "&" or anything that allows me to easily parse the data later...


  • Ahmed_S
    Replied on December 8, 2020 at 11:23 PM

    Hello Mark_Laurin,

    I've cloned your form and checked the condition that you've created, you'll just need to do a small modification to it, in the DO option choose "Calculate a field's value" instead of "Copy Multiple Field values" then you will be able to add non numeric values as in this demo:

    1607488106 5fd0526ad894a screen Screenshot 10

    for a more detailed guide about manipulating text string with conditions please check this link:

    https://www.jotform.com/help/410-how-to-manipulate-text-string-with-conditions-and-calculation

    Please let us know if you need any further assistance, we will be happy to help.