Questions tagged [required-field]

Indicates the required status of data field, where "required" is contrasted from "optional". Such status generally indicates that any [non-null] value is considered acceptable when populating or evaluating a specific field or fields.

Overview

The designation required-field indicates the required status of a data field, where "required" is contrasted from "optional".

Such status generally indicates that any non-null value is considered acceptable when populating or evaluating a specific field or fields.

This designation applies to any of various contexts, but is primarily associated with data-entry and data-validation.

136 questions
0
votes
1 answer

Show/Hide Select Option for selected radio buttons

I have a 2 radio buttons and an option select dropdown that need to be selected by the user. The user must select a header, logo, and option for each. I have the select options hidden on page load then showing for the user selected radio button…
626
  • 1,159
  • 2
  • 16
  • 27
0
votes
3 answers

Making a field required when there are multiple forms

I have a page with multiple forms. I can simulate a required field via $('form').submit(function () { var empty_fields = $('input, textarea').filter(function () { //return empty required fields return $(this).attr("required") &&…
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
0
votes
1 answer

Code goes not recognize Verfiy Function after Clicking on Submit

I am trying to use the JQuery Ui function "Verfiy();" to verify that the name, age, country and date fields have been filled before allowing the form to submit. The verify function should be called when the user hits 'submit', however when I use…
Andrew Smith
  • 310
  • 3
  • 6
  • 19
0
votes
0 answers

How to make a required field in XSL/XSLT

I have 3 radio button selection choices, and if the user selects the option "Forward" there is an input field for them to enter an email address. How can I make that input field required if they select the forward radio button? I can't seem to find…
patient957
  • 336
  • 4
  • 12
0
votes
1 answer

Filename shows as a Required field in a Document Library in Sharepoint 2007

Ok, so got a stumped scenario. On a Sharepoint MOSS 2007 site, somebody messed around with the settings of a Document Library. You try and upload multiple documents to the document library and it keeps them as checked out. This was not occurring…
0
votes
2 answers

Django field required in a clean method in a form class

I want to redefine the required attribute for a field in a clean method of my form file: class NewUserFullForm(NewUserForm): REGEX_PHONE = '^(\+[0-9]{2})[ \.\-]?[0-9][ \.\-]?[0-9]{2}[ \.\-]?[0-9]{2}[ \.\-]?[0-9]{2}[ \.\-]?[0-9]{2}$' phone =…
Py.
  • 365
  • 1
  • 4
  • 10
0
votes
1 answer

Why doesn't a field marked "Business Required" throw an error when when passed a null value via the webservices?

In MS Dynamics CRM 2011 when a field on an entity is marked as "Business Required", I can create an entity via the webservice SDK without having to provide a value. I've read that this is widely known (and for some reason acceptable), yet I can't…
Mr Moose
  • 5,946
  • 7
  • 34
  • 69
0
votes
1 answer

asp.net mvc override dataannotations in strongly typed view

I have a customer object [StringLength(50)] [Display(Name="First Name")] [Required(ErrorMessage = "Required")] [RegularExpression("([a-zA-Z]+)", ErrorMessage = "only alphabets allowed")] public new string FirstName…
HaBo
  • 13,999
  • 36
  • 114
  • 206
0
votes
2 answers

PHP form validation check exising fields

Currently, a user can SELECT their name from the menu if it exists in the database. If their name doesn't exist they can add their name to the form. I want the form to CHECK if a name has been selected. If a name hasn't been selected, the user can…
user2075528
  • 55
  • 2
  • 2
  • 5
0
votes
3 answers

How do I make the first option in a drop down list an unacceptable answer?

Okay so I have a form and within this form are a bunch of required fields. The birthday part of this form consists of 3 fields: month, day, and year. Now what I want to do is have the words "Month:", "Day:", and "Year:" at the top of the drop down…
Kacy Raye
  • 9
  • 2
  • 5
0
votes
4 answers

How do I make radio buttons, select boxes, and checkboxes required fields in a form?

I've set up my code so that it would require all the fields within the form, but for some reason it's only applying to input types of text, email, and password. So my question is how can I get the radio buttons, select boxes, and checkbox to also…
Kacy Raye
  • 9
  • 2
  • 5
0
votes
2 answers

Wanting Form requirement one cell to equal other cells prior to submit

I don't know JavaScript at all. I've used Jotform to create a web based form with a whole bunch of conditions attached to it because I don't have a clue how to do that. Changed a lot of it to php so I can access my db. Anyway. It's a employee time…
ldiggins
  • 95
  • 7
-1
votes
2 answers

Replace required class with optional field in php

I am new to PHP and I purchased a theme that I need to customize the registration form. The fields are all required by default and the only way is to customize. How do I replace the "required" class with optional? Lastly, if i can also change a URL…
Avichai
  • 1
  • 3
-1
votes
1 answer

Does not work attr required if get it as JSON

I have the problem. I send ajax request as dateType: json, and get HTML code, paste it as $(selector).html(res.html), and browser don't understand attr required="required" and type="email", does not works. Only if I change dateType on HTML it…
Swain
  • 75
  • 6
-2
votes
1 answer

Have jquery script on local machine change the HTML client-side on a specific website

I am currently developing an extension for Azure Devops to ensure the "Related Work" field is required upon submitting a work item. There is no current in-app support to make it required to add a parent link. My process involves changing a specific…
1 2 3
9
10