Hey, that might work!  I'd not thought about using javascript to submit
a form from a link.  I'll give that a try.

Thanks much!

> -----Original Message-----
> From: Scott Cadillac [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 13, 2004 11:17 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Witango-Talk: Passing search arguments across links
> 
> 
> Hi Jamileh,
> 
> Using JavaScript, you can use a hyperlink to submit a form 
> that is hidden (with hidden arguments).
> 
> Something like:
> 
> <form name="secret_form" style="margin:0px;" method="post" 
> action="http://ourintranet/PnP/index.taf?_function=list";>
> <input type="hidden" name="_function" value="list">
> <input type="hidden" name="_type" value="search">
> <input type="hidden" name="_beg" value="1">
> <input type="hidden" name="SearchFor" value="frmidx">
> </form>
> 
> <a href="javascript:document.secret_form.submit();">Open PnP 
> Document</a>
> 
> There shouldn't be a limit to how many hidden forms you have 
> on a page, just be careful about how you write your html so 
> that you don't "nest" any of the forms inside of each other.
>  
> Hope this helps. Cheers...
> 
> Scott Cadillac,
> XML-Extranet ~ 403-254-5002 ~ [EMAIL PROTECTED]
> ------------
> Well-formed Programming in C# .NET, Witango, MSIE and XML 
> For Hire ~ http://xmlx.ca/forhire
> ------------
> Weblog ~ http://xmlx.ca
> Forums ~ http://forums.xmlx.ca
> Knowledge Base ~ http://kb.xmlx.ca
> ------------
> IExtranet ~ http://iextranet.ca
> Witango ~ http://witango.org
> EasyXSLT ~ http://easyxslt.ca
> IIS Watcher ~ http://iiswatcher.ca
> ------------
> P.O. Box 69006
> RPO Bridlewood SW
> Calgary, Alberta
> Canada T2Y 4T9
> 
> 
> ________________________________
> 
>       From: Wilcox, Jamileh (HSC) [mailto:[EMAIL PROTECTED] 
>       Sent: Tuesday, July 13, 2004 9:02 AM
>       To: [EMAIL PROTECTED]
>       Subject: Witango-Talk: Passing search arguments across links
>       
>       
> 
>       I have an app that gives web access to pdf documents 
> (policies & procedures).  It includes a search form that 
> allows users to search all of the db fields and list 
> appropriate policies.
> 
>       I have a completely separate webapp.  I need to add a 
> link within that app that will bring up the p&p app, with 
> specific policies listed.  The policies that need to be 
> listed have matching policy numbers, so the correct listing 
> can be created by putting the proper info in the search form.
> 
>       I can create a link that will do exactly what I want, like so: 
> 
>       
http://ourintranet/PnP/index.taf?_function=list&_type=search&_beg=1&Sear
chFo
r=frmidx
<http://ourintranet/PnP/index.taf?_function=list&_type=search&_beg=1&Sea
rchF
or=frmidx>  

        The search argument is listed in the link reference
(SearchFor=frmidx). 


        Question:  is there another way to pass this search arg info
(and keep it out of the browser address)?  There's not really room to
set up a form on the other page, there's barely enough room for a link
title.


        Thanks for any suggestions! 




        
________________________________________________________________________
        TO UNSUBSCRIBE: Go to
http://www.witango.com/developer/maillist.taf
        



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to