Hi @johnjohnPter ,
Please try this:
1)Create a collection of ASCII values for special characters except comma.
OnVisible of screen:
ClearCollect(
col,
ForAll(
Sequence(15),
{test: Char(32 + Value)}
),
ForAll(
Sequence(7),
{test: Char(57 + Value)}
),
ForAll(
Sequence(5),
{test: Char(90 + Value)}
),
ForAll(
Sequence(4),
{test: Char(122 + Value)}
)
);
RemoveIf(col,test=Char(44))
2)Set the textinput:
OnChange:ForAll(col,If(test in Self.Text,Notify("can not enter any special characters except(,)")&Reset(Self)))
Best regards,
Rimmon