PerfectForms Forums » General

Blank numeric field with decimals

(2 posts)
  • Started 1 year ago by MABrown
  • Latest reply from Dennis @ PerfectForms
  1. MABrown
    Member

    I am having a problem with numeric fields in my current form project. Here are the requirements for the fields:

    The fields must appear blank (completely empty) to indicate that nothing has been entered.

    If something is entered, the fields must be validated to ensure that the value entered is a number up to two decimal places.

    The fields must be able to capture if the value entered is zero.

    If I use a numeric field and set it to 2 decimal places, then the field always displays a value, even if nothing has been entered. If I use a text field set to numeric, I can't enter the decimal. If I use a text field without formatting, I can't validate the entry.

    What can I do to address all three requirements?

    Posted 1 year ago #
  2. Use a numeric input field. Delete the "0" from the number field, and un-check the "Show Leading Zero" check box.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in or register to post.

Contact

1917 Palomar Oaks Way
Suite 160
Carlsbad, CA 92008
866.900.8588

  picture  picture  picture  picture