How do I grab all the elements of a .cfm template that is NOT in a form? For instance; I have the following:
<!--- oil changes per year --->
<cfset fa = form.m / form.o>
<!--- total oil changes per year (times vehicle quanity) --->
<cfset fb = fa * form.l>
<!--- oil changes cost per unit --->
<cfset gb = form.p + (form.q * form.bi) + form.r + form.s>
<!--- oil changes costs per year --->
<cfset fc = fb * gb>
<!--- oil changes costs per lifespan --->
<cfset fd = (form.n / form.o) * gb * form.l>
and so and so on...
I would like to make these elements and their values (fa, fb, gb, fc, fd) available on the next template for database insertion of the values
Do I manually setup an array or structure perhaps or are these elements already available for use? If so, where?
Thanks so much!
<!--- oil changes per year --->
<cfset fa = form.m / form.o>
<!--- total oil changes per year (times vehicle quanity) --->
<cfset fb = fa * form.l>
<!--- oil changes cost per unit --->
<cfset gb = form.p + (form.q * form.bi) + form.r + form.s>
<!--- oil changes costs per year --->
<cfset fc = fb * gb>
<!--- oil changes costs per lifespan --->
<cfset fd = (form.n / form.o) * gb * form.l>
and so and so on...
I would like to make these elements and their values (fa, fb, gb, fc, fd) available on the next template for database insertion of the values
Do I manually setup an array or structure perhaps or are these elements already available for use? If so, where?
Thanks so much!