This seems to work...

<cfloop list="#fieldnames#" index="Request.idx">
<cfparam name="FORM.#Request.idx#" default="">
</cfloop>

However, the radio items (no radio item is initially selected for any
question) are not passed through to the form.

-----Original Message-----
From: Mike | NZSolutions Ltd [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 17 November 2005 12:39 p.m.
To: CF-Talk
Subject: Cfparam question


I have a very long form - 30 or so questions. Not all of the questions
are required and not all are submitted through to the processing page.

Can I use a loop to set a default value for each form element with out
having to use...

<cfparam name="FORM.abc" default="">
<cfparam name="FORM.def" default="">

Mike





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224437
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to