Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [required-fields]

The tag has no usage guidance.

0
votes
1answer
80 views

Does a basic login form need to state required fields to pass accessibility?

One of the accessibility criteria is "3.3.2 Labels or Instructions" and one of the ways to meet that criterion is by identifying required fields. https://www.w3.org/TR/WCAG20-TECHS/H90 Is a website ...
20
votes
7answers
6k views

Using asterisk (*) when all fields are required

I have here: In terms of UX, do we really need to put asterisk or tell users that the fields are required where in fact all required and none is optional? I am thinking aesthetic wise, just remove ...
1
vote
1answer
67 views

How to design a form where inputs can be computed from other inputs? [duplicate]

What are the best practices when designing a form in which some inputs can be used to calculate other inputs? I am designing a form with about a dozen text inputs. The first three of these inputs are ...
1
vote
3answers
82 views

Best way to remind users to enter optional information if available

We have an internal AngularJS application that collections information about events and participants. Some fields are required and some are optional. Unfortunately there are a few fields (like phone ...
4
votes
3answers
579 views

Required Alternative Form Fields

I am wondering what the correct symbol would be to use instead of the regular * = required in the registration form we are using: We have an address form that has 4 fields of which one of them is ...
0
votes
1answer
49 views

Using required sign for inputs with default value

Should we use a required sign (*) for the inputs which cannot be left empty since they always contain some default value?
1
vote
2answers
623 views

Can a checkbox be a required field?

I am working on an application that always uses red font for required fields and black font for optional fields. In the past, the fields are textboxes or drop-down-boxes. I'm introducing a checkbox (...
2
votes
2answers
44 views

Should user entered data on conditional fields be cleared out when a new option is selected?

Let's say you have a radio set and depending on your selection, you will conditionally be presented with a text field to enter data. You enter data for one selection and then pick a new option, but ...
2
votes
1answer
92 views

Is it better to use Checkboxes or Radio Buttons, when there are two or more fields and at least one of them must be filled out to pass validation?

Is it better to use Checkboxes or Radio Buttons, when there are two or more fields and at least one of them must be filled out to pass validation? My concern comes to the validation errors that will ...
1
vote
1answer
298 views

Best Practice Validation for Long Form with Disabled Submit Button

Hi and thanks in advance for your help. I'm working on a form that was built using Angular 2. By default, the submit button is disabled until all required fields are complete. The form is long and ...
0
votes
1answer
62 views

Should I prompt user for total or subtotal?

I am updating a system for my company to automate business expense entries into accounting software. Currently, users create expense records in a web form that requires the total amount for the ...
4
votes
1answer
138 views

Required field validation message is consistency

1.In first question, if user has not selected radio button then i am showing the required field validation message as "Selection of Likelihood is required". 2.In second question, if user has not ...
6
votes
1answer
2k views

How do I mark required fields in form while using just placeholders?

I have my forms designed without any labels above input files, I'm just using placeholders to inform users what the field is. It works and looks fine, but my question is - how may I inform users which ...
11
votes
5answers
4k views

Vertical Alignment of a Required Asterisk Mark

We have a form with side by side placements of form labels and fields. The labels are left aligned and so are the input controls. Some of the fields are mandatory and are shown with an asterisk ...
6
votes
1answer
461 views

Accessibility and required form fields

As the years have gone by, I've noticed that the usage of the "*" for required on form fields has steadily vanished. Are there rules in accessibility that require "require fields" to have an ...
10
votes
13answers
5k views

Asterisk * is used for required. Is there any symbol used for optional?

It is common the use of asterisk (*) to indicate required elements. I understand the use of explicit text is better than relying on symbols. So writing "required" or "optional" is more understandable ...
8
votes
6answers
956 views

Which is better to show “Label (optional)” vs “Label (not required)”?

I prefer to write optional aligned with Form Label. Does writing "not required"? sounds more clear to user
1
vote
2answers
262 views

Required Postal Code for users from countries that do not have a postal code

The system requires an input for the postal code for all users, however the system does not require the postal code for foreign users, and some foreign users do not have a postal code. What is the ...
18
votes
6answers
35k views

Using asterisk (*) vs required [duplicate]

For a long time, the norm was to put a red asterisk "*" after the field label if the field was required. Now I am observing a shift into replacing the asterisk symbol with the word "(required)" after ...
4
votes
1answer
825 views

How best can I indicate conditionally required fields?

I often work on pages containing forms with complex requirements and subforms. The example below has these attributes: The default button -- that is, the button that will be "clicked" when the user ...
11
votes
5answers
2k views

How do I manage form validation for either/or fields

I have a form in which there the user is required to enter either a postal code OR select a city in order to do a search. If they fail to enter either and submit the form, currently the form ...
5
votes
4answers
4k views

How to indicate that one of a group of fields is required

I have a form where there are multiple fields. Some fields are required, and I have an asterisk next to them in red color. There are some fields where one of them is required. For those fields, I have ...
1
vote
2answers
1k views

Required field asterisk color

In common practice we put an asterisk to signify a field as required. The color of the asterisk should always be red, or we can use any other color ? How to show it effectively, when all buttons ...
2
votes
2answers
200 views

styling of required fields

I've been asked to build a form that captures a name and address of a user. This should be easy: just name field, then address field. Name and address are required. But client wants name to be a ...
37
votes
10answers
27k views

Mark or don't mark required fields if all are required?

If all fields in a form are required should they be marked somehow (eg. with an asterisk)? I see this done a lot and find it redundant? There could be a difference in big forms and small forms, but ...
15
votes
6answers
5k views

Required field validation

How should required field validation be handled visually? Note: assume asterisk is red *Name:[_______________] or Name:*[_______________] or Name: [_______________]* or Name: [____red bg____ ]...