The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
37 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
25 views

Nillable for required attribute

I'm wondering meaning of "nillable" used in the required attribute below: <apex:inputField value="{!Case.Invoiced_Tons__c}" ...
0
votes
3answers
55 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
104 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 ...
4
votes
2answers
79 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 ...
5
votes
1answer
633 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
30 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
33 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 ...
5
votes
2answers
485 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
50 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
383 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
109 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
273 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
387 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
314 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 ...
4
votes
4answers
4k 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
80 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 ...
16
votes
2answers
783 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
230 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
797 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
182 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
92 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
457 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
2k 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 ...