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

    I need to be able to take pieces of data from fields like "Name" & "Date+Time"

    Asked by securenetwork on January 16, 2017 at 03:58 PM

    Hello,

    I am using the data from 2 fields to create a username which I provide to the person filling out the form. I need to be able to take pieces of data from fields like "Name" & "Date+Time" and create a pre-calculated field of "Last Name+Time". My question is what do I need to put into the condition of calculating a field to pull the data I need to create the data for the new field?

     

    Thanks

  • Profile Image
    JotForm Support

    Answered by BDAVID on January 16, 2017 at 08:51 PM

    We do not have a conditional logic that would pull certain characters from a field, however, you could use the Substring widget which is meant for this purpose: https://widgets.jotform.com/widget/substring 

    However, it will not work with date type fields. So, I am guessing you could convert the date to string value using a Form Calculation widget: https://widgets.jotform.com/widget/calculation 

    https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form 

    Let us know if you need more help.