I played around with it a little. Works great in FireFox. Very buggy in IE
6.
 
Dusty 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Howard Fore
Sent: 05/29/2008 10:53 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] CFLayout with Tabs and Forms


I haven't played with CFLayout but what you want to do is to call the submit
method on the form in Javascript. So if the HTML has two forms, foo and bar,
and you wanted to submit the foo form, you'd call document.foo.submit(). If
the forms aren't named, you'll have to call them in the forms array like
document.forms[1].submit().

Howard


On Thu, May 29, 2008 at 9:51 PM, Clarke Bishop <[EMAIL PROTECTED]>
wrote:


So, now that I've figured out how to secure the page, I'm working on a
multi-part form.
 
I came across the new <CFLayout> tag in CF8 and it lets you setup a number
of Tabs that can each contain different content. I already had my multi-part
form broken into separate include files, so I just specified the include for
each tab and it looks great!
 
The only thing is I want to submit the included form whenever the tab
changes. I found a way to add a listener and capture the TabChange event,
but it seems to be adding multiple form objects to the DOM, and I haven't
been able to find a way to submit the correct form yet. 
 
When I started playing with <CFLayout>, I wasn't planning to get sucked into
Ajax/Spry. But, the tabs just look so cool!
 
So, has anyone done anything like this? Also, any pointers on how to
troubleshoot this kind of problem. I've started trying to use FireBug, but I
still need to learn to use it better.
 
Thanks for any ideas!
 
     Clarke

------------------------------------------------------------- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 




-- 
Howard Fore, [EMAIL PROTECTED]
"The universe tends toward maximum irony. Don't push it." - Jeff Atwood 
------------------------------------------------------------- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 



-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to