<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>I'm trying to figure out how best to make the following
happen, any pointers/documentation/example modules would be awesome:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>1) Click a button on the webpage<o:p></o:p></p>
<p class=MsoNormal>2) Jquery fires off a request for a unique form that is not
a node or menu or anything else<o:p></o:p></p>
<p class=MsoNormal>3) Somehow drupal understands the url that I use and fires
the appropriate function<o:p></o:p></p>
<p class=MsoNormal>4) mymodule_send_form() will invoke drupal_get_form()
(maybe?)<o:p></o:p></p>
<p class=MsoNormal>5) Jquery recieves the rendered form, adds stuff to it via
hidden inputs like x & y, $_Get['q'], $user->id, etc.<o:p></o:p></p>
<p class=MsoNormal>6) user can fill it out<o:p></o:p></p>
<p class=MsoNormal>7) Jquery sends data back to be saved/verified<o:p></o:p></p>
<p class=MsoNormal>8) Jquery recieves a final themed output of content<o:p></o:p></p>
<p class=MsoNormal>9) Repeat as many times as user wants on the same page by
clicking the button mentioned in #1<br>
<br>
<o:p></o:p></p>
<p class=MsoNormal>What has me very confused is that I need to send and receive
themed output, but without the entire site. Simply need chunks of final output
to be sent back and forth. After a discussion on #drupal the other night I
determined that AHAH is not exactly designed to do entire forms.<br>
<br>
If anyone is interested (I know from a tweet discussion that bangpound is) I've
got a working javascript framework for adding comments to entire pages. I'm
going to call this module "critique" and it's main use will be
turning it on and having clients add comments to pages (like you would for PDFs
or Word Documents). The problem is I can't decide how to architect the backend
as it will have to be very AJAX-y.<br>
<br>
<o:p></o:p></p>
<p class=MsoNormal>I think I know more about Drupal 7 (having spent the most
time in D7 issue que), but I'd like a working version in Drupal 6 first.<o:p></o:p></p>
<p class=MsoNormal><br>
Josh<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>_____________________________________<o:p></o:p></p>
<p class=MsoNormal><b>Josh Miller<o:p></o:p></b></p>
<p class=MsoNormal>Web / Technology Director<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt'>Haan Marketing +
Communications<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'><a
href="http://www.haanmc.com/">http://www.haanmc.com/</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>123 N. 8th Street, Lafayette,
IN 47902-0350<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>T. 765.423.5470<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>F. 765-742-2881<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>