Hmm never mind.  I had an error in my code that made me think Alias was not 
being added to the collection.

It appears to work now that I found my real bug.

Chad


> -----Original Message-----
> From: Chad Gray [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2008 2:37 PM
> To: CF-Talk
> Subject: RE: form collection
> 
> I need to take what they type into the form "Name" field and remove
> illegal characters and then that becomes the "Alias" variable I need to
> insert into the database.
> 
> I suppose I could run my MakeAlias function inside of the savePage
> function.
> 
> I will give that a try.
> 
> 
> 
> > -----Original Message-----
> > From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 05, 2008 2:33 PM
> > To: CF-Talk
> > Subject: Re: form collection
> >
> > On Fri, Sep 5, 2008 at 11:20 AM, Chad Gray <[EMAIL PROTECTED]> wrote:
> >
> > > Hello,
> > >
> > > I am using argumentCollection=form to dump all of the form fields into
> a
> > > CFC.  I would like to add to the form collection one more variable
> > called
> > > Alias.
> > >
> > > I tried this but the variable FORM.Alias does not appear to actually
> be
> > in
> > > the collection.
> > >
> > > <cfset FORM.Alias = application.page.makeAlias(form.Name)>
> > >
> > > <cfset application.page.savePage(argumentCollection=form) />
> > >
> > > How do I append one more form field to the collection?
> > >
> >
> > why not just use a hidden form field in the form itself?
> >
> > <input type="hidden" name="alias" value="..." /> ?
> >
> >
> > --
> > I have failed as much as I have succeeded. But I love my life. I love my
> > wife. And I wish you my kind of success.
> >
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312084
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to