Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [required]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
46 views

Can you make the field FirstName on a Person Account record required?

I need the FirstName field on a Person Account to be required but I can't find how to set it like that. I know you can use a validation rule but I want Salesforce to show the user that it is required ...
Jeisson Eduardo Rangel Baez - 's user avatar
0 votes
1 answer
903 views

How can one require a record type filtered dependent picklist in Screen Flow?

I need to make a non-required dependent picklist filtered by record type, required on a Screen Flow page. Please correct me if I am wrong, but I believe what I want to do is currently impossible ...
Johan Emerén's user avatar
0 votes
0 answers
104 views

Is there any attribute in aura components to bypass validations like 'immediate = true' in visualforce page or 'causesvalidation = true' in asp

I have a record creation form with lightning:recordEditForm tag. I used required = true to some of the inputField values. I have a cancel button at the bottom of the page. When I click 'cancel' button ...
Raham's user avatar
  • 43
-1 votes
1 answer
37 views

Validation rule issus

I want to check this condition : If the field status ( Picklist) is "ended" , then , verify If the field description is empty , if is empty , the validation rule should work and the error ...
salesforcedev's user avatar
-2 votes
1 answer
237 views

Unable toRequired and disabled field

I have a problem with my code , the required and disabled are not working for me . I want that the " More informations" dependent on the status . If the status is "Pending" or &...
salesforcedev's user avatar
-2 votes
1 answer
1k views

make a field required for a specific profile

I want to make the field deadline required if the user profile is Profile Bs , it not should be empty . (The deadline is a Date ) , but with this code is not working for me , I tried before the ...
salesforcedev's user avatar
0 votes
1 answer
348 views

How to check missing fields value that are required on submit

How to find all the required fields and display their lightning-tab[label] to the screen if the field is empty? The user should see which tab to go to if a required field is not filled. HTML <...
ApexCowboy's user avatar
0 votes
1 answer
512 views

Unable to set required attribute for lightning input

I'm currently looking to change the required attribute based on multiple scenarios. So, I have a created input field with the required attribute as newAccRequire but by default, it's getting the true ...
Pavan tej's user avatar
  • 1,460
0 votes
1 answer
157 views

Making Custom Field Required

I am trying to make a field required. I used an "ifblank" validation rule which returned an error if blank, this worked. However, this does not allow another field to be entered as the other ...
Mack Brooks's user avatar
0 votes
1 answer
12k views

Multiple OR statements in Validation Rule

Im trying to figure out a Validation Rule IF Picklist Value is "Yes", then 4 fields must be filled out AND at least 1 of 2 Solution Partner fields must be Filled out. I can figure out how to ...
kikalz's user avatar
  • 39
1 vote
1 answer
291 views

Why isUpdateable() is not working for non required fields in RestResource class?

I want to update two fields in a custom object from a RestResource class. This is the code I used: @RestResource(urlMapping='/AllHistory/*') global class SampleClass{ @HttpPut global static ...
Jayesh Babu's user avatar
0 votes
1 answer
70 views

Call Controller Method without triggering required="true" validations

hoping for some guidance on how i can accomplish something in VF. Basically i have 2 SelectLists side by side where the left one contains a list of all SFDC users in my instance and the right one ...
Shane's user avatar
  • 1
0 votes
1 answer
548 views

Required attribute not working lightning:input rerender

I am facing an issue with below code. Required attribute on lightning:input is not working on rerender. I have an inputCheckbox and I render the lightning:input field upon checkbox selection. This is ...
user avatar
0 votes
2 answers
246 views

Mandatory error message not displayed on field when only a single field in mandatory

I am using the following piece of code to display required error message var allValid = component.find('smaField').reduce(function (validSoFar, inputCmp) { inputCmp....
Madhurima's user avatar
  • 1,395
0 votes
2 answers
633 views

How to make a non-custom field required

I see that I can make a custom field and have it be a required field, but I already have a standard Industry field, for example, and I don't see any option to make it required.
Jack's user avatar
  • 1
0 votes
2 answers
4k views

How to validate checkbox as checked only on specific page layout and without record type?

I wonder how I can accomplish that checkbox field will be reuqired on specific page layout. As I know checkbox fields can't be simply marked as required on page layout level. Is it possible to ...
Grzegorz Połuch's user avatar
0 votes
2 answers
137 views

Figure out which fields are required from Setup

Is it possible to figure out which fields are required from Setup? I mean, I can of course go and look at each field settings and check the required checkbox, but very often I need to look at a few ...
hellohowdoyoudo's user avatar
1 vote
4 answers
5k views

How to find required fields for an sObject?

I know the question has already been posted, and answers where given ; I read this topic ; Of course I can try to insert the sObject and get the error listing the missing fields, But isn't it a '...
Alexis MASSON's user avatar
1 vote
1 answer
2k views

apex:inputText required="true" doesn't work as in the documentation

I want to make an inputText field's attribute required="true" on the VF page and display the error message : Error: You must enter a value (Note: I do not want to use an InputField here) When I ...
Hasantha's user avatar
  • 2,045
0 votes
3 answers
415 views

Getting Required fields

I would like to get required fields for an object selected on a VF page , how can this be achieved. I have the describe call, but the object input will need to be dynamically fed from the VF page ...
John_Smith's user avatar
0 votes
2 answers
2k views

Rerendering conditionally required fields in VF - how to make field 'unrequired' upon rerender?

My scenario: I have two fields, each of which is tied to third field's picklist values. Only one of those two fields should display, depending on the selected picklist value. Whichever of those two ...
smohyee's user avatar
  • 3,846
1 vote
2 answers
3k views

Required Mark next to Apex:inputText and showing required error message

There is requirement to put the required mark next to Apex:inputText. And also, required error message I want to show near to apex:InputText (bottom). Whie searching I found there are ways: a. ...
user1800933's user avatar
3 votes
1 answer
22 views

Managed package keeps marking object required even with no references

I keep seeing Product under Package Requirements even though there are zero references to it anywhere in my package. I have searched through all my files both in my local editor and Developer Console ...
Mossi's user avatar
  • 3,966
0 votes
1 answer
510 views

html5 validation on apex:inputsecret

html5 validation fires on all fields except apex:inputsecret field.Any reason behind this ? <apex:page id="Registration" showHeader="false" controller="SiteRegisterController" title="{!$Label....
sfdc's user avatar
  • 13.7k
0 votes
1 answer
410 views

Required fields are missing (Bulk API)

I'm trying to upsert a new Contact record using the Bulk API and it's returning the following error: [{"errors"=> [{"fields"=>["DDA_External_Id__c"], "message"=>["Required ...
htatche's user avatar
  • 129
2 votes
2 answers
2k views

"Standard" Lightning Components - How is the Required attribute used?

Most of the Lightning Components in the Lightning Component reference have a "Required" attribute as one of the options. Example Component Given that this appears to have no impact on validations ...
Bigears's user avatar
  • 1,131
1 vote
1 answer
163 views

Woocommerce Salesforce Syntax Error

We are using a plugin to connect Salesforce and WooCommerce. When submitting a quote through WooCommerce, we are getting a Syntax JSON error. When debugging, we get the following as the culprit: ...
Kelly's user avatar
  • 11
5 votes
1 answer
214 views

Visibility of required custom field on standard object

I want to create a package which contains a custom field (text) on the campaign object. This custom field is required (I set it required in the schema builder) If someone is installing my package, ...
noBillSide's user avatar
2 votes
1 answer
2k views

apex inputCheckbox required=TRUE not working

I have an with required="TRUE". For some reason it isn't getting throwing error even if I save it without checking the box. Here's the VF Code. <apex:outputPanel styleClass="margin-t3" ...
sfdcFanBoy's user avatar
  • 4,064
1 vote
4 answers
2k views

Best practice for JQuery to hide/show a section with required fields

I'm building a wizard where I've a page splitted in some sections. One of them is shown/hidden based on the value selected for a picklist of another section, by using JQuery. But, the conditional ...
user avatar