validation on textbox
Hi,
i have the following for :
date:
station name:
inflow target:
outflow target:
inflow actual:
change of storage:
outflow actual:
and i have a bit of complicated issue,that when a user enters the inflow actual and change of storage,they should satisfy the following equation:
inflow actual - (change of storage) =~ outflow ctual
(=~ means the value of the right hand side should be equal or different by 2.5% from the left hand side)
i want the user when entering those values ,if they are more than the specified criteria,it gives a warning pop up message saying(your value exceeds the agreed range,do you want to continue)then yes or no buttons in order to fill the remaining fields of the form and press confirm to save them.
is that possible???
|