4 Replies Latest reply on Feb 24, 2016 7:26 AM by malik79766761

    Restrict TextInput to accept Floating point numbers

    mfsiddiq Level 1

      Hello Everyone

       

       

                 I want to know how i can restrict my textInput field to accept a decimal values only.It should check for the following condition.

      It should allow a maximum of 8 digits before the decimal point and a precision of 2 digits,Shouldnt accept more than one decimal point.Sample snippet will be really helpful.

      Thanks & Regards

      Sidd