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 ?, Custom fields. First, the name of the custom field is saved in a table. Then, what are the implementation methods for storing the custom field id and corresponding id in another table and the custom field?
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 --------------------
Discussion
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.