I wonder if there is a String Substring Function widget (similar to the calculation widget)

  • intranet.admin
    Asked on April 10, 2014 at 7: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

  • Ashwin JotForm Support
    Replied 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!

  • intranet.admin
    Replied on May 12, 2014 at 6:24 AM

    Yes please

  • Ashwin JotForm Support
    Replied on May 12, 2014 at 9: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!

  • intranet.admin
    Replied on May 13, 2014 at 4:53 AM

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

  • TitusN
    Replied on May 13, 2014 at 9: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.

  • TitusN
    Replied on July 15, 2014 at 6:01 AM

    Hello, 

    We've published the substring widget

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