+ Start a Discussion
Developer99Developer99 

Check Box Check

HI,

           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.
Sonam_SFDCSonam_SFDC
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
SabrentSabrent
Take  a look at this - 
http://stackoverflow.com/questions/8578748/display-a-text-field-after-a-checkbox-is-checked-in-visualforce