I have a page with two forms in for administration purposes, if the user wants to add a new item to the news page the form is shown where new=true. If they are editing the form is shown where edit=true. Both are identical forms just the edit version pulls the exisiting data into the form elements.
I have put the following above each of the 'copy' fields (1 in the 'new' form and 1 in the 'edit' field)
<%
'Declare the ASP variables used
Dim strFormName
Dim strTextAreaName
'ID tag name of the HTML form the textarea is within
strFormName = "form1"
'ID tag name of HTML textarea being replaced
strTextAreaName = "copy"
%>
<!-- include the Web Wiz Rich Text Editor -->
<!--#include file="RTE_editor_inc.asp" -->
but get the error Name redifined Dim strFormName
i thought that this would not matter as the asp is choosing only one of the forms, the other is disregarded by a IF ELSE END IF statement.