Click here to Skip to main content
15,914,924 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Table vs absolute position Pin
johnsontroye26-Jan-09 3:50
johnsontroye26-Jan-09 3:50 
AnswerRe: Table vs absolute position Pin
Mohammad Dayyan27-Jan-09 0:02
Mohammad Dayyan27-Jan-09 0:02 
AnswerRe: Table vs absolute position Pin
netJP12L27-Jan-09 8:48
netJP12L27-Jan-09 8:48 
QuestionAny update to IIS7 gives me error HRESULT:0x80070005 (E_ACCESSDENIED) Pin
softwareengr23-Jan-09 12:57
softwareengr23-Jan-09 12:57 
AnswerRe: Any update to IIS7 gives me error HRESULT:0x80070005 (E_ACCESSDENIED) Pin
souidi abderrahman16-Jul-10 6:15
souidi abderrahman16-Jul-10 6:15 
QuestionGridview PageIndexChanging event not being called when using an asp:UpdatePanel Pin
Steve Holdorf23-Jan-09 8:04
Steve Holdorf23-Jan-09 8:04 
AnswerRe: Gridview PageIndexChanging event not being called when using an asp:UpdatePanel Pin
Rajdev Ramasamy26-Jan-09 23:30
Rajdev Ramasamy26-Jan-09 23:30 
GeneralRe: Gridview PageIndexChanging event not being called when using an asp:UpdatePanel Pin
Steve Holdorf27-Jan-09 4:57
Steve Holdorf27-Jan-09 4:57 
Questionblock access to none aspx folders Pin
tomertro23-Jan-09 3:38
tomertro23-Jan-09 3:38 
AnswerRe: block access to none aspx folders Pin
led mike23-Jan-09 5:44
led mike23-Jan-09 5:44 
AnswerRe: block access to none aspx folders Pin
N a v a n e e t h23-Jan-09 17:11
N a v a n e e t h23-Jan-09 17:11 
Questioncontext.Response.Write is not working on mozilla,safari ... Pin
nmathur2322-Jan-09 22:13
nmathur2322-Jan-09 22:13 
AnswerRe: context.Response.Write is not working on mozilla,safari ... Pin
Aman Bhullar22-Jan-09 23:28
Aman Bhullar22-Jan-09 23:28 
GeneralRe: context.Response.Write is not working on mozilla,safari ... Pin
nmathur2323-Jan-09 0:06
nmathur2323-Jan-09 0:06 
QuestionCatching ok button when pressed Pin
samerh22-Jan-09 19:26
samerh22-Jan-09 19:26 
AnswerRe: Catching ok button when pressed Pin
VenkatFor.NET22-Jan-09 20:50
VenkatFor.NET22-Jan-09 20:50 
GeneralRe: Catching ok button when pressed Pin
samerh22-Jan-09 20:58
samerh22-Jan-09 20:58 
AnswerRe: Catching ok button when pressed Pin
vaghelabhavesh26-Jan-09 16:49
vaghelabhavesh26-Jan-09 16:49 
AnswerRe: Catching ok button when pressed Pin
Ranjit Viswakumar29-Jan-09 14:35
Ranjit Viswakumar29-Jan-09 14:35 
Questionversion history is not working for Custom List Form ( WSS3.0) Pin
Raheem MA22-Jan-09 17:57
Raheem MA22-Jan-09 17:57 
QuestionDirectory Structure Pin
Civic0622-Jan-09 7:59
Civic0622-Jan-09 7:59 
AnswerRe: Directory Structure Pin
SeMartens23-Jan-09 1:18
SeMartens23-Jan-09 1:18 
QuestionAdd webpart to login.aspx page sharepoint Pin
deewaker pandey22-Jan-09 3:20
deewaker pandey22-Jan-09 3:20 
AnswerRe: Add webpart to login.aspx page sharepoint Pin
VenkatFor.NET22-Jan-09 21:10
VenkatFor.NET22-Jan-09 21:10 
Question2007 SharePoint - Need Help with Hiding Fields in a list Pin
Robb Base22-Jan-09 2:36
Robb Base22-Jan-09 2:36 
Hello, I am new this website so plese bare with me. My company uses 2007 SharePoint and I have access to modify our SharePoint pages using SharePoint Designer. I need help with the following sceniro:

Someone opens a list in the EditForm.aspx view. When they open it they start to select dropdowns, radio buttons, check boxes, etc. However, what I need to know is how do I hide a field in this view until the value of another field is determined?

Example: If Field 1 = "Yes" then Show Field 2 so that the person can resond to it.
If Field 1 = "No" then Field 2 show not show.

I hope I am making sense. Please provide any feedback. I have searched for two days on the Internet and have found one item that relates to this. It was how to permenantly hide a specific field using JavaScript. Here it is:

***SharePoint list Page starts off with <%@ Page language="C#" MasterPageFile="~masterurl/default.master"

<asp:content contentplaceholderid="PlaceHolderMain" runat="server" xmlns:asp="#unknown">

_spBodyOnLoadFunctionNames.push("hideFields");

function findacontrol(FieldName) {

var arr = document.getElementsByTagName("!");
// get all comments
for (var i=0;i &lt; arr.length; i++ )
{
// now match the field name
if (arr[i].innerHTML.indexOf(FieldName) &gt; 0)
{ return arr[i]; }
}
}

function hideFields() {

var control = findacontrol("RequestID");
control.parentNode.parentNode.style.display="none";
control = findacontrol("ID");
control.parentNode.parentNode.style.display="none";
}


General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.