3 Replies Latest reply on Jul 29, 2008 5:59 PM by g-s-b

    Simple TextInput Float/Int Restrict Question

      This seems like a very simple question but I just can't figure it out. What is the regular expression that I can fill in to the restrict field of an input box to limit the inputs to only valid float or integer values.

      This is what I have so far - restrict="\.\0-9\"
      The problem with this is that I can enter more than one dots (.) For example, which is not a valid float ! Any assistance would be really helpful !