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 wonder if there is a String Substring Function widget (similar to the calculation widget)

    Asked by intranet.admin on April 10, 2014 at 07:29 AM

    I wonder if there is a field widget (similar to the calculation widget) which allows a string function similar to Exel Eg. MID(form-field,7,10) to take 10 characters stating at position 7 in the field text

  • Profile Image
    JotForm Support

    Answered by ashwin_d on April 10, 2014 at 10:32 AM

    Hello intranet.admin,

    Unfortunately, we do not have such feature. It is currently not possible to use any functions available in string object of JavaScript. Only option available is to download your form's full source code and add custom JavaScript code to achieve your requirement.

    We can help in providing custom JavaScript code. I would suggest you to first complete your form and then let us know your requirement.

    If you want I can send a feature request to our back end team.

    Thank you!

  • Profile Image

    Answered by intranet.admin on May 12, 2014 at 06:24 AM

    Yes please

  • Profile Image
    JotForm Support

    Answered by ashwin_d on May 12, 2014 at 09:33 AM

    Hello intranet.admin,

    Please complete your form and get back to us on which form field you want to implement this function and where you need to display the output.

    We need these information as the script will be specific for a form field and not a generic one.

    We will wait for your response.

    Thank you!

  • Profile Image

    Answered by intranet.admin on May 13, 2014 at 04:53 AM

    Sorry, I meant could you request the feature on form conditional calculation

  • Profile Image
    JotForm Support

    Answered by TitusN on May 13, 2014 at 09:50 AM

    Hello,

    I believe you want a feature that does what is described here, right?

    In layman's terms, you want a feature that will:

    1. Read a selected text field's value

    2. Capture only a section of the entries in that text field according to to the settings that describe the position of the first character, and the number of characters to be captured in total

    3. Copy the result into a field - or output in in a text field

    Is that accurate so far?

    If so, I have raised a feature request to that end - feel free to correct anomalies in my description of how it would work.

  • Profile Image
    JotForm Support

    Answered by TitusN on July 15, 2014 at 06:01 AM

    Hello, 

    We've published the substring widget

    Please check it out - we look forward to your feedback.