I believe this discussion is more suited for <a href="http://drupal.org/forum">http://drupal.org/forum</a> <br><br><div><span class="gmail_quote">On 2/6/08, <b class="gmail_sendername">Graeme McKibbin</b> <<a href="mailto:gmckibbin@iburst.co.za">gmckibbin@iburst.co.za</a>> 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><div>Ok thanks...</div><div>But does that include building a SELECT query in php and displaying the results in a table?</div><div><br></div><div>(The reason I want to do that is because the Inventory field does not appear in the Views field list)</div>
<div><span class="e" id="q_117f093e6465aa56_1"><div><br></div><br><div><div>On 06 Feb 2008, at 10:58 PM, Larry Garfield wrote:</div><br><blockquote type="cite"><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">Have a look at the Views Theme Wizard.<span> </span>In recent versions, it is a multi-step form that uses the values from step 1 to generate form step 2.<span> </span>Step 2 (or sometimes step 3) has no submit buttons on it, but its content is the result of the previous steps.<span> </span>The last step then is the display, and there's no reason why you can't use form fields of #type markup to show just HTML that was built off of the previous steps.</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">--Larry Garfield</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">On Wed, 6 Feb 2008 21:53:47 +0200, Graeme McKibbin <<a href="mailto:gmckibbin@iburst.co.za" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gmckibbin@iburst.co.za</a>> wrote:</div>
<blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">Not sure if I'm on the same page as you, but I need to have a form</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">
that has some input fields and a submit button, and when it's</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">clicked, the form passes the input to itself (or another page) and</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">then displays a table of results from a query (that I've created).</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">
Any idea?</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">On 06 Feb 2008, at 8:59 PM, Ivan Sergio Borgonovo wrote:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px">
<br></div><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">--</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 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; 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">Kind Regards</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">Graeme McKibbin</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px">Software Developer</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px"><br></div>
</blockquote></blockquote></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"><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><br></span></span></div><br></span></div></div></blockquote></div><br><br clear="all"><br>-- <br>Oleg Terenchuk <br>Web Manager / Developer<br>Phone: 917 - 306 - 5653