How do I implement custom fields? My idea is to save the user input field information in a separate table, and read the type and other information of each field from the database when outputting the form. is this reasonable? ------ Solution -------------------- custom fields. First, the name of the custom field is saved in a table. Then, store the custom field id and corresponding id and value in another table. ------ Solution --------- What are the implementation methods of custom fields?
My idea is to save the user input field information in a separate table, and read the type and other information of each field from the database when outputting the form. is this reasonable?
------ Solution --------------------
Custom fields.
First, the name of the custom field is saved in a table.
Then, store the custom field id and corresponding id and value in another table.
------ Solution --------------------
Required
Form table
Field table
Data table
------ Solution --------------------
Reference:
Unreasonable combination depends on your needs.
It depends on what features you implement.