Skip to main content
udayasain741
November 21, 2022
Question

Validate text fields

  • November 21, 2022
  • 9 replies
  • 0 views

Hi Team,

how to validate below scenarios

a!localVariables(


i have A,B,C,D Values and

local!name,

if local!name = "X" then values should be A>B>C>D and if local!name = "Z" then it should validate A<B<C<D and in any other local!name value it should accept only numeric  values 

    9 replies

    stewart.burchell
    November 21, 2022

    I'm not sure what you mean by "A>B>C>D" or "A<B<C<D" ? 

    udayasain741
    November 21, 2022

    it contains values which will be entered by user

    example : A = 1, B= 3,C= 10,D= 4

    I should validate based on above conditions if not it should show validation message to user

    stewart.burchell
    November 21, 2022

    It sounds like you are planning to have a single text box into which the user can input one or more numeric values. How many can they input? What will you use as a separator? What is the biggest / smallest number they can input? (Can they enter: "5 99 -33 6863748"? How many can they they input? (I ask all these questions because I have doubts that using a single input test file dis the bets design here. Are you able to elaborate on the bigger picture? What's the purpose? What will you use those values for? What do the values represent?)