Hi
Sorry I should have added the code to my original question.
The icon.Warning changes colour and turns from a red warning sign to a green tick. The red warning sign shows as soon as you open the submit form.
##########################
on icon:
If(
IsMatch(
DataCardValue4.Text,
"([A-Za-z]*)"
),
Check,
Icon.Warning
)
##########################
On Colour:
If(
IsMatch(
DataCardValue4.Text,
"([A-Za-z]*)"
),
Green,
Red
)
##########################
Thanks
Colin