Re: Anyone using Twitter Bootstrap with CF?

2012-11-26 Thread Steve 'Cutter' Blades
Is the edit form a part of your html from the beginning, populating fields from data on open (preferred)? Or do you open the modal and bring in the form? In either event, you probably need to add code to your modal hidden event that will clear the form. Steve 'Cutter' Blades Adobe Community

Re: Anyone using Twitter Bootstrap with CF?

2012-11-26 Thread Cameron Childress
On Tue, Nov 20, 2012 at 3:00 PM, Pete Ruckelshaus pruckelsh...@gmail.comwrote: I'm using a modal window to edit records. When I click to edit the first record, it loads the edit window with that records data. Cool. Close the window, click on the second record, and the data for the first

Re: Anyone using Twitter Bootstrap with CF?

2012-11-20 Thread Pete Ruckelshaus
OK, new (but related) problem. I'm using a modal window to edit records. When I click to edit the first record, it loads the edit window with that records data. Cool. Close the window, click on the second record, and the data for the first record is still in the form and remains there until I

Re: Anyone using Twitter Bootstrap with CF?

2012-11-20 Thread Nathan Strutz
You will really need to confirm if you do actually have a caching issue. If you're using Firefox, use Firebug to watch your ajax traffic in the console view. If you're using Chrome, F12 will pull up the developer tools. I hear there are other browsers, but you wouldn't be using them, I'm sure.

Anyone using Twitter Bootstrap with CF?

2012-11-14 Thread Pete Ruckelshaus
I'm playing around with Twitter Bootstrap as a UI solution because, well, my design skills are lacking. I like it so far, but I want to use their modal windows (not CF's) for forms that I use to add or edit records. The problem is, how do I pass dynamic variables (i.e. the ID of the record that

Re: Anyone using Twitter Bootstrap with CF?

2012-11-14 Thread Cameron Childress
Look in the Bootstrap Modal docs under Via Javascript. Specifically I've used the remote option to accomplish this. That way you can just pull the modal content off the server on-demand instead of using a static modal. http://twitter.github.com/bootstrap/javascript.html#modals -Cameron On Wed,

Re: Anyone using Twitter Bootstrap with CF?

2012-11-14 Thread Pete Ruckelshaus
Yeah, that's what I get for just glancing at the docs. This a data-toggle=modal href=remote.html data-target=#modalclick me/a worked like a charm. Next up, is there a way to submit a form within the same modal window? Sorry for the questions, I've been doing almost entirely server-side stuff

Re: Anyone using Twitter Bootstrap with CF?

2012-11-14 Thread Cameron Childress
On Wed, Nov 14, 2012 at 1:13 PM, Pete Ruckelshaus pruckelsh...@gmail.comwrote: Yeah, that's what I get for just glancing at the docs. This a data-toggle=modal href=remote.html data-target=#modalclick me/a worked like a charm. Great! Next up, is there a way to submit a form within the