Okay
  Public Ticket #3147165
Use Admin Field Label instead of Field Label
Closed

Comments

  • Serge started the conversation

    Hi, this is about the add-on on Gravity Form integration.

    Currently, wpDataTables uses the Gravity Form "Field Label" (ie a form's field question asked to the user) as the title for the Column of a table. Is there an option to use the Gravity Form "Admin Field Label" (in gravity form, when you click on a field, this is located in the "advanced" section) instead?

    Example: 

    - "Field Label" = "Please tell us a little about what you did last Saturday between 5pm and 7pm? We need the location, address, people you were with, etc..."

    - "Admin Field Label" = "Alibi"


    There are 3 reasons for this:

    - Questions "Field Label" can be really long, and hence not convenient as column title. Of your you can change the title later (in column settings), but this can get tedious.

    - wpDataTables  Table creation does not work if the "Field Label" exceeds a certain number of characters (e.g. 272character). It gives an error. So in this case, to use this field, the "Field Label" (ie the question in the form) must be reduced in size in gravity form! Not a solution.

    - Report Builder that rely on wpDataTables  as data source use the column Name (not the displayed heather). The column name is made using the first 67 characters of the "Field Label" (after removing all spaces and special characters). This is not great, because to refer to the column, we must use this very long name. 


    Letting the user "Admin Field Label" instead solves for all of this.

    Serge

    Attached files:  dattables.jpg
      GF.jpg

  •  1,702
    Miloš replied


    Hi, Serge 

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    To be honest with you, I am not 100% sure if we have a workaround for what you suggested here,

    as far as i am aware, we are currently not able to use  the "Admin Field label",  in our integration with Gravity Forms,

    but I will double-check with our 2nd level Team,  and we will report back to confirm this for you.

    Thank you for your patience.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Serge replied

    Thank you Milos. I look forward to hear back from you. 

    FYI, the "Admin Field label" is freely accessible as any other field for each field of a form in the "pqlf_gf_form_meta" table of the database, in the Column: display_meta

    You can see (in the below example) that the label is "Input your Email" but the adminLabel is just "email". So you can get it from the same place. Just another part of the JSON.

    {"title":"Test From","description":"","labelPlacement":"top_label","descriptionPlacement":"below","button":{"type":"text","text":"Submit","imageUrl":"","width":"auto","location":"bottom","layoutGridColumnSpan":12,"id":"submit"},"fields":[{"type":"email","id":15,"formId":1,"label":"Input your Email","adminLabel":"email","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"autocompleteAttribute":"email","description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":""

  •  1,702
    Miloš replied

    Hi, Serge 

    Thank you for this additional detail,

    i will add that to the information for our 2nd level Team.

    Once they go over everything and double-check to be sure,  we will report back with an update for you.

    Thank you for your patience.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Serge replied

    Hi, I also wanted to provide more explanation on this point: 

    "wpDataTables:  Table creation does not work if the "Field Label" exceeds a certain number of characters (e.g. 272character). It gives an error. So in this case, to use this field, the "Field Label" (ie the question in the form) must be reduced in size in gravity form! Not a solution."

    This creates 2 problem: 

    1. In the backend: The field cannot be added to the table. If you try to add it, you get an error.

    2. In the frontend table: The entry cannot be edited (even if the field is not in the table). When clicking on edit, the table freezes and never comes back.

  •  1,702
    Miloš replied

    Hi, Serge 

    Thank you for your patience, i have confirmation from senior level 2 Team about this.

    Sorry, but at this time it is not possible to change the logic as you need it.

    The add-on currently works like that.

    -

    I also have to point out that this is a Pre-Purchase section for support.

    If you need additional assistance/advise,  please open a ticket in Gravity Forms section.

    We can not provide premium level of support without a valid licence ( confirmation of purchase).

    Let me know if you have any questions. Thank you

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables