required-field

Required fields in flex.

Hi, I've got a question about flex. I have a form and the email is required. I googled this and found the found the following solution: <mx:FormItem label="Email" id="emailFormItem" width="100%" styleName="formEven" required="true"> <mx:TextInput id="emailTextInput" width="100%" text="{user.email}"/></mx:FormItem> The problem...

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 = forms.RegexField(REGEX_PHONE, help_text='Ex : +33 1 34 12 52 30') fax = forms.RegexField(REGEX_...

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 before. The library settings (versioning settings are set to Yes to check out before edi...

Android: need to validate an edittext for non-blank input

If I want to enforce a maximum length of input in an EditText field, I can use the maxLength attribute. But if I want to enforce a minimum length (in my case, simply non-blank), I find no corresponding minLength attribute. I've also looked at the various 'inputType' attributes (phone, password, etc) but I don't see anything like 'requi...

Although not [required] List field shows up as required and Model State is not Valid due to it being null?

I have the following code- View- <% Html.BeginForm(); %> <div> <%= Html.DropDownList("DropDownSelectList", new SelectList( Model.DropDownSelectList, "Value", "Text"))%> Controller- public ActionResult Admin(string apiKey, string userId) { ChallengesAdminViewModel vm = new ChallengesAdminViewModel(); vm.ApiKey = apiKey;...