Disable/enable button on form!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to enable my print button on the form if all the required
fields on my form have been entered. I would also like it to be diabled if
none or not all the information reuired has been entered. How do I do
that....

I have text boxes and several checkboxes. At least one should be selected
and at most 3.
 
Hi JOM -- You have a couple of options but I would use tags to mark the
required fields and loop through them to see if the data has been entered.
The trick is going to be when to call the loop. That depends on what the form
is used for.

If all required fields are entered, simply enable the buttons, but keep them
disabled by default.

I'm guessing you know that much, but if you provide a little more detail on
the textboxes, checkboxes, and form function and I'm sure more detailed info
will follow...
 
The form is used to enter detailed information about loans, This would
obviously need the customers name, address, the type of loan and some quality
control check boxes for the loan. The check boxes already have a tag which
am able to control upto how many things one can select. So when one press
print, its supposed to print the detailed loan information for the customer.

Let me know if this information is detailed enough......
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top