<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx</link><description>The following blog entry is a cross-posting from the SharePoint Designer Team Blog . It has received lots of kudos, so I thought that it deserves a bit more visibility. &amp;lt;Lawrence /&amp;gt; Hi, my name is Rob Howard, and I’m a Program Manager with the SharePoint</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#3445005</link><pubDate>Thu, 21 Jun 2007 18:47:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3445005</guid><dc:creator>Pirooz</dc:creator><description>&lt;p&gt;Great post...worked like a charm!&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#3626373</link><pubDate>Sat, 30 Jun 2007 18:12:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3626373</guid><dc:creator>Jay Walker</dc:creator><description>&lt;p&gt;I placed the javascript after the placeholder main sharepoint tag like below&lt;/p&gt;
&lt;p&gt;&amp;lt;asp:Content ContentPlaceHolderId=&amp;quot;PlaceHolderMain&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; ...&lt;/p&gt;
&lt;p&gt;and the javascript does not seem to fire, I placed and alert(&amp;quot;test&amp;quot;); tag in the fillDefaultValues function as the first thing to run when the _spBodyOnLoadFunctionNames.push(&amp;quot;fillDefaultValues&amp;quot;); tells the fillDefaultValues to run and I do not receive an alert box. What am I doing wrong?&lt;/p&gt;
</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#4082646</link><pubDate>Fri, 27 Jul 2007 19:10:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4082646</guid><dc:creator>rsriram22</dc:creator><description>&lt;p&gt;the following values for a people picker field do not seem to work - something am missing perhaps - did anyone encounter this?&lt;/p&gt;
&lt;p&gt;tagName = &amp;quot;textarea&amp;quot;&lt;/p&gt;
&lt;p&gt;identifier=&amp;quot;TextField&amp;quot;&lt;/p&gt;
&lt;p&gt;title=&amp;quot;People Picker&amp;quot; &lt;/p&gt;
&lt;p&gt;(the 'Title' property for this textarea seems to be hard coded to People Picker and not the 'display name')&lt;/p&gt;
</description></item><item><title>Adding Javascript functions to the OnLoad event</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#4088195</link><pubDate>Sat, 28 Jul 2007 01:01:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4088195</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;This posting is a bit of a note to self, apologies if you&amp;amp;#39;ve seen this before (and you probably should&lt;/p&gt;
</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#4176564</link><pubDate>Thu, 02 Aug 2007 00:54:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4176564</guid><dc:creator>Cassie Schmidt</dc:creator><description>&lt;p&gt;Works Excellent. Thanks for the _spBodyOnLoadFunctionNames.push() tip. &lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#4210537</link><pubDate>Fri, 03 Aug 2007 22:57:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4210537</guid><dc:creator>Hardik</dc:creator><description>&lt;p&gt;when i tried above things to my SharePoint Field Type who renders me checkbox it seems attribute title is not comming in rendered html...&lt;/p&gt;
&lt;p&gt;Any idea&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#4601238</link><pubDate>Tue, 28 Aug 2007 05:10:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4601238</guid><dc:creator>Jayakumar</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;ii am try to add client side script to Dropdown contorl in the Editpage. but it fire he event. &lt;/p&gt;
&lt;p&gt;And what this &amp;lt;span dir='none'&amp;gt; &amp;nbsp;specifies.&lt;/p&gt;
&lt;p&gt;Thnaks &lt;/p&gt;
&lt;p&gt;Jayakumar.R&lt;/p&gt;
&lt;p&gt;Jayakumar.RAJENDRAN@sg.calyon.com&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#4604835</link><pubDate>Tue, 28 Aug 2007 09:35:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4604835</guid><dc:creator>Yan Alonzo</dc:creator><description>&lt;p&gt;Hi! I am new to this. &amp;nbsp;Pls. help me add my javascript to work with the form webpart. I tried to use _spBodyOnLoadFunctionNames.push(&amp;quot;fillDefaultValues&amp;quot;); but its not working...it's not doing anything, just gives me an error. It shows the actual form I created but not performing anything. Help pls!!! thanks!&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#4648784</link><pubDate>Thu, 30 Aug 2007 19:05:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4648784</guid><dc:creator>Lisa Kirkeby</dc:creator><description>&lt;p&gt;I don't have a PlaceHolderMain. All I have is a PlaceHolder. It put it after that line but I just get a javascript error. I put it in the &amp;lt;HEAD&amp;gt; and nothing happens, no errors, no fields pre-filled. We have WSS 2.0. Is that too old for this code to work?&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#4671625</link><pubDate>Fri, 31 Aug 2007 19:34:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4671625</guid><dc:creator>Alan Tang</dc:creator><description>&lt;p&gt;I have the same problem as Jay Walker had. The java script is not fire. Any idea???&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#4877684</link><pubDate>Wed, 12 Sep 2007 12:34:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4877684</guid><dc:creator>sheetal</dc:creator><description>&lt;p&gt;I placed the javascript after the placeholder main sharepoint tag like below&lt;/p&gt;
&lt;p&gt;&amp;lt;asp:Content ContentPlaceHolderId=&amp;quot;PlaceHolderMain&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;...&lt;/p&gt;
&lt;p&gt;and the javascript does not seem to fire&lt;/p&gt;
&lt;p&gt;am I doing wrong?&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#5267280</link><pubDate>Wed, 03 Oct 2007 23:08:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5267280</guid><dc:creator>Thebriarsage</dc:creator><description>&lt;p&gt;I am having the same issue. &amp;nbsp;On some pages it fires, on others it does not.&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#5274286</link><pubDate>Thu, 04 Oct 2007 15:10:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5274286</guid><dc:creator>Nelly</dc:creator><description>&lt;p&gt;How can I set a bdc field value?&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#5380369</link><pubDate>Tue, 09 Oct 2007 13:30:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5380369</guid><dc:creator>minaz </dc:creator><description>&lt;p&gt;i placed javascript code after PlaceHolderMain &lt;/p&gt;
&lt;p&gt;but is happen no result on site's newpage.aspx page&lt;/p&gt;
&lt;p&gt;actually i need to inherit data from one list fields and add it or copy it to subsite list fields what to do please help me.&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#5511415</link><pubDate>Thu, 18 Oct 2007 20:58:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5511415</guid><dc:creator>Tom B</dc:creator><description>&lt;p&gt;I am not having any luck with this either. I put it in the placeholder main and it won't fire.&lt;/p&gt;
&lt;p&gt;Is there something we need to do in the site settings or the web.config to make it work?&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#5966480</link><pubDate>Wed, 07 Nov 2007 21:42:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5966480</guid><dc:creator>Eric Rios</dc:creator><description>&lt;p&gt;For me, sometimes the script runs sometimes it does not. It looks like several of us are having the same issue. Either we do not know where to place the script (I do it on a content web part) or something else. &lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#6469179</link><pubDate>Thu, 22 Nov 2007 14:22:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6469179</guid><dc:creator>Tim Staddon</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Got a solution for the checkbox...&lt;/p&gt;
&lt;p&gt;function setYesNoFromFieldName(fieldName) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; var theInput = getTagFromIdentifierAndTitle(&amp;quot;input&amp;quot;,&amp;quot;BooleanField&amp;quot;,fieldName);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; if (theInput.checked==&amp;quot;True&amp;quot;) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 		theInput.checked=&amp;quot;False&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 		} else {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; 		theInput.checked=&amp;quot;True&amp;quot;; &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; 		} &lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Example usage:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; setYesNoFromFieldName(&amp;quot;Show In Calendar&amp;quot;);&lt;/p&gt;
&lt;p&gt;Checks the box if unchecked by default; unticks the box if already checked.&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#6973170</link><pubDate>Fri, 04 Jan 2008 02:49:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6973170</guid><dc:creator>elielizondo21</dc:creator><description>&lt;p&gt;How would this apply to a date picker control field?&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#7135576</link><pubDate>Thu, 17 Jan 2008 01:25:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7135576</guid><dc:creator>Pablo Gazmuri</dc:creator><description>&lt;p&gt;I found a way to set a BDC value:&lt;/p&gt;
&lt;p&gt;[code]&lt;/p&gt;
&lt;p&gt;function getBDCTagFromIdentifierAndTitle(tagName, title, count) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;var tags = document.getElementsByTagName(tagName);&lt;/p&gt;
&lt;p&gt;		var myCount = 0;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (var i=0; i &amp;lt; tags.length; i++) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var tempString = tags[i].id;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (tags[i].title == title){&lt;/p&gt;
&lt;p&gt;			myCount++;&lt;/p&gt;
&lt;p&gt;			if(count = myCount){&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return tags[i];&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;		}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;return null;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;getBDCTagFromIdentifierAndTitle(&amp;quot;TEXTAREA&amp;quot;,&amp;quot;Object Picker&amp;quot;, 1).value = 'Field Value';&lt;/p&gt;
&lt;p&gt;	getBDCTagFromIdentifierAndTitle(&amp;quot;DIV&amp;quot;,&amp;quot;Object Picker&amp;quot;, 1).innerText = 'Field Value';&lt;/p&gt;
&lt;p&gt;	getBDCTagFromIdentifierAndTitle(&amp;quot;A&amp;quot;,&amp;quot;Check Names&amp;quot;, 1).onclick();&lt;/p&gt;
&lt;p&gt;[/code]&lt;/p&gt;
&lt;p&gt;Note: &amp;nbsp;the function gets the bdc field by location... in the case above, the first BDC field will be set to 'Field Value'. &amp;nbsp;To set the second BDC field in a list item, you would pass 2 instead of 1 to the getBDCTagFromIdentifierAndTitle function.&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#7135770</link><pubDate>Thu, 17 Jan 2008 01:40:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7135770</guid><dc:creator>Pablo Gazmuri</dc:creator><description>&lt;p&gt;Oops... there is a bug in that function... here is the correct function:&lt;/p&gt;
&lt;p&gt;[code]&lt;/p&gt;
&lt;p&gt;function getBDCTagFromIdentifierAndTitle(tagName, title, count) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;var tags = document.getElementsByTagName(tagName);&lt;/p&gt;
&lt;p&gt;		var myCount = 0;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (var i=0; i &amp;lt; tags.length; i++) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var tempString = tags[i].id;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (tags[i].title == title){&lt;/p&gt;
&lt;p&gt;			myCount++;&lt;/p&gt;
&lt;p&gt;			if(count == myCount){&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return tags[i];&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;		}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;return null;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;[/code]&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#7146973</link><pubDate>Fri, 18 Jan 2008 10:40:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7146973</guid><dc:creator>Damian</dc:creator><description>&lt;p&gt;If you are having problems getting it to work then make sure the body tag looks like this&lt;/p&gt;
&lt;p&gt;&amp;lt;body onload=&amp;quot;javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; Rather than this&lt;/p&gt;
&lt;p&gt;&amp;lt;body&amp;gt;&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#7293307</link><pubDate>Tue, 29 Jan 2008 01:14:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7293307</guid><dc:creator>Jay</dc:creator><description>&lt;p&gt;Tried changing the body tag to &amp;lt;body onload=&amp;quot;javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;No luck. Can't get it to fire. Keep getting _spBodyOnLoadFunctionNames undefined.&lt;/p&gt;
&lt;p&gt;Ideas?&lt;/p&gt;</description></item><item><title>Javascript on a sharepoint page</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#7348554</link><pubDate>Thu, 31 Jan 2008 14:53:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7348554</guid><dc:creator>Sreejesh</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I want to register a javascript function in a sharepoint site (MySite link) which creates a cookie for the first login of the site user. I tried editing the &lt;/p&gt;
&lt;p&gt;12\template\global\default.master asp.net page and am able to do that. but the problem is the javascript function executes every time when the user clicks any link on his mysite page. i want it only for the first time when the user clicks on the mysite link.&lt;/p&gt;
&lt;p&gt;If any of you can help/suggest please put me a mail at sreejesh.chakkaran@wipro.com&lt;/p&gt;
&lt;p&gt;Thanx in advance.&lt;/p&gt;
&lt;p&gt;Sreejesh.&lt;/p&gt;</description></item><item><title>Javascript to reference a Radio Buttons Choice field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#7489038</link><pubDate>Wed, 06 Feb 2008 14:26:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7489038</guid><dc:creator>Markuso</dc:creator><description>&lt;p&gt;I've also found a way to get a reference to a Radio Buttons Choice field type that was tricky to get at since it doesn't use the 'Title' attribute. Please see below:&lt;/p&gt;
&lt;p&gt;&amp;lt;A HREF=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://blog.markuso.com/posts/9/using-javascript-to-access-a-list-form-field-in-sharepoint-designer/&amp;quot;"&gt;http://blog.markuso.com/posts/9/using-javascript-to-access-a-list-form-field-in-sharepoint-designer/&amp;quot;&lt;/a&gt; REL=&amp;quot;nofollow&amp;quot;&amp;gt;&lt;a rel="nofollow" target="_new" href="http://blog.markuso.com/posts/9/using-javascript-to-access-a-list-form-field-in-sharepoint-designer/&amp;lt;/A&amp;gt;"&gt;http://blog.markuso.com/posts/9/using-javascript-to-access-a-list-form-field-in-sharepoint-designer/&amp;lt;/A&amp;gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Javascript to reference a Radio Buttons Choice field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#7494873</link><pubDate>Wed, 06 Feb 2008 20:41:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7494873</guid><dc:creator>Markuso</dc:creator><description>&lt;p&gt;I've also found a way to get a reference to a Radio Buttons Choice field. It was tricky to get at since it doesn't use the 'Title' attribute. Please see below:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blog.markuso.com/posts/9/using-javascript-to-access-a-list-form-field-in-sharepoint-designer/"&gt;http://blog.markuso.com/posts/9/using-javascript-to-access-a-list-form-field-in-sharepoint-designer/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#7797973</link><pubDate>Tue, 19 Feb 2008 20:32:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7797973</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;This is a great post, I have implemented some aspects of it and it works well. However, is there a way using javascript to get the currently selected option in a child drop down field. &lt;/p&gt;
&lt;p&gt;I would like to display some ojectives in a separate textarea based on the course that the user selects from the child drop down but cannot work out how. &lt;/p&gt;
&lt;p&gt;Any ideas.... &lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#7973897</link><pubDate>Sat, 01 Mar 2008 13:06:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7973897</guid><dc:creator>Alexander Bautz</dc:creator><description>&lt;p&gt;Add the folloving code to your NewForm.aspx, DispForm.aspx and EditForm.aspx and use this syntax to create headings from ordinary one line textfield:&lt;/p&gt;
&lt;p&gt;#H#20#Name Of Heading&lt;/p&gt;
&lt;p&gt;#H# Marks as heading and the following number is the Font-size&lt;/p&gt;
&lt;p&gt;This code also removed the &amp;lt;nobr&amp;gt; tag from the title column to allow textwrap. The beauty of this approuch is the list accepts attachements and are fully customizable from the SharePoin UI.&lt;/p&gt;
&lt;p&gt;NewForm.aspx:&lt;/p&gt;
&lt;p&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;_spBodyOnLoadFunctionNames.push(&amp;quot;removeNOBRAndShowHeadings&amp;quot;);&lt;/p&gt;
&lt;p&gt;//_spBodyOnLoadFunctionNames.push(&amp;quot;removeNOBRAndShowHeadings&amp;quot;, &amp;quot;hideFields&amp;quot;);&lt;/p&gt;
&lt;p&gt;function getTagFromIdentifierAndTitle(tagName, identifier, title) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var len = identifier.length;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var tags = document.getElementsByTagName(tagName);&lt;/p&gt;
&lt;p&gt; &amp;nbsp;for (var i=0; i &amp;lt; tags.length; i++) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var tempString = tags.id;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;if (tags.title == title &amp;amp;&amp;amp; (identifier == &amp;quot;&amp;quot; || tempString.indexOf(identifier) == tempString.length - len)) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;return tags;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;return null;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;function findacontrol(FieldName) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var ctrl = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var arr = document.getElementsByTagName('!');//get all comments&lt;/p&gt;
&lt;p&gt;for (var i=0;i &amp;lt; arr.length; i++ ) &lt;/p&gt;
&lt;p&gt; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; // now match the field name&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (arr.innerHTML.indexOf(FieldName) &amp;gt; 0) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return arr;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;function removeNOBRAndShowHeadings(){&lt;/p&gt;
&lt;p&gt;brs = document.getElementsByTagName('nobr');&lt;/p&gt;
&lt;p&gt;while (brs.length) {&lt;/p&gt;
&lt;p&gt;var br = brs[brs.length - 1];&lt;/p&gt;
&lt;p&gt;var newdiv = document.createElement('div');&lt;/p&gt;
&lt;p&gt;newdiv.style.width = '300px';&lt;/p&gt;
&lt;p&gt;//Sjekker om dette skal v&amp;#230;re en overskrift&lt;/p&gt;
&lt;p&gt;if (br.innerHTML.substring(0,3)==&amp;quot;#H#&amp;quot;){&lt;/p&gt;
&lt;p&gt;//Skjul tekstfeltet som representerer overskriften&lt;/p&gt;
&lt;p&gt;var td = getTagFromIdentifierAndTitle(&amp;quot;input&amp;quot;,&amp;quot;TextField&amp;quot;,br.innerHTML);&lt;/p&gt;
&lt;p&gt; td.style.display=&amp;quot;none&amp;quot;; &lt;/p&gt;
&lt;p&gt;//Setter overskriften til angott st&amp;#248;rrelse&lt;/p&gt;
&lt;p&gt; //newdiv.style.color = '#d63908';&lt;/p&gt;
&lt;p&gt; newdiv.style.fontSize = br.innerHTML.substring(3,5);&lt;/p&gt;
&lt;p&gt; newdiv.style.verticalAlign = 'sub';&lt;/p&gt;
&lt;p&gt;br.innerHTML = br.innerHTML.substring(6);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;//Setter innholdet i den nye DIV'en til selve overskriften&lt;/p&gt;
&lt;p&gt;newdiv.innerHTML = br.innerHTML;&lt;/p&gt;
&lt;p&gt;//var replacement = newdiv;&lt;/p&gt;
&lt;p&gt;br.parentNode.replaceChild(newdiv, br);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;function hideFields() { &lt;/p&gt;
&lt;p&gt;//Angi visningsnavnet til kolonenn som skal skjules&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; var control = findacontrol('NameOfFieldToHide');&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; control.parentNode.parentNode.style.display=&amp;quot;none&amp;quot;;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;DispForm.aspx&lt;/p&gt;
&lt;p&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;_spBodyOnLoadFunctionNames.push(&amp;quot;ShowHeadings&amp;quot;);&lt;/p&gt;
&lt;p&gt;function getTagFromIdentifierAndTitle(tagName, identifier, title) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var len = identifier.length;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var tags = document.getElementsByTagName(tagName);&lt;/p&gt;
&lt;p&gt; &amp;nbsp;for (var i=0; i &amp;lt; tags.length; i++) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var tempString = tags.id;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;if (tags.title == title &amp;amp;&amp;amp; (identifier == &amp;quot;&amp;quot; || tempString.indexOf(identifier) == tempString.length - len)) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;return tags;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;return null;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;function ShowHeadings(){&lt;/p&gt;
&lt;p&gt;brs = document.getElementsByTagName('H3');&lt;/p&gt;
&lt;p&gt;var x = 1;&lt;/p&gt;
&lt;p&gt;while (x &amp;lt; brs.length) {&lt;/p&gt;
&lt;p&gt;var br = brs[x];&lt;/p&gt;
&lt;p&gt;if (br.innerHTML.match(new RegExp(/#H#/))){&lt;/p&gt;
&lt;p&gt;br.innerHTML = '&amp;lt;FONT size=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;br&amp;gt;' + br.innerHTML +'&amp;lt;/FONT&amp;gt;';&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;x++;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;document.body.innerHTML = document.body.innerHTML.replace(new RegExp(/#H#/g), &amp;quot;&amp;quot;);&lt;/p&gt;
&lt;p&gt;document.body.innerHTML = document.body.innerHTML.replace(new RegExp(/\d\d#/g), &amp;quot;&amp;quot;);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;EditForm.aspx&lt;/p&gt;
&lt;p&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;_spBodyOnLoadFunctionNames.push(&amp;quot;removeNOBRAndShowHeadings&amp;quot;);&lt;/p&gt;
&lt;p&gt;//_spBodyOnLoadFunctionNames.push(&amp;quot;removeNOBRAndShowHeadings&amp;quot;, &amp;quot;hideFields&amp;quot;);&lt;/p&gt;
&lt;p&gt;function getTagFromIdentifierAndTitle(tagName, identifier, title) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var len = identifier.length;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var tags = document.getElementsByTagName(tagName);&lt;/p&gt;
&lt;p&gt; &amp;nbsp;for (var i=0; i &amp;lt; tags.length; i++) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var tempString = tags.id;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;if (tags.title == title &amp;amp;&amp;amp; (identifier == &amp;quot;&amp;quot; || tempString.indexOf(identifier) == tempString.length - len)) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;return tags;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;return null;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;function findacontrol(FieldName) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var ctrl = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var arr = document.getElementsByTagName('!');//get all comments&lt;/p&gt;
&lt;p&gt;for (var i=0;i &amp;lt; arr.length; i++ ) &lt;/p&gt;
&lt;p&gt; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; // now match the field name&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (arr.innerHTML.indexOf(FieldName) &amp;gt; 0) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return arr;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;function removeNOBRAndShowHeadings(){&lt;/p&gt;
&lt;p&gt;brs = document.getElementsByTagName('nobr');&lt;/p&gt;
&lt;p&gt;while (brs.length) {&lt;/p&gt;
&lt;p&gt;var br = brs[brs.length - 1];&lt;/p&gt;
&lt;p&gt;var newdiv = document.createElement('div');&lt;/p&gt;
&lt;p&gt;newdiv.style.width = '300px';&lt;/p&gt;
&lt;p&gt;//Sjekker om dette skal v&amp;#230;re en overskrift&lt;/p&gt;
&lt;p&gt;if (br.innerHTML.substring(0,3)==&amp;quot;#H#&amp;quot;){&lt;/p&gt;
&lt;p&gt;//Skjul tekstfeltet som representerer overskriften&lt;/p&gt;
&lt;p&gt;var td = getTagFromIdentifierAndTitle(&amp;quot;input&amp;quot;,&amp;quot;TextField&amp;quot;,br.innerHTML);&lt;/p&gt;
&lt;p&gt; td.style.display=&amp;quot;none&amp;quot;; &lt;/p&gt;
&lt;p&gt;//Setter overskriften til angott st&amp;#248;rrelse&lt;/p&gt;
&lt;p&gt; //newdiv.style.color = '#d63908';&lt;/p&gt;
&lt;p&gt; newdiv.style.fontSize = br.innerHTML.substring(3,5);&lt;/p&gt;
&lt;p&gt; newdiv.style.verticalAlign = 'sub';&lt;/p&gt;
&lt;p&gt;br.innerHTML = br.innerHTML.substring(6);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;//Setter innholdet i den nye DIV'en til selve overskriften&lt;/p&gt;
&lt;p&gt;newdiv.innerHTML = br.innerHTML;&lt;/p&gt;
&lt;p&gt;//var replacement = newdiv;&lt;/p&gt;
&lt;p&gt;br.parentNode.replaceChild(newdiv, br);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;function hideFields() { &lt;/p&gt;
&lt;p&gt;//Angi visningsnavnet til kolonenn som skal skjules&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; var control = findacontrol('NameOfFieldToHide');&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; control.parentNode.parentNode.style.display=&amp;quot;none&amp;quot;;&lt;/p&gt;
&lt;p&gt;//To prevent editing of listitem you must have a checkbox type yes/no called &amp;quot;Closed&amp;quot; - or change the code in tehe field below&lt;/p&gt;
&lt;p&gt;var theInput = getTagFromIdentifierAndTitle(&amp;quot;input&amp;quot;,&amp;quot;BooleanField&amp;quot;,'Closed');&lt;/p&gt;
&lt;p&gt; &amp;nbsp;if (theInput.checked==true) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;document.body.innerHTML = &amp;quot;Access denied!&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;alert(&amp;quot;You cannot change reports that are closed.\n\nContact an administrator...&amp;quot;);&lt;/p&gt;
&lt;p&gt; window.location = &amp;quot;javascript:history.back()&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;} &lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;Most of the comments in the code are in Norwegian - sorry - ask me if something is unclear.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Alexander&lt;/p&gt;</description></item><item><title>Review if the DispForm-code in previous post</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#7992113</link><pubDate>Sun, 02 Mar 2008 21:39:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7992113</guid><dc:creator>Alexander</dc:creator><description>&lt;p&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;//DispForm.aspx&lt;/p&gt;
&lt;p&gt;_spBodyOnLoadFunctionNames.push(&amp;quot;ShowHeadings&amp;quot;);&lt;/p&gt;
&lt;p&gt;function getTagFromIdentifierAndTitle(tagName, identifier, title) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var len = identifier.length;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var tags = document.getElementsByTagName(tagName);&lt;/p&gt;
&lt;p&gt; &amp;nbsp;for (var i=0; i &amp;lt; tags.length; i++) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var tempString = tags[i].id;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;if (tags[i].title == title &amp;amp;&amp;amp; (identifier == &amp;quot;&amp;quot; || tempString.indexOf(identifier) == tempString.length - len)) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;return tags[i];&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;return null;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;function ShowHeadings(){&lt;/p&gt;
&lt;p&gt;brs = document.getElementsByTagName('H3');&lt;/p&gt;
&lt;p&gt;var x = 1;&lt;/p&gt;
&lt;p&gt;while (x &amp;lt; brs.length) {&lt;/p&gt;
&lt;p&gt;var br = brs[x];&lt;/p&gt;
&lt;p&gt;// Sjekk om det er en overskrift&lt;/p&gt;
&lt;p&gt;if (br.innerHTML.match(new RegExp(/#H#/))){&lt;/p&gt;
&lt;p&gt;// Finn st&amp;#248;rrelsen p&amp;#229; overskriften&lt;/p&gt;
&lt;p&gt;var size = br.innerHTML.match(new RegExp(/#\d\d#/));&lt;/p&gt;
&lt;p&gt;// Konverter til srting&lt;/p&gt;
&lt;p&gt;strSize = size.toString();&lt;/p&gt;
&lt;p&gt;// Fjern #&lt;/p&gt;
&lt;p&gt;var newSize = strSize.replace(new RegExp(/#/g), &amp;quot;&amp;quot;);&lt;/p&gt;
&lt;p&gt;// Angi ny br.innerHTML&lt;/p&gt;
&lt;p&gt;br.innerHTML = br.innerHTML.replace(new RegExp(/#H#/g), &amp;quot;&amp;quot;)&lt;/p&gt;
&lt;p&gt;br.innerHTML = br.innerHTML.replace(new RegExp(/\d\d#/g), &amp;quot;&amp;quot;)&lt;/p&gt;
&lt;p&gt;br.innerHTML = '&amp;lt;div ' + 'style=font-size:' + newSize + 'px&amp;gt;&amp;lt;br&amp;gt;' + br.innerHTML + '&amp;lt;/div&amp;gt;';&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;x++;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#8556813</link><pubDate>Wed, 28 May 2008 21:00:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8556813</guid><dc:creator>ashishkanoongo</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I added your code in newform.aspx but getting following error&lt;/p&gt;
&lt;p&gt;Only Content controls are allowed directly in a content page that contains Content controls.&lt;/p&gt;
&lt;p&gt;Please let me know whats arong I am doing?&lt;/p&gt;
</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#8721872</link><pubDate>Fri, 11 Jul 2008 22:08:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8721872</guid><dc:creator>dolomite</dc:creator><description>&lt;p&gt;any ideas on getting the date control to work with this?&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#8794455</link><pubDate>Thu, 31 Jul 2008 22:26:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8794455</guid><dc:creator>bev</dc:creator><description>&lt;p&gt;Has anyone solved the problem with the Javascript not firing ?&lt;/p&gt;
&lt;p&gt;I had it working yesterday but something has changed and now it doesn't fire - I have been testing with Alert messages and not working.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#8960643</link><pubDate>Sun, 21 Sep 2008 21:59:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8960643</guid><dc:creator>Ahody</dc:creator><description>&lt;p&gt;I've found the problem, finally. &lt;/p&gt;
&lt;p&gt;There is a little typo in the setSelectedOption function. You need to change the opts[i].value with opts[i].text.&lt;/p&gt;
&lt;p&gt;Here is the correct one:&lt;/p&gt;
&lt;p&gt;function setSelectedOption(select, value) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var opts = select.options;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var l = opts.length;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;if (select == null) return;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;for (var i=0; i &amp;lt; l; i++) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;if (opts[i].text == value) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;select.selectedIndex = i;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;return false;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;</description></item><item><title>re: Using Javascript to Manipulate a List Form Field</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#9190209</link><pubDate>Wed, 10 Dec 2008 12:34:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9190209</guid><dc:creator>ferdous_cs</dc:creator><description>&lt;p&gt;Thanks. It was too much helpfull in my development.&lt;/p&gt;
&lt;p&gt;Ferdous&lt;/p&gt;
</description></item><item><title>Multi-column Layout in Sharepoint using a single Layout Page</title><link>http://blogs.msdn.com/sharepoint/archive/2007/06/21/using-javascript-to-manipulate-a-list-form-field.aspx#9486454</link><pubDate>Wed, 18 Mar 2009 12:50:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9486454</guid><dc:creator>Baris Wanschers</dc:creator><description>&lt;p&gt;Today I worked on the layout of a news article roll-up. One of the goals was to spread the text across multiple columns. At first I thought to create a Layout Page with two columns, each containing a Rich HTML Field. Then, when creating new articles,&lt;/p&gt;
</description></item></channel></rss>