• I have different drop down menus with different text and values. In the end I want to output one field and output only the text one after the other. So not the mathematical value, but the text.

    I could of course just name the value and the text the same, but in the background every option has a value. So this must be different.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @samuelfernandez

    There are multiple alternatives.

    One of them, insert a summary field in the form, with the dropdown fields separated as the fields to display into the summary. And then, enter your own class names to display the side by side. These alternative does not require to use the same text for the choices’ texts and values.

    Another alternative:Enter the same text for the text and value of the Dropdown choice, and then, insert a calculated field in the form using the CONCATENATE operation. And if the resulting text is longer than calculated field’s box, you can display the result into another field. For example, you can insert a “HTML Content” field in the form with a div tag as its content where display the results:

    
    <div class="result-here"></div>
    

    and then, edi the equation associated to the calculated field, similar to:

    
    jQuery('.result-here').html(CONCATENATE(fieldname1, ' ', fieldname2, ' ', fieldname3, ' ', fieldname4))
    

    Best regards.

    I tried your first suggestion once and it works very well. Thanks! But if I now enter “fieldname12,fieldname23,fieldname22”, then these appear one below the other. Is it also possible to enter them side by side on one line? And can I also combine Text and Value in the summary? For example:

    fieldname12 = text
    fieldname23 = Value
    fieldname22 = Value

    If I enter it like above, the Field Label will appear with a colon. But I don’t need this for field 23+22. I would only need the value.

    Plugin Author codepeople

    (@codepeople)

    Hello @samuelfernandez

    If you want to display the summary elements side by side and hide the labels, you should to enter your class names into the settings of the summary field and define these styles through the “Customize Form Design” attribute in the “Form Settings” (https://cff.dwbooster.com/documentation#form-builder) to get the appearance you want.

    If you need we implement the styles for you, do not hesitate in contact us through our own website: Customization

    Best regards.

    With such a support you would like to work and pay. And I also like the individual service. I will definitely book something there.

    @codepeople Is it also possible to enter user defined text in the summary field? Something like this:

    fieldname12,fieldname23,SOME TEXT,fieldname22,fieldname3

    Plugin Author codepeople

    (@codepeople)

    Hello @samuelfernandez

    No, the summary fields do not accept you enter texts directly in its settings, but you can insert a hidden field in the form with this text, and include the field into the summary.

    Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to get the Text instead of the value’ is closed to new replies.