Hi! I work with a lot of forms within my website. To preserve a clear overview I would like to narrow down the number of forms (that serve the same purpose) as much as possible. So here's my question: I have 1 form and I would like to save the field data so several database tables (a table per client).
For instance: the form should start with a dropdown. Based on the selected value (which would be the client number), the rest of the form fields should be placed in the associated database table. So if I select option 1 in the dropdown, I want all the form data to be saved in table 1, if I select option 2 from the dropdown alle the data should be saved in table 2 etc. This way I hope I don't have to create one form per client.
Basicly, it would be perfect if the initial dropdown would show the client number as the title, and that the value would hold the database table to initiate of trigger some sort of action to save the data to this table.
Ik hope my question is clear and that this can be done. Thanks a lot!
For instance: the form should start with a dropdown. Based on the selected value (which would be the client number), the rest of the form fields should be placed in the associated database table. So if I select option 1 in the dropdown, I want all the form data to be saved in table 1, if I select option 2 from the dropdown alle the data should be saved in table 2 etc. This way I hope I don't have to create one form per client.
Basicly, it would be perfect if the initial dropdown would show the client number as the title, and that the value would hold the database table to initiate of trigger some sort of action to save the data to this table.
Ik hope my question is clear and that this can be done. Thanks a lot!