little jimmy
New Member
- Joined
- Mar 21, 2013
- Messages
- 13
Hi,
I am trying to redesign an expenses form for work and need to put certain limits on meal types.
You can claim for breakfast, lunch and dinner and the maximum amount you can claim is £5, £5 and £18 respectively. The meal options are selected from a drop down list (there are other items in the list such as taxi, car park, bus etc..but these do not have limits to their value).
If someone wants to claim for breakfast they will choose that from the drop down list but if they enter a value greater than £5 I want a warning message to pop up (just like data validation) saying something like "breakfast amount exceeded" or "dinner amount exceeded" and will not allow them to enter more than £5. Likewise with lunch £5 and Dinner £18, but if they choose taxi or bus or other option from the drop down the value is not restricted.
Hope this makes sense.
I am trying to redesign an expenses form for work and need to put certain limits on meal types.
You can claim for breakfast, lunch and dinner and the maximum amount you can claim is £5, £5 and £18 respectively. The meal options are selected from a drop down list (there are other items in the list such as taxi, car park, bus etc..but these do not have limits to their value).
If someone wants to claim for breakfast they will choose that from the drop down list but if they enter a value greater than £5 I want a warning message to pop up (just like data validation) saying something like "breakfast amount exceeded" or "dinner amount exceeded" and will not allow them to enter more than £5. Likewise with lunch £5 and Dinner £18, but if they choose taxi or bus or other option from the drop down the value is not restricted.
Hope this makes sense.