M
Mr-Re Man
I was hoping someone could provide me with a snippet of code so that I can at
last get a form to work correctly.
I have a "check box" called "Staff_Required" to represent yes and no, and a
box called "No_of_staff" that allows a number to be input.
I have already set up the form so that if the "Staff_Required" check box has
a tick the "No_of_staff" box is displayed, and likewise, if no tick is in the
box, the "No_of_staff" box is not displayed.
What I require, if someone indicates by placing a tick in the
"Staff_Required" check box, is an error messgaae that prompts the user to
input a number if they have left the "No_of_staff" box blank or to input a
number if they enter a negative value or zero. check box.
I'm sure this is very simple, I have tried a few alternatives from this
forum, but sadly failed.
last get a form to work correctly.
I have a "check box" called "Staff_Required" to represent yes and no, and a
box called "No_of_staff" that allows a number to be input.
I have already set up the form so that if the "Staff_Required" check box has
a tick the "No_of_staff" box is displayed, and likewise, if no tick is in the
box, the "No_of_staff" box is not displayed.
What I require, if someone indicates by placing a tick in the
"Staff_Required" check box, is an error messgaae that prompts the user to
input a number if they have left the "No_of_staff" box blank or to input a
number if they enter a negative value or zero. check box.
I'm sure this is very simple, I have tried a few alternatives from this
forum, but sadly failed.