<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs-old.ckeditor.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danielrendall</id>
		<title>CKSource Docs - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://docs-old.ckeditor.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danielrendall"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/Special:Contributions/Danielrendall"/>
		<updated>2026-11-23T07:28:58Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Talk:FCKeditor_2.x/Developers_Guide/Troubleshooting&amp;diff=2291</id>
		<title>Talk:FCKeditor 2.x/Developers Guide/Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Talk:FCKeditor_2.x/Developers_Guide/Troubleshooting&amp;diff=2291"/>
				<updated>2008-07-22T12:14:20Z</updated>
		
		<summary type="html">&lt;p&gt;Danielrendall: Suggested tip for inclusion in the content page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To get round the &amp;#039;RequiredFieldValidator&amp;#039; problem in .NET, I found the following solution:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a JavaScript function to the page:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;   function FCK_ValidationFix()&lt;br /&gt;
   {&lt;br /&gt;
        if (FCKeditorAPI &amp;amp;amp;&amp;amp;amp; FCKeditorAPI.Instances)&lt;br /&gt;
        {&lt;br /&gt;
           for (var i in FCKeditorAPI.Instances)&lt;br /&gt;
            {&lt;br /&gt;
            var anFCK = FCKeditorAPI.Instances[i];&lt;br /&gt;
            anFCK.UpdateLinkedField();&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To the &amp;#039;insert&amp;#039; button on the form, add &amp;#039; OnClientClick=&amp;quot;FCK_ValidationFix()&amp;quot; &amp;#039;. This function gets called before ASP.NET&amp;#039;s webform validation stuff and ensures that the FCK&amp;#039;s hidden input is populated before validation takes place. Then the regular RequiredFieldValidator appears to work just fine.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve only just discovered this so there may be a good reason why this is a bad idea (also I presume the UpdateLinkedField gets called before submit as well which is redundant). If whoever reads this thinks it&amp;#039;s OK, perhaps you&amp;#039;d like to copy it to the content page (which I can&amp;#039;t edit as it&amp;#039;s locked).&lt;br /&gt;
&lt;br /&gt;
-- Danielrendall&lt;/div&gt;</summary>
		<author><name>Danielrendall</name></author>	</entry>

	</feed>