Hello community,
I have a question about fields. How can we add multiple values to a single text field like email or teams in JS or PHP when working with multiple modules?
Hello community,
I have a question about fields. How can we add multiple values to a single text field like email or teams in JS or PHP when working with multiple modules?
Hello Kishan Singh ,
Email or Teams are tricky examples are they are actually relationships, when adding an new row you'll be adding a new relationships to Emails or Teams module.
On stock fields you have the addresses fields that perhaps you can you as an example, these are text fields that are grouped, but each row will be a new field:
Can you let us know what is the requirement behind your question to give us a better overview of what would be the best way forward?
Cheers,
André
I never done but look into "#Styleguide/fields/index" search for "Example SugarCRM Fields" there is an example from emails , perhaps you can.
Rodrigo Manara
Sr. Developer
I have already performed a task, but now I want to create a field that allows for multiple records to be added to it. For instance, if I have a text field, I don't want to create additional fields to add multiple records for the same field. Can you please assist me with this?
Thank you for reaching out.
I went through the instructions, but I'm not sure how to set it for specific fields.
Thank you for helping.
Hello Kishan Singh ,
From your description it sounds like a one-to-Many Relationship.
Would it be an option to Create a custom module instead of your text field and to show the information to the user via Subpanel?
Can you share what is the data that the text file store and what it represents to have a better idea of the business problem?
Cheers,
André
Normally what I do I override the field for the module and the job is done.
custom/base/fields/text/
but here you should only override on filed that you want.
add your changes this way.. test and see if that works. you should be able to override some actions your self
Rodrigo Manara
Sr. Developer
Hi Rodrigo Manara,
could you provide me a simple code or any link for that?