Add specific validation to text

Hi! Just wanna ask how can I make the text file only accept values that are in this format

1.1.1

1.2.2

etc

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Harshit Bumb (Appyzie)

    hey Harshit 

    Thanks for the quick reply but it is not working

    I am using this way in the validations expression editor of the decimal field

    if(
    ri!record.totalAmount = todecimal(fixed(ri!record.totalAmount, 2)),
    {},
    "Invalid value"
    )

    getting this error 

    Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function 'fixed' [line 56]: A null parameter has been passed as parameter 1

Children