Skip to main content
Known Participant
Dec 31, 2024 3:00 PM UTC
Question

Validation

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
    Dec 31, 2024 4:42 PM UTC

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

    The Expression Guru
    Known Participant
    Dec 31, 2024 4:50 PM UTC

    No, I tried with that by using floating field 

    mikes0011
    Brainy
    Dec 31, 2024 4:52 PM UTC

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

    The Expression Guru