Questions tagged [required]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
33 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....
0
votes
2answers
55 views

changing validation error message

I want to display an error message when a form is submitted but not all the required fields filled out. I wanted to use the "required=true" on apex:input tag but because I'm using JS function later ...
0
votes
2answers
13 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.
0
votes
2answers
237 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 ...
0
votes
2answers
25 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 ...
0
votes
3answers
288 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 '...
0
votes
0answers
687 views

Lightning Quick Action custom close

I have a simple component which implements force:lightningQuickActionWithoutHeader contains a required input field and custom close button(lightning:button). It's may be the quick action property, to ...
1
vote
1answer
577 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 ...
0
votes
3answers
175 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 ...
0
votes
2answers
833 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 ...
1
vote
2answers
2k 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. ...
3
votes
1answer
14 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 ...
0
votes
1answer
306 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....
0
votes
1answer
155 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 ...
2
votes
2answers
1k 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 ...
1
vote
1answer
100 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: ...
5
votes
1answer
150 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, ...
2
votes
1answer
916 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" ...
1
vote
4answers
1k 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 ...