How to get a form to show/hide fields on data input?

C

Charmain

I am trying to design a form where users can add up to 9 contacts with phone
number/fax/email fields etc. for each company. However most will only have
one or two contacts so I would like the telephone, fax and other fields to be
hidden unless something gets typed in the 'name' box? I'm sure I've seen it
done on internet forms but I can't seem to find any advice on how to do it!
please help!?
Thanks!
 
A

Allen

Use the After_Update event of one field to conditionally make
visible/invisible other fields. One caveat is that you cannot make a
field invisible that has the focus, so you may have to work around that
(maybe by setting focus to another field first).

For examples of conditionally enabling/disabling fields see the demo at
http://www.aislebyaisle.com/access/tools2.htm
 
Top