function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pranavefergussonianpranavefergussonian 

Is there a Validation Group in Salesforce ?

There are two REQUIRED FIELDS on My form , Both from separate Object .... User has a choice to Input  EITHER OF THEM

 

<apex:inputField value="{!ProductPackageNew.ProductPricingNew.Price_Book__c}"/>

 

 <apex:inputField value="{!ProductPackageNew.CategoryDependencyNew.Category__c}" />



I want to validate them and my form is forcing me to insert both at a time .....

 

How can i Separately SEND data of single required Field by Enforcing the validation of the Second Field ..

 

 

Thanks in Adance .........................

Navatar_DbSupNavatar_DbSup

Hi,

 

If field is mandatory from field level security. You will have to fill both the field when you are creating the record. One solution is that you can assign a default value to the field when user fills the one field.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.