The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
28 views

Can I edit or remove universally require standard fields in Salesforce?

The Orders object in Salesforce has a status field that is a picklist. I tried to edit the field by adding more options, but the editing I can do is very limited and for some reason I can not add more ...
0
votes
1answer
19 views

Validation Rule to make Notes required [closed]

I am trying to create a validation rule where if Stage is Closed Lost or Cancelled the Notes field is required. I am having problems with the formula.
0
votes
0answers
33 views

Visualforce page bypass required fields on insert

I created a VF page that the user(opportunity owner) is directed too when they click on an opportunity and they are the opportunity owner. The page just asks the user simple compliance questions and ...
0
votes
3answers
47 views

On a Live Agent Pre Chat form, how can I make a field mandatory?

I have a pre-chat page and it's working fine. I just need to make (say) the name field a required one. HTML 5 states you can use a "required" attribute on the <input type="text" ... > But ...
-1
votes
2answers
63 views

How to bypass required fields in vf page [closed]

I have the below vf page where i am getting the required fields error if i dont fill the field and press the command button. I want to make both the section independent.How to do it. Below is my vf ...
2
votes
4answers
42 views

Need of 'Field Required' against 'Required Validation Rules' [closed]

Please let me know why 'required attribute' while creating field when we can do with Validation rules. Thanks in advance
0
votes
0answers
19 views

Zendesk New Ticket Layout in Salesforce

I would like to know how in the Zendesk New Ticket Layout in Salesforce I can make the Requester Name and the Requester Email to be not required and to make the Group and the Assignee field required? ...
7
votes
1answer
144 views

Dynamically get required fields with JS Remote Objects

I'm designing a VF SPA that uses remote objects. Much of the page is dynamic, and I use user input to define which sObjects I look up. I wanted to know how, given a user input for a sObj, I can return ...
1
vote
1answer
46 views

How to ensure that article manager use specified values for custom article fields?

How do I ensure that the article manager uses specified values for custom article fields? Which of the following options I should implement? validation rules on article object Make fields required ...
0
votes
1answer
69 views

Why is there no way to determine if a field is required?

I look at the question here: Is there a way to find required fields on an objects? which offers this advice: I think you can infer it, if a field is Createable and not Nillable and not ...
1
vote
1answer
83 views

Conditionally requiring field in PageBlockTable based on selection checkbox

I have a pretty standard use case where I have a PageBlockTable where you can select any number of rows to process. //wrapper class public class CaseWrapper{ public Boolean selected {get; set;} ...
1
vote
1answer
50 views

Workflow and Field Update to Standard, Required Field

On the Standard Contract Object, I am trying to make a default picklist value for Status upon Contract record creation. When I use a workflow and field update, the field doesn't get updated in the ...
0
votes
1answer
108 views

How to change the color of indicator

How can we show indicator for required field in VF page, There is always a red indicator , I want to have some other color indicator against the fields, I am using outputfield to show the values and ...
4
votes
2answers
94 views

Inputcheckbox Required field not throwing a validation

I created an apex:inputCheckbox and I made that checkbox required in the Visualforce page, by using required=true. I filled in all the fields except this checkbox and hit save, the fields are saving ...
0
votes
1answer
379 views

Error : You must enter a value

All users in my org are getting below error for required fields inspite of filling required fields using magnifying glass lookup icon and trying to save a record on a Standard Pagelayout. These two ...
3
votes
1answer
99 views

Field universally required, what happens in the Page Layouts?

I have the following code. Account a = new Account(Name='Doria Account'); insert a; It returns me an error because the field "Industry" is required. What is weird is the fact that in the Page ...
2
votes
1answer
60 views

Find required values for salesforce objects

I want to know how to find Required Fields For An Object. Either through code or through a GUI. If I try to create a new User, I can't because some fields are required to be defined. How can I tell ...
1
vote
1answer
113 views

How to “unrender” an OutputPanel with required fields on

I've overridden the new Opportunity page and I have a dynamically generated picklist of Contact Names and a static value "New Contact". When "New Contact" is selected a new panel is displayed with ...
3
votes
3answers
2k views

The input text <apex:inputtext> in a repeat (for loop) doesn't work with the validation required field

I have a custom object Team member contains four text fields First Name , Surname, location and job title and First Name and Surname is a required fields (When i create them i make them required). ...
0
votes
3answers
141 views

Adding a record to more than one case

I have written a visualforce page that displays a notes field, a date field, and 4 case fields. I am trying to submit the notes to each of the cases but it is only submitting it to one case. ...
1
vote
1answer
161 views

Nillable for required attribute

I'm wondering meaning of "nillable" used in the required attribute below: <apex:inputField value="{!Case.Invoiced_Tons__c}" ...
1
vote
3answers
284 views

No error shows up when a 'required' field is left empty

I am using to get as input certain values. I have set the 'required' attribure of inputText to 'true' but unfortunately, if i do not enter any value to the field then no error shows up. here is what ...
1
vote
2answers
363 views

selectOption Required only when Rendered

I have a vf page with radiobuttons. This is rendered only when a condition satisfied. The radiobuttons need to be mandatory only when it is rendered. But the problem is even if the radio options are ...
3
votes
2answers
218 views

Standard Name field required from standard page layout but not from Apex code

When the standard Name field of an object is set as Text, it shows a weird behavior if left empty. It is not possible to mark it as required or non-required, but when editing a record from its ...
8
votes
1answer
2k views

Force.com IDE profile deployment - You cannot deploy to a required field Object_Name__c.Field_Name__c

The following error pops up when I am trying to move all the meta data from one environment to another (with Profiles). You cannot deploy to a required field Object_Name__c.Field_Name__c Upon ...
0
votes
2answers
51 views

How Can I made Compulsory User Look up field on my Custom Object Page layout

I have Employee Custom Object who will be having his/her own User credentials, so I want to add Lookup of User on Employee Page Layout which should be compulsory / required field.
1
vote
0answers
226 views

Can I call Salesforce to get mandatory fields removed from my organisation?

We do not use a number of fields on opportunity, opportunity product, and service contract line items and would like to at the very least remove them from the page layouts. But alas we can't. Our ...
9
votes
3answers
4k views

Required fields do not allow cancel

I have a custom VF page that I am using as a custom cases page, standardController="case". I have an apex:form with a few apex:inputField to create the boxes. Inside the form I have a save and cancel ...
1
vote
0answers
115 views

Find the field is mandatory or not

I am developing an application for Salesforce integration. My requirement is to get all the validation rule and Mandatory fields from Lead category like we have lead status as mandatory in salesforce ...
4
votes
2answers
2k views

How can I tell from REST api which of an object's fields are required?

I am trying to create objects with the REST api, which works fine as long as I specify a value for each required field in the POST. The question is, how can I tell from the API which fields are ...
1
vote
0answers
363 views

Custom Button Using Search Functionality

I have a project I'm stumped on. I'm adding a detail page button that uses the search functionality to create a Find Duplicates Button on Contacts. Below is the code I'm using. I'm getting the ...
0
votes
2answers
667 views

required field only for some users

I have a required field that only needs to be required for some users. (not all) At this time, I have written a validation rule that will only do the validation for the users that I want. The problem ...
2
votes
2answers
1k views

How to identify the is field required from field set?

I have create a field set for a custom object and i am displaying the field set on a VF page. I am not using apex:page block bec i want to change the style of the page so i am displaying using a ...
5
votes
1answer
610 views

Apex: check if a record has empty required fields

How to check if a specific Account record has mandatory fields that are empty? What could be the steps of doing it? This is what I was trying to do (but with no luck): //All field names of the ...
7
votes
4answers
8k views

How can I dynamically render required fields using a Dynamic Component

Background I have a Visualforce page on which I am rendering a lot of fields using a Dynamic Component (which is an Output Panel that contains all of the fields). The fields are added based on a ...
2
votes
1answer
93 views

Unit test failing

There are a couple of classes failing with the following errors for a particular user who is trying to install a Managed package : "System.DmlException: Insert failed. First exception on row 0; first ...
17
votes
2answers
2k views

“Required fields are missing” on non-null field

My organization uses a third-party relational replication tool to sync data between Salesforce and a SQL Server database. The replication software is written in Java and uses the Salesforce API for ...
3
votes
1answer
432 views

Problem in making a field Required

I have multiple sections on page. I am rendering these sections using a list. I want fields in first section to be required only. so I have used an apex:variable which I am incrementing within ...
1
vote
1answer
2k views

How to make a picklist input field as required in a Visualforce page?

Making a picklist field as required means to remove the --None-- option. A picklist cannot be made required in the field setup. In a standard detail page, a picklist can be made required by checking ...
0
votes
2answers
585 views

Making a field required on the basis of its controlling field

I have one controlling picklist of subject and dependent picklist teacher. On the basis of subject picklist teacher picklist changes. I want that teacher field should be required only when teacher ...
2
votes
1answer
138 views

Required Picklist from Custom Object view

When you add an new field to an object in Salesforce.com, it is possible to check the "Required" checkbox to make it mandatory for every data insert/update. I know it is possible to make it required ...
0
votes
2answers
1k views

Universally required fields

Which field cannot be universally required in salesforce? a)Look Up b)Text c)Email 4)Number I refer some guide it is given Answer a)Lookup but when i tried to make lookup field required ,its working. ...
6
votes
1answer
3k views

Visualforce Page with required fields and rerendering

We have a Visualforce page that uses standard pageBlockSections and inputFields. This page has a lot of dynamic rerendering of pageBlockSections based on fields. Up until now, all of the fields have ...