Announcement

Collapse
No announcement yet.

How add, add button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How add, add button

    In my contact form, I have integrated a line with information on the management of domain names

    I have 3 boxes with 1 text field, 1 multiple field and a date field

    I would like to add an add button so that I can put multiple fields but it duplicates the entire line with the 3 FIELDS

    thank you

  • #2
    I can't help you create a button that do this. But it is certainly possible using Formula and concatenate.

    I written a length about concatenate somewhere on the forum but I can't seem to find it.

    Basically once you save it, or whenever you make an edit. it will copy and paste the 3 field however you like it to. You can read more about formula here: https://docs.espocrm.com/administration/formula/

    Comment


    • #3
      Same button than email add

      sorry i don't understand why use formula

      Comment


      • #4
        There is no built in or GUI way to accomplish what you want, you will need to write your own code for this.

        Here are some possible sources to study if you want to pursue this route:
        https://docs.espocrm.com/development/custom-buttons/
        https://forum.espocrm.com/forum/developer-help/61108-reference-espo-gui-script-map-guide-where-can-i-change-something

        EspoCRM – Open Source CRM Application. Contribute to espocrm/espocrm development by creating an account on GitHub.


        I also offer an extension that will allow you to add multiple fields on the fly, but it will store the fields values as json objects not as regular table fields. Here's the link if you are interested: https://payhip.com/b/3ATl

        Comment


        • #5
          on your module i can choice line or it's you exemple with date, text, drop, phone

          or i can choice ?

          Comment


          • #6
            With the matrix extension you choose which type of columns to include.

            In the example below, the matrix is called Inspection Events and has four columns: Inspection Date, Inspection Comments, Inspection Event and Inspection Results

            Click image for larger version  Name:	Matrix Field Definition.png Views:	0 Size:	42.2 KB ID:	79831

            The user can choose which type of field is the column and the specifications for that field

            Click image for larger version  Name:	Matrix Field Column Definition.png Views:	0 Size:	39.7 KB ID:	79832

            Think of Matrix as a table that you design and its contents are stored as a single field in the database, so an Expo entity can have one or many matrices.

            Click image for larger version  Name:	Matrix Field Detail Mode.png Views:	0 Size:	22.8 KB ID:	79833


            Click image for larger version  Name:	Matrix Field Edit Mode.png Views:	0 Size:	32.4 KB ID:	79834
            Attached Files

            Comment


            • concept
              concept commented
              Editing a comment
              Hi,
              Where can I find this extension?
          Working...
          X