• Hello, thank you for CF7 plugin.

    The use of the “use_label_element” option is described on the page https://contactform7.com/checkboxes-radio-buttons-and-menus/ .

    Here it is:
    “Wrap each checkbox and radio button with <label> tag”.

    But on this same page, in the example below, in the Demo section
    https://contactform7.com/checkboxes-radio-buttons-and-menus/#demo
    you can see that the values ​​”China,” “India,” and “San Marino” are arranged in a row, one after the other.
    The text description “View source of the preceding form:” (below) shows the syntax for this line, using the “use_label_element” option:

    “Select Country (required)
    [checkbox* your-country use_label_element “China” “India” “San Marino”]”

    It turns out that Wrap doesn’t work even in the example provided.

    Could you please provide an example of the syntax for the “use_label_element” option so that we can see how Wrap works ?

    • This topic was modified 2 months, 3 weeks ago by vadimvv. Reason: added "" (lost by copying)
    • This topic was modified 2 months, 3 weeks ago by vadimvv. Reason: added "label" (tag lost by copying)

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    See https://contactform7.com/checkboxes-radio-buttons-and-menus/#demo

    The use_label_element option is working as explained.

    Thread Starter vadimvv

    (@vadimvv)

    @takayukister, Thank you very much for your work.

    In the original problem description, I referred to this link. As I wrote earlier, the Demo screenshot doesn’t show a visual representation of the Wrap function—the options aren’t wrapped to each line, as described in the instructions above (“Wrap each checkbox”).
    The screenshot shows that instead of “Wrap each checkbox,” the checkboxes are arranged in a row, one after another.

    Thread Starter vadimvv

    (@vadimvv)

    One more note: the presence or absence of “use_label_element” doesn’t affect the result.
    This is evident in the demo by the use of the lines

    Select Country (required)
    [checkbox* your-country use_label_element “China” “India” “San Marino”]
    and
    Select Fruit (required)
    [checkbox* your-fruit exclusive “Apple” “Banana” “Grape”]

    Visually, these are the same result, as can be seen in the demo screenshot.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.