• chuck w
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I am employing field sets to display intormation on a VF page. A new requirement is to dynamically require a field within the field set, based on information from a record in an associated object.

For example, if Object1.checkbox1 = true, then the field Object2.DogName is required on the page. 

In the context of using a field set, is there a way to dynamically require Object2.DogName to be either required or not based on the value of Object1.checkbox? 

Any help is greatly appreciated! 
I am employing field sets to display intormation on a VF page. A new requirement is to dynamically require a field within the field set, based on information from a record in an associated object.

For example, if Object1.checkbox1 = true, then the field Object2.DogName is required on the page. 

In the context of using a field set, is there a way to dynamically require Object2.DogName to be either required or not based on the value of Object1.checkbox? 

Any help is greatly appreciated!