Comments inline Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org
[EMAIL PROTECTED] >>> [EMAIL PROTECTED] 04/05/03 16:00 PM >>> Candace Cottrell wrote: > > __ On the action page, you have > > <CFIF Len(Trim(form["Website_authorLNAME#i#"]))> > > What are you checking for? That there is a length? I am checking that the form field is not empty or just has spaces. It is pretty much equivalent to the code below, I just prefer the syntax. <CFIF Trim(form["Website_authorLNAME#i#"]) is not ""> Ok, that clears that up. Thanks :) > __ <cfset tempAuthorF = Trim(form["Website_authorFNAME#i#"])> > > I tried this, but couldn't get it to work quite right. > Are you using the form scope here and referencing an item in the array? I am accessing the 'form scope' as a structure. What is the error? Oh, there's no error in YOUR code. I was trying to do something similar earlier today. Mine looked something like <cfset AUTHORNAME = #form.Website_AUTHORNAME#i#"> I was missing the whole form structure thing. It wasn't returning the value of the text box, just the name. That's when I hit the proverbial brick wall. ;) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4