How do i associate a number value with a text option as was done in the

  • Profile Image
    oranges
    Asked on February 22, 2014 at 01:54 AM

    How do i associate a number value with a text option as was done in the example.

    It appears that the radio buttons and drop down option have a number associated with them although they are text.



    This is a re-post of a comment on How to Perform Form Calculation Using a Widget

  • Profile Image
    NeilVicente
    Answered on February 22, 2014 at 02:00 AM

    The calculation function looks for an integer in the option text and uses that as the operand.

    For example, if the option text is "5 little birds", the form will parse the number 5 and use it in the calculation.

    Hope you find this answer useful. Cheers!

  • Profile Image
    Beanie3556
    Answered on March 02, 2017 at 01:29 AM

    Assume you have a text field, where the user entered a text as follows:

    "This text is a test text consisting of a number of characters"

    (above text has 61 characters, space included)

    What calculation do you need to enter in order to return the number "61" in the calculated field?

    See below sample form.

  • Profile Image
    Kiran
    Answered on March 02, 2017 at 03:24 AM

    @Beanie3556,

    It seems that you have opened multiple threads on the issue while 3 of our support team members are assigned to the same issue which leads to confusion. Please be noted that it is not required to open multiple threads for the same issue. We will be addressing all the questions in the order they come in and as assigned. 

    We are marking this thread as answered. If you have any questions with this issue, we request you to follow-up on the other thread which was already addressed by one of our colleagues.

    Thank you!