| 
 
 | 
						 
							Sergey Kornilov admin 11/14/2005 | 
| 
 
 You can use something like this (see my changes in bold: <body onLoad="java script:document.forms.editform.fieldname.focus();"> 
  | 
											|
| 
 
 | 
						 
							orit author 11/17/2005 | 
| 
 
 On that add page I already have a function in the onload: <body bgcolor=white onLoad="define('CommentID', 'IsRequired', '<%=Label("CommentID")%>');">
  | 
											|
| 
 
 | 
						 
							Sergey Kornilov admin 11/17/2005 | 
| 
 
 Try the following: <body bgcolor=white onLoad="define('CommentID', 'IsRequired', '<%=Label("CommentID")%>'); | 
											|
| 
 
 | 
						 
							orit author 11/23/2005 | 
| 
 
 Still doesn't work, I'm getting the error:  | 
											|
| 
 
 | 
						 
							Sergey Kornilov admin 11/23/2005 | 
| 
 
 I just double checked - it works perfect with text and textarea fields in Internet Explorer. What browser do you use?  | 
											|
| 
 
 | 
						 
							orit author 11/27/2005 | 
| 
 
 I use Internet Explorer.  | 
											|
| 
 
 | 
						 
							Sergey Kornilov admin 11/27/2005 | 
| 
 
 Could you send me a URL where I can see this?  | 
											|
| 
 
 | 
						 
							orit author 11/29/2005 | 
| 
 
 Unfortunately no, It's on the Intranet..  | 
											|
| 
 
 | 
						 
							Sergey Kornilov admin 11/30/2005 | 
| 
 
 Build a test project using a sample MS Access database. Modify code according to my post. If it doesn't work - zip and send me all ASP files and database for investigation.  | 
											|