+ Start a Discussion

Check Box Check


           IN my object i have 2 fields one is checkbox, another is text if i checked the checkbox at that time field must be visiable, when i unchecked checkbox field must be disiable. shall i achieved this by using validation rule or i want to gofor vf pages.
If you wish to hide a field depending on the value of a checkbox - you would have to go with the visualforce page using actionsupport and rerender - you can put the fields in a section and have the section refresh depending on the value of the check box : http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionSupport.htm
Take  a look at this -