> If my form has 15 fields in it, rather than passing all 15
> fields to the
> target template, could I...
>  - create a struct variable (e.g. UserProfile),
>  - name each form field as a variable under the struct
>  (e.g.,
> UserProfile.FirstName, UserProfile.LastName)
>  - still be able to use the struct variable (UserProfile)
>  in the target
> template??

> I've tried this, but it doesn't seem to work.  Any
> assistance would be
> great!

A form can only pass string values to the action page -- so the only way to
pass a complex variable such as a structure to the next page via a form
field is to serialize it into some form of xml packet ( which is a string )
place the packet in the form field and then deserialize it on the action
page. Prior to MX this was done with the <cfwddx> tag.

s. isaac dealey                954-776-0046

new epoch                      http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to