How can I get the "other" field in the Radio Buttons options to be validated as a number for the calculation widget

  • Profile Image
    thescenedramaworks
    Asked on August 10, 2014 at 04:37 PM

    How can I get the "other" field in the Radio Buttons options to be a numeric field?



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

  • Profile Image
    KadeJM
    Answered on August 10, 2014 at 04:48 PM

    Did you mean that you are trying to set the " Other " option for the radio to a numeric validation? Or?

  • Profile Image
    Pete 
    Answered on August 12, 2014 at 02:51 AM

    Yes. I would like to allow numeric entry in the other field so that I can use the result in a calculation. All of the radio button options are numeric and works fine in the calculation. But the "Other" field appear to be set to text or perhaps alpha numeric. When I put an number in the "Other" field it does not calculate. Is it possible? Any help would be appreciated.

  • Profile Image
    TitusN
    Answered on August 12, 2014 at 09:19 AM

    Hello, 

    I'm afraid you cannot currently apply numeric validation for that field yet - I doubt that validation is what is causing the calculation widget not to read it though...

    In any case, our developers are better placed to advice about this - I have forwarded your request, and we shall update you on this thread -

    Thank you for your patience.  

     

  • Profile Image
    thescenedramaworks
    Answered on August 12, 2014 at 08:54 PM

    Thank you for your quick response - your illustration is exactly what I'm trying to do. I'd love to know if your developers are able to solve this. As a practical matter, this type of functionality has profound implications. 

    For me, it relates to charitable donations where each of the options in the radio button is a number. The results of the calculations will then be passed through to the currency field of the form so that payments can be processed via PayPal. So as you can imagine, this is tremendously useful. I look forward to finding out what your developers can do. Thanks again

  • Profile Image
    thescenedramaworks
    Answered on August 14, 2014 at 01:11 AM

    This is EXACTLY what I wanted. Many thanks to your entire team there at JotForm - You guys/gals are great.

  • Profile Image
    Edwinaponte
    Answered on February 28, 2017 at 03:13 PM

    What this ever solved?

  • Profile Image
    Chriistian
    Answered on February 28, 2017 at 05:31 PM

    Hi @Edwinaponte,

    Yes, it was solved. Please see below on how it works.

     

    Here's a sample form you can check. https://support.jotform.com/build/70586869281976

    Let us know if you need further assistance.