Search field on a $$ViewTemplate form

Author: Tripp W Black

Created: 08/26/1999 at 07:51 PM

 

Category:
Notes Developer Tips
Formulas, ViewTemplates

1. Here's the code:

</form><form method=\"Post\"
action=\"/MMIaction/aholdcommerce.nsf/SearchForm?CreateDocument\"
ENCTYPE=\"multipart/form-data\"><input name=\"Query\"> <input type=\"submit\"
value=\"Search\"></form><form>

You'll need to enclose it in quotes and brackets, as in

"[code]"

2. For your $$Return field, use this instead:

"[path&databasename/SearchView?SearchView&query="+@ReplaceSubstring(query;"
";"+")+"]"

That way the user can input several search words, like "dill pickles"
rrowan@webculture.net

previous page