David, The last two posts answer your question so all I'll add to this is be sure to remember your cflocks when you reference a session variable. ~Mark -----Original Message----- From: stas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 9:07 AM To: CF-Talk Subject: RE: Dynamic Form value I do it this way, easier to read ( I am assuming you're doing this to "remember" form field values): <cfparam name = "session.particulars.name" default = "#somevar#"> <cfinput type="Text" name="name" value="#session.particulars.name#"> -----Original Message----- From: David [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 11:33 PM To: CF-Talk Subject: Dynamic Form value Hi all, I have tried the following and it works. <input type="Text" name="name" <cfif isdefined("session.particulars")> <cfoutput>value="#session.particulars.name#"</cfoutput> </cfif> > but when I can it to cfinput, I got an error. <cfinput type="Text" name="name" <cfif isdefined("session.particulars")> value="#session.particulars.name#" </cfif> > Is there a workaround? Thank you and regards David ---------------------------------------------------------------------------- -- Archives: http://www.mail-archive.com/[email protected]/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. ---------------------------------------------------------------------------- -- Archives: http://www.mail-archive.com/[email protected]/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. ------------------------------------------------------------------------------ Archives: http://www.mail-archive.com/[email protected]/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

