How can I copy text into the Name element?

  • briar3462
    Asked on December 7, 2020 at 3:52 PM

    Please look at Form 2

    How do I copy the the text from a multi-line question to the first name field of the Name element?

    How do I copy the the text from a multi-line question to the last name field of the Name element?


  • KrisLei Jotform Support
    Replied on December 7, 2020 at 7:11 PM

    Hello,

    I have checked your form, and it seems that it's not possible to pass the values in the two textboxes and combine it on the Name fields separately as the First Name and Last Name. I would recommend to also use a Multi-Line Text field to pass the names, as two separate values:

    1607386007 5fcec3970665d Screenshot 1208 Screenshot 10

    Then pass it on the second multi-line field through conditions to copy the values separately:

    1607386087 5fcec3e740ff2 Screenshot 1208 Screenshot 21

    1607386117 5fcec405c2711 Screenshot 1208 Screenshot 32

    You may check the results here on my cloned form: https://form.jotform.com/203416837937969

    Please do get back to us if you need further assistance or if it didn't meet your requirements.



  • briar3462
    Replied on December 7, 2020 at 7:15 PM

    The problem then is how do I get the name field in Stripe to auto populate?

    From what I understand, the Stripe name field must use the Name element and not a multi-line element.


    Please advise.

  • Girish JotForm Support
    Replied on December 7, 2020 at 10:24 PM

    For your last query, please refer to your other open ticket where one of our colleagues has already responded:

    https://www.jotform.com/answers/2749974-How-to-automatically-pass-the-Full-Name-feild-to-the-Stripe-payment-field

  • briar3462
    Replied on December 7, 2020 at 10:54 PM

    I am absolutely dumbfounded by the lack of professionalism and laziness from this so-called, "support team" Do you people even read the questions?

    The above response is so asinine that I'm beside myself. I am well aware how to copy from the name element to the Stripe sub-field.

    If you bothered to actually read the questions at all, you'll see that my problem is that I need to either take a name element and split it into two short texts (one for the first name and one for the last name) which someone responded could not be done OR take two short texts (one with the user's first name and one with the user's last name) and put it into a name element. Someone responded that this also cannot be done. These blatantly obvious design flaws are a clear testament that your engineering team seems to be equally incompetent as your support team.

    The temerity and contempt that you clearly have for your users and/or your disdain for your own job is as apparent as the sun in the sky. No reasonable person could post the above as an "answer" and actually think to him- or herself that s/he is excelling, or even succeeding at his/her job. You literally just stole one of your colleague's work and passed it off as your own while ignoring the question itself!

    This is absolutely disgraceful.

    If you are unable or unwilling to help your users then why do you even bother going to work?

  • Girish JotForm Support
    Replied on December 8, 2020 at 2:22 AM

    Sorry for any confusion created.

    I thought that you wanted the data from the Name field to be copied over to the name field in Stripe. Hence I provided the link to your previous ticket.

    But, if you are looking for auto-populating the fields on the Stripe field, I'm afraid it will not be possible to use this method.

    But you can use the Prepopulate URL method as explained here: https://www.jotform.com/help/71-prepopulating-fields-to-your-jotform-via-url-parameters

    Here is an example for your form 2: https://form.jotform.com/203420801161944?myProducts[cc_firstName]=John&myProducts[cc_lastName]=Smith with the Name auto populated in the Stripe Name field.

    I believe this what you were looking for. Do review and let us know.