How to identify Form.Fieldname in Coldfusion

117 views Asked by At

I am new to coldfusion. I have a program I am learning to maintain, and I need help. The CF app has many .cfm pages in its app directory, and many of these start out with statements. Probably not the best practice, but need to resolve this issue first.

Example CodeFromApp.cfm, starts with:

<cfif IsDefined("Form.FieldName")>
    <cfset thisFieldName = Form.FieldName>
<cfelse IsDefined('FieldNameParm">
    <cfset thisFieldName = FieldNameParm>
</cfif>

What would be the best and easiest way to find out, which .cfm file the Form.FieldName is referencing from. I am hoping I do not have to go through 50 .cfm pages with many having thousands of line of codes and comments in them

0

There are 0 answers