• Resolved thanatica2

    (@thanatica2)


    Fieldsets are great, don’t get me wrong. But it seems impossible to make a fieldset without a legend. Now that may seem silly at first, but sometimes a fieldset *just* doesn’t need a legend. For instance, the “security” fieldset only has the security field and a button. And a form may consist of only one fieldset (apart from the security thing).

    Anyway, what happens is, in the admin panel the fieldset goes wonky. Workable, but clearly not tested for having no title. Worse, in the resulting HTML, there’s still a <div class="legend"><h3></h3></div>. I need that gone of there’s no legend. Empty HTML elements are bad practice.

    http://ww.wp.xz.cn/extend/plugins/visual-form-builder/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter thanatica2

    (@thanatica2)

    This is still the case… Forms don’t always need a (visual) fieldset, so it would be appreciated if this was facilitated in VFB as well…

    Plugin Author Matthew Muro

    (@mmuro)

    I don’t plan on changing this.

    Thread Starter thanatica2

    (@thanatica2)

    Would you plan on changing it in the Pro version?

    Thread Starter thanatica2

    (@thanatica2)

    Or let me put it this way:
    What do you suggest I do when a fieldset isn’t neccesary?

    Plugin Author Matthew Muro

    (@mmuro)

    If you don’t need an additional fieldset for a group of fields, use the Section field. This will group fields inside a fieldset and allow you to section off, visually, the different fields.

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

The topic ‘[Plugin: Visual Form Builder] Legend-less fieldsets’ is closed to new replies.