I have a Search Results page in MX 6.0 that has a link to a report that includes all the search criteria and it works great.
Here is my link now where I shortened to 3 variables for this post but I am actually checking 10 variables on my page:
Please advise how I can shorten this or do it more efficiently??
Here is my link now where I shortened to 3 variables for this post but I am actually checking 10 variables on my page:
Code:
<a href="report.cfm?<cfif len(trim(form.varOne))>varOne=#varOne#</cfif><cfif len(trim(form.varOne))>&varTwo=#varTwo#</cfif>><cfif len(trim(form.Three))>&varThree=#varThree#</cfif>">Report link</a>
Please advise how I can shorten this or do it more efficiently??