Jump to content

How to create dynamic subform?


jdlev

Recommended Posts

I'm hoping to use PHP to try and do something...I am trying to create a way for our customers to manage their contact information.  Basically, what I want them to be able to do is enter a person's name, and then select from a list what contact method they will be using.  For instance, if they select "phone", fields relating to phone will appear below the Contact Name, Title,  & Contact Type Fields.  If they select, "email", fields relating to email will appear below the contact name, title & contact type fields.  Here's an example:

 

For phone entry:

Contact Name

Title

Contact Type (upon selection - subform appears)

(Field Dynamically Appears ->)Phone

(Field Dynamically Appears ->)Phone Carrier

(Field Dynamically Appears ->)Contact Notes

 

For email entry:

Contact Name

Title

Contact Type (upon selection - subform appears)

(Field Dynamically Appears ->)Email Address

(Field Dynamically Appears ->)Email Subject

(Field Dynamically Appears ->)Contact Notes

 

Thanks for any help! :)

 

Jeff

 

 

Link to comment
https://forums.phpfreaks.com/topic/185121-how-to-create-dynamic-subform/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.