The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
16 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
18 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 ...
4
votes
1answer
91 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
25 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
84 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
40 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
72 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
151 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 ...
3
votes
1answer
183 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 ...
3
votes
3answers
2k 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
74 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 ...
15
votes
2answers
533 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
163 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
614 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
76 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
87 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
278 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. ...
2
votes
1answer
1k 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 ...