Hi!
Sorry for a late reply,
It's working fine, but i got one question.
The users will input the times they want to work eg: 08:00 to 17:00
Could i do that the user could only input between 00:00 to 00:00
and the minutes should only be between 00 to 60
EG: if the user input 25:69 it should not accept or 14:68 it should not accept
EDIT:
If(Right(TextInput1.Text,2)>60,
UpdateContext(
{
varTime:
If(
IsMatch(
Self.Text,
Digit & Digit & Digit & Digit
),
Left(
Self.Text,
2
) & ":" &
Right(
Self.Text,
2
),
Blank()
)
}
);
Reset(Self),
Reset(Self));
This is my code now and it throws out an error: Invalid arguments type. Expecting one of the following: Number, Date, Time, DateTime.
It works without the right value..