Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-05-2012, 11:37 AM   PM User | #1
bindhyachal1989
New to the CF scene

 
Join Date: Nov 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
bindhyachal1989 is an unknown quantity at this point
Netscape Can I hide field from standard detail page.........

Hi..
In salesforce, without overriding page, can we hide fields from standard page.
I have a custom page which is added to a section in page layout and need to hide those fields which is shown in custom page from standard page because it appears twice.......

Thank you.
Bindhyachal Kumar Singh
bindhyachal1989 is offline   Reply With Quote
Old 11-05-2012, 05:06 PM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,043
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
If I understand you correctly, you can use divs styled e.g.
<div id = "f1" style="display:none">

and then change it with Javascript
document.getElementById("f1").style.display="block";

if you want the div to display.

Or vice-versa if you prefer.

We have created a window of opportunity and it is time to walk through that window. - Conservative MP
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Philip M is offline   Reply With Quote
Reply

Bookmarks

Tags
javascript, salesforce, visualforce

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:29 PM.


Advertisement
Log in to turn off these ads.