Pattycake245
Programmer
I have looked around other sites and can't find an example closely match ing mine. I have a cold fusion program that gets variables passed to it from a CGI page. I prefix these form variables with "form.variable" for scoping. This page then eventually leads to a submission page with URL links on the bottom to go back to the first Cold Fusion page and I am passing these variables back to this page. But, I error out because these are not form variables anymore because they are coming from a URL. I am wondering the best way to resolve this.
Quick example:
partial cold fusion code:
<!--- this intv_no comes from a CGI form --->
<cfif form.intv_no IS NOT "">
<cfif #IsNumeric(#form.intv_no#)# IS "FALSE">
<cfoutput>
<cfset request.error_message="Invalid Id Must Be Numeric And 5 Characters">
<cfinclude template="../error.cfm">
</cfoutput>
<cfexit>
</cfif>
</cfif>
<!--- this is the page which shows the link back to the previous CF page --->
<cfoutput><BR><A HREF="
make sense?
Quick example:
partial cold fusion code:
<!--- this intv_no comes from a CGI form --->
<cfif form.intv_no IS NOT "">
<cfif #IsNumeric(#form.intv_no#)# IS "FALSE">
<cfoutput>
<cfset request.error_message="Invalid Id Must Be Numeric And 5 Characters">
<cfinclude template="../error.cfm">
</cfoutput>
<cfexit>
</cfif>
</cfif>
<!--- this is the page which shows the link back to the previous CF page --->
<cfoutput><BR><A HREF="
make sense?