Invalid tag nesting configuration error - help please!
I'm a total newbie to CF and inherited this application at my organization. I'm receiving this error:
Invalid Tag Nesting Configuration on a CF9 server.
The app does use the cfoutput with the <option value>. This is where it is choking:
The error occurred in E:\~mld\Nurse\inc_Patients.cfm: line 125
123 : <cfelse>
124 : <option value= ""></option>
125 : <cfoutput query="SortedPatients">
126 : <cfif Len(pid)><option value= "#registry_id#{#pid#}">#p_firstname# #p_lastname#</option></cfif>
127 : </cfoutput>
Here is the entire <cfform> code if this helps.
<cfform action="index.cfm" method="POST"><!--- Select a patient --->
Select a patient:
<select name="P" id="">
<cfif Len(P)>
<option value= "#P#">#SelectedPatient_FirstName# #SelectedPatient_LastName#</option>
<option value= ""></option>
<cfoutput query="SortedPatients">
<cfif P neq pid and Len(pid)><option value= "#registry_id#{#pid#">#p_firstname# #p_lastname#</option></cfif>
</cfoutput>
<cfelse>
<option value= ""></option>
<cfoutput query="SortedPatients">
<cfif Len(pid)><option value= "#registry_id#{#pid#">#p_firstname# #p_lastname#</option></cfif>
</cfoutput>
</cfif>
</select>
<input type="submit" value="Get patient">
<input type="hidden" name="z" value="0147134"><!--- 0147134: Patients (inc_Patients.cfm) --->
<input type="hidden" name="lx" value="1"><!--- Output/update patient forms --->
</cfform>
Any help is greatly appreciated. I am trying to go into production with this, however I need to get this functionality working. Thanks in advance!