<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Thank you, I've been looking for that!</div><div><br class="webkit-block-placeholder"></div><br><div><div>On 06 Feb 2008, at 9:59 PM, Oleg Terenchuk wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Graeme, please refer to the Forms API Quickstart Guide : <a href="http://api.drupal.org/api/file/developer/topics/forms_api.html/5">http://api.drupal.org/api/file/developer/topics/forms_api.html/5</a><br><br><div><span class="gmail_quote">On 2/6/08, <b class="gmail_sendername">Graeme McKibbin</b> &lt;<a href="mailto:gmckibbin@iburst.co.za">gmckibbin@iburst.co.za</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex"> <div> Not sure if I'm on the same page as you, but I need to have a form that has some input fields and a submit button, and when it's clicked, the form passes the input to itself (or another page) and then displays a table of results from a query (that I've created). Any idea? <div> <br><div><div><span class="e" id="q_117f04fab31c177c_1"><br><div><div>On 06 Feb 2008, at 8:59 PM, Ivan Sergio Borgonovo wrote:</div><br><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px"> Maybe there is a clean way to recycle most of FAPI if you don't need</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">to save anything in _submit but if you'd just like to produce some</div> <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">output based on form input?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px"> <br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">eg. you've 2 fields and the form "landing" page should display the</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px"> product (the landing page may still be the form path itself).</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px"><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px"> If there is such a technique that let you intercept $form_values and</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">$form_id outside _submit _validate and display output accordingly I'd</div> <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">be glad to know.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px"><br></div> <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">Otherwise I'd really enjoy to see a _display hook that in spite of</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px"> showing the form or redirecting somewhere else would just have access</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">to $form_id<span>  </span>and $form_values as _validate and _submit but would</div> <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">output something else other than the form.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px"> <br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px"><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">--<span> </span></div> <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">Ivan Sergio Borgonovo</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px"><a href="http://www.webthatworks.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.webthatworks.it</a></div> <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px"><br></div></blockquote></div><br></span></div><div><span style="border-collapse: separate; border-spacing: 0px; color: #000000; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px"><br> <span style="border-collapse: separate; border-spacing: 0px; color: #000000; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px"><div> <br></div><div><br></div><div>Kind Regards</div><div><br></div><div>Graeme McKibbin</div><div>Software Developer</div><div><br></div><br></span></span></div><br></div></div></div></blockquote></div><br><br clear="all"><br> -- <br>Oleg Terenchuk <br>Web Manager / Developer<br>Phone: 917 - 306 - 5653 </blockquote></div><div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>