Hello All,
i have a textbox where user needs to enter values separated by ";", these values need to be added and check if sum equals to 10 or not.
could you please help me out...

Hello All,
i have a textbox where user needs to enter values separated by ";", these values need to be added and check if sum equals to 10 or not.
could you please help me out...
Hello @sai2001 ,
You can use the following code to add Numbers from TextInput and find whether it is equal to 10 or not.
Set(Nos,Split(TextInput3.Text,";"));
ClearCollect(Temp,{Total:0});
ForAll(Nos As n,Collect(Temp,{Total:Last(Temp).Total+Value(n.Result)}));
If(Last(Temp).Total=10,Set(FinalResult,true);,Set(FinalResult,false););
Use this code in OnSelect of a button and replace your TextInput control name.
The FinalResult will have your answer.
I hope this will help.
if you found this useful give a thumbs up.