+ 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.