Questions tagged [fieldset]

The fieldset tag is used to group related elements in HTML and XHTML documents. The fieldset tag draws a box around the related elements.

The fieldset tag is used for organizing and grouping related elements within a form. The tag when used the proper way makes HTML and XHTML documents more accessible to nonvisual browsers. When using the fieldset tag the browsers may display a box around the elements within the fieldset tag. The fieldset tag requires an end tag. You can also nest fieldset tags.

520 questions
4
votes
0 answers

Safari 11 Bug Fieldset-Legend with Overflow Hidden and Click

Since Safari 11 for Mac checkboxes (and links/other click-events) are inaccessible when placed in a , does anyone know of a workaround? JS fiddle contains a demo, neither the checkbox can be checked, nor the click-event fires. Both work in…
elveti
  • 2,316
  • 4
  • 20
  • 27
4
votes
2 answers

Accessibility on Apple voice over issue with fieldset legend

I am using Mac (10.8.5) and Safari [6.2.4]. I have created a field set to group my inputs and added a legend text to it. I have also applied css to hide the legend from the UI - but the legend and label are available in the DOM. NVDA on Windows/IE…
Dhana
  • 91
  • 9
4
votes
1 answer

Is the
+ top border "erasing" behavior defined by any standard (HTML or CSS)?

Back in the IE6 days, I used to simulate Windows-style Group Boxes (see example) in HTML by creating a div with a border, and positioning a span with the text over the border with a solid background color to "erase" the box border. It was trivial to…
jimp
  • 16,999
  • 3
  • 27
  • 36
4
votes
2 answers

How do I create custom fields like mobile number in customer registration form without modifying magento core files?

How do I create custom fields like mobile number in customer registration form without modifying magento core files? I tried but the mobile number is not saved in the DB I override the Mage_Customer_Model_Entity_Setup class with…
Sreejith Sasidharan
  • 1,318
  • 5
  • 25
  • 46
4
votes
4 answers

Fieldset contents overflow in Firefox

I am having a css issue with fieldset and wonder if you could help? I have a fieldset with width smaller than its content div's width. I want the fieldset to display a horizontal scroll bar as the content is too wide but it only works in IE's not…
Eric
4
votes
5 answers

Is there a way to loop through all fields in a fieldset?

I would like to change the class for all the fields in a specific fieldset. Is there a way to loop through the fields in a fieldset?
dmr
  • 21,811
  • 37
  • 100
  • 138
4
votes
3 answers

Do input names have to be unique in the same form?

I have a form with multiple fieldsets. Each fieldset has multiple inputs, some of which would logically share a name attribute. I have looked on MDN for input name and the HTML 5 spec with no luck. Section 4.10.19.1 of the HTML 5 form spec does not…
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
4
votes
2 answers

Getting the input box 100% even width inside a fieldset element

How can I get my input box positioned evenly inside my fieldset element at 100% width with respect to my fieldset? As it stands now, it seems the input box is overflowing on the right out of the fieldset and im not sure why? Here's an image of the…
Jason Kelly
  • 2,539
  • 10
  • 43
  • 80
4
votes
1 answer

ZF2: allow empty fieldset, but validate if least one is filled out

I have defined a fieldset for phone numbers. This contains fields "type" (private, Office mobile ...) and "number". The Input filter for number is "required => true": `` class PhoneFieldset extends BaseFieldset implements…
4
votes
1 answer

Nesting Fieldsets under Radio or Checkbox items: Zend Framework 2

I would like to create a fieldset under each radio/checkbox item. e.g Which animals do you like: [x] Cats [Fieldset of cat related questions] [ ] Dogs [Fieldset of dog related questions] ... I can create Fieldsets and Forms with ease,…
Aborgrove
  • 288
  • 5
  • 16
4
votes
2 answers

Jquery: Add fieldset element between form

How to insert fieldset inform using jquery now I have this
all dynamic field generated with db and array
I want to add fieldset between form tag so code become
all…
Code Lover
  • 8,099
  • 20
  • 84
  • 154
4
votes
3 answers

Align select and input

Is possible align SELECT and INPUT inline without specify WIDTH size, without using tables and with the same HTML? See picture. Live example: http://jsfiddle.net/N4hpQ/ Thank you.