The first and last name tags from Full Name field is no longer working in my forms

  • Profile Image
    NippersD
    Asked on April 04, 2018 at 05:16 PM

    In the example URL below, using a full name field (first name, last name), recently the identifiers :first and :last stopped working.  For demonstration, I tried building an email address using {name:first}_{name:last}@email.com but the :first and :last are no longer working.  In my other forms, I have a similar issue in Conditions e-mail, where I am trying to send a response to the value {name:first}_{name:last}@email.com and these are no longer working.


    Secondly, is there any way in the Conditions to calculate this email build into a new field (calc_name)?  e.g., calc_name stores the value from {name:first}_{name:last}@email.com

  • Profile Image
    Welvin
    Answered on April 04, 2018 at 07:34 PM

    So, are you saying that this use to work before in the form view? Because as far as I know, it is not. This only works for the notification/thank you pages. If yes, then something has changed. I would suggest using two text boxes instead to build this in the form. If this isn't an option for you, let us know, and we'll be glad to create a ticket. 

    Can you also share the form where this used to work? We'll try checking your submissions, and so we can show it to our developers once we create a ticket. 

    Yes, if this works, you should be able to build the email by the condition. 

  • Profile Image
    NippersD
    Answered on April 05, 2018 at 11:52 AM

    Hi, yes, this was working in v2, 3 and recently in v4.   I use it to give a visual notification to those entering their names and then build their company email in the Setting --> Conditions --> change e-mail recipient.

    Since  Conditions --> Update / Calculate field will not allow that in builder to TRIM() blank spaces from the field entries (e.g., emails don't like blank spaces), I have been relying heavily on this visual presentation of their email being built, from within the Text field.  - as this used to work, please open a ticket.

    As above, secondly, is there any way in the Conditions to calculate this email build into a new field (e.g., calc_name)?  where calc_name stores the value from {name:first}_{name:last}@email.com?

    how could you type in or select {name:first} in the calculation builder? 

    1522943810example.PNG

    thanks

  • Profile Image
    TREVON
    Answered on April 05, 2018 at 02:29 PM

    I have checked on the issue you have reported and unfortunately it is not possible to have this option on form calculation widget. We can only separate the first and last name of the full name field in email contents and thank-you page.

    I however have a workaround you can use to achieve the above. You can have two separate fields for first and last name and then do the calculation with them.

    Below is a sample form I have used to achieve the above:

    https://www.jotform.com/80945289358977

    Kindly feel free to clone and use the form.


    Related Guide:

    https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget