Click here to Skip to main content
15,885,182 members
Home / Discussions / Web Development
   

Web Development

 
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";
}


QuestionMouseOver on TD Pin
navkrishkannan22-Jan-09 1:14
navkrishkannan22-Jan-09 1:14 
AnswerRe: MouseOver on TD Pin
Ranjit Viswakumar29-Jan-09 14:44
Ranjit Viswakumar29-Jan-09 14:44 
QuestionWeb Service using COM object Pin
Griffin200221-Jan-09 9:31
Griffin200221-Jan-09 9:31 
Questionintegrate SnapCasa (thumbnail grabber) into a Guest book or scmething Pin
Task121-Jan-09 9:18
Task121-Jan-09 9:18 
QuestionProblem with Special Characters Pin
Christian Elena21-Jan-09 2:19
Christian Elena21-Jan-09 2:19 
AnswerRe: Problem with Special Characters Pin
SeMartens21-Jan-09 2:30
SeMartens21-Jan-09 2:30 
GeneralRe: Problem with Special Characters Pin
Christian Elena21-Jan-09 2:35
Christian Elena21-Jan-09 2:35 
QuestionThird Party Tool? Pin
Paramhans Dubey21-Jan-09 1:51
professionalParamhans Dubey21-Jan-09 1:51 
AnswerRe: Third Party Tool? Pin
Not Active21-Jan-09 2:13
mentorNot Active21-Jan-09 2:13 
QuestionADODB.Recordset error '800a0cc1' Pin
Member 340808220-Jan-09 22:30
Member 340808220-Jan-09 22:30 
AnswerRe: ADODB.Recordset error '800a0cc1' Pin
Aman Bhullar20-Jan-09 23:29
Aman Bhullar20-Jan-09 23:29 
GeneralRe: ADODB.Recordset error '800a0cc1' [modified] Pin
Member 340808221-Jan-09 16:17
Member 340808221-Jan-09 16:17 
GeneralRe: ADODB.Recordset error '800a0cc1' Pin
Aman Bhullar21-Jan-09 21:20
Aman Bhullar21-Jan-09 21:20 
GeneralRe: ADODB.Recordset error '800a0cc1' Pin
Member 340808221-Jan-09 21:34
Member 340808221-Jan-09 21:34 
GeneralRe: ADODB.Recordset error '800a0cc1' Pin
Aman Bhullar21-Jan-09 23:24
Aman Bhullar21-Jan-09 23:24 
GeneralRe: ADODB.Recordset error '800a0cc1' Pin
Member 340808221-Jan-09 16:34
Member 340808221-Jan-09 16:34 
QuestionURL in action attribute is converted to page name only (for FireFox)......? Pin
AshishTijare20-Jan-09 20:10
AshishTijare20-Jan-09 20:10 

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.