Non-blocking message to user

Hi,

I have another question today.
I have Map. There is field called Duration.
The field can accept inputs based on the user access.
Assume user A and user B.
Requirement:

Case 1
If user A and duration > 30
Error message. Should not allow to to proceed furtner

Case2
If user B and duration >30 and <40> 40
Arror message. Should not allow to proceed further

I did case 1 and case 3 using Reinput *message. How can I address case 3. Using reinput is not allowing me to go further?

Valuable suggetions please

Thanks,
Mishra