A
Anita
I need strategic advice re: my form design.
I am building a Contact form where users can enter basic contact information
for an Entity.
To make it easier to account for the fact that people have multiple email
addresses, mobile devices, etc., I did NOT build a "flat" contact table with
fields like email1, email2, etc.
Instead, I built a Contact table with a ContactType field that specifies
whether the type of contact info is an address, email, cell phone, etc. and a
few "flat" fields where they actually enter the info itself.
With this structure, one Entity can have several Contact records (a separate
one for each mailing address, each different type of phone #, each email
address, each URL, etc.). The Entity and its many contacts are housed in an
Entity-Contact join table.
So here's my question.
To speed data entry, I don't want to force my users to have to select
"Address, Email, Cell Phone, Home Phone" etc. from a drop-down list before
they can type in the info. I want them to see a "regular" form with
placeholder labels for each type of information, and just be able to tab from
field to field, filling things in.
The only way I knew to do this was to create subforms for each address type
and put all these subforms on a master Data Entry form. (In other words, I
have an address subform, a fax subform, a cell phone subform, an email
subform, etc.) It works, but it's cumbersome and repetitive from a design and
coding standpoint.
Is there a smarter, faster way to accomplish this?
I am building a Contact form where users can enter basic contact information
for an Entity.
To make it easier to account for the fact that people have multiple email
addresses, mobile devices, etc., I did NOT build a "flat" contact table with
fields like email1, email2, etc.
Instead, I built a Contact table with a ContactType field that specifies
whether the type of contact info is an address, email, cell phone, etc. and a
few "flat" fields where they actually enter the info itself.
With this structure, one Entity can have several Contact records (a separate
one for each mailing address, each different type of phone #, each email
address, each URL, etc.). The Entity and its many contacts are housed in an
Entity-Contact join table.
So here's my question.
To speed data entry, I don't want to force my users to have to select
"Address, Email, Cell Phone, Home Phone" etc. from a drop-down list before
they can type in the info. I want them to see a "regular" form with
placeholder labels for each type of information, and just be able to tab from
field to field, filling things in.
The only way I knew to do this was to create subforms for each address type
and put all these subforms on a master Data Entry form. (In other words, I
have an address subform, a fax subform, a cell phone subform, an email
subform, etc.) It works, but it's cumbersome and repetitive from a design and
coding standpoint.
Is there a smarter, faster way to accomplish this?