Jake,

I'm not sure I understand.  Why can't you contain all of your data  
you want submitted inside your <cfform>?   You can use the <cfform>  
and still use HTML form elements inside without having to convert  
them to <cfinput>,<cfselect>, etc.

Unless you want to write a bunch of javascript to create inner form  
fields to pass with the post data on submit, you can't pass those  
variables to Coldfusion in the #FORM# struct unless they are enclosed  
within the form being submitted.  Plus if you have nested form  
elements, your HTML won't validate and thus your DOM may be messed up  
for use in the page javascript.

Using AJAX inside a CFForm isn't an issue that I've noticed as long  
as none of your variable names conflict variable names in  "cfform.js".

Jon

On Sep 20, 2006, at 1:39 PM, Jake Churchill wrote:

> I have an HTML form but would like to put a cfgrid inside it.  In  
> order
> to do this I have to surround the cfgrid with cfform tags.  All  
> fine, it
> looks great.  However, it doesn't work.  When the main form is
> submitted, the data inside the cfform (which is inside the main  
> form) is
> not submitted with it.  I have some AJAX calls throughout this main  
> form
> and I'd prefer not to change the entire form to the CFForm style  
> because
> I heard that AJAX inside CFForm is tough.
>
> Has anyone had any experience with this or know of a way to submit the
> data from the inside CFForm along with the data of the outside HTML  
> form?
>
> Jake



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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

Reply via email to