Skip to main content
December 31, 2024
Question

Validation

  • December 31, 2024
  • 11 replies
  • 0 views

Hi ,

I have one scenario that where 

if the value is not 0 and the values should not round off and it should accept up to 9 decimals like 3.612232423.

 

Minimum Rate: 3.5

Maximum Rate: 4

 

input value is of number(dec) format i mean CDT has this data type, how can we achieve this if user enters any values apart from the scenario mentioned above should not except.

 

Thanks in advance.

    11 replies

    mikes0011
    Brainy
    December 31, 2024

    Why not just use a!floatingPointField() to collect the user input?  This will only allow a decimal value to be entered.

    December 31, 2024

    No, I tried with that by using floating field 

    mikes0011
    Brainy
    December 31, 2024

    Can you explain what you need that isn't accomplished by using this?  It's pretty unclear what you're trying to accomplish.