Jump to content

Client Custom fields for multiple group


Blesta Addons

Recommended Posts

9 minutes ago, naja7host said:

the simple solution is to add a checkbox that will add separate field for all checked groups .

 

Roughly how many client groups do you have? Checkboxes could get out of hand for those that have a lot. If the database allows only a 1-to-1 relationship between config options and groups, either method would work for being able to stamp out a new record for each client group. This becomes more difficult to manage if you need to edit the field name or something.

Link to comment
Share on other sites

i have no more than 5 groups . but maybe others has or need more than that .

i have forget the edit option, and for that i think it should a new database schema .maybe another table that will have custom_fields_id , group_id that will have the relation between custom fields and groups .

Link to comment
Share on other sites

  • 4 years later...
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...