Tom -

If I understand you properly, you're wanting to post a
different form according to options that have been
entered as part of a search query. I submitted a
search patus.xml a while ago which chooses between two
different forms depending upon user input. Don't know
if the search was committed but if you want a copy
then email me.

It's basically got two forms - patusf_0 and patusf_1 -
and the form submitting bit of the code is as follows:

      if (strForm == "patusf_0") {
        var myform = document.patusf_0;
        } else {
        var myform = document.patusf_1;
      }

      myform.Query.value = strQuery;
      submitForm(myform);

strQuery is the query including the user-dependent
options, and is common to both forms.

I don't know if that's the best way to do it, but it
works for me. Hope that answers your query.


James



        
        
                
___________________________________________________________ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to