Hi,
I'm having number field where i was checking the requested tickets are greater than available and showing error as shown below:
If(
(DValue_TRequest.Selected.Value = "General" && Value(GTickets.Text) > Value(A_GenTickets.Text)) || (DValue_TRequest.Selected.Value = "VIP" && Value(VIPTickets.Text) > Value(A_VIPTickets.Text)),
"Requested tickets are more than available tickets",
Blank()
)
But, when i try to enter -1 in requested where the available is 0, it is not throwing any error ? am i doing any wrong here ?