Gossamer Forum
Home : Products : DBMan : Installation :

Match any - again - sorry

Quote Reply
Match any - again - sorry
Okay, I KNOW this has been covered and I've asked before and I've had rotten luck getting any of the solutions to work.

I have:

<form action="http://www.bestweb.net/~cyborgny/tob/cgi-bin/dbman/db.cgi" method="GET">

<input type="hidden" name="db" value="default">
<input type=hidden name="uid" value="default">
<INPUT TYPE="HIDDEN" NAME="ma" VALUE="on">

in my form page, and want my users to be able to just hit return after entering a search in the search field and get a response. Right now you have to actually click on the SEARCH button.

Also, I'd like to be able to LIST ALL from the Main page. I'm using "user-Friendly_html".

THANKS! Sorry for redundancy.

Lenny

------------------
Catalyst for the new millenium
Quote Reply
Re: Match any - again - sorry In reply to
Can't help ya on the hitting return problem. I am faced with the same problem. And there has been no solution posted for it.

In terms of Listing All Records from your main page within DBMAN, use this link:

Code:
<A HREF="$db_script_link_url&view_records=1&$db_key=*">List All Records</a>

For a link outside of DBMAN use this link:

Code:
<a href="/cgi-bin/dbman/db.cgi?db=default&uid=default&view_records=1&ID=*">List All Records</a>

Change the directory dbman to your DBMAN directory.

Hope this helps.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited September 08, 1999).]

[This message has been edited by Eliot (edited September 08, 1999).]
Quote Reply
Re: Match any - again - sorry In reply to
Short of Java onSubmit and form.submit() I think your best bet is to use:

<INPUT type="Submit" NAME="Submit" Value="">

and place it so that it is way down the page that is below where most people look. If you want more info on the Java contact me, but I don't like using it myself.

------------------
JGU

Quote Reply
Re: Match any - again - sorry In reply to
jury,

I have tried those codes and they do not work with Netscape 4.05.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Match any - again - sorry In reply to
Yah will Java is seldom a good solution any way.
But the hidding of the blank submit button does work - does it not?
Quote Reply
Re: Match any - again - sorry In reply to
Well, I have tried with taking out the value for the Value attribute, and I keep getting Unauthorized Action Error.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Match any - again - sorry In reply to
Its like this:

http://www.library.unsw.edu.au/~law/repsrch1.html

nothing too clever look at the very bottom left for blank submit button - so all one has to do is put in search term and hit return. Never mind my multi-search term clutter - this is just to show hidden submit button.

------------------
JGU

Quote Reply
Re: Match any - again - sorry In reply to
Yep...I tried in Netscape 4.05 and it does NOT work. I tried hitting the Enter/Return key and I got the bing bing from my computer and the form was not submitted. Might work on other browsers, but I always look for universally accessible solutions.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Match any - again - sorry In reply to
I'm using

<a
href="http://www.tasteofbrooklyn.com/tob/cgi-bin/dbman/db.cgi?db=default&uid=default&view_records=1&ID=*">
<img
src="browse.gif" border=0 border="false"></A>

in an attempt to list all, and it doesn't seem to be working. Any clues?

Thanks!
Quote Reply
Re: Match any - again - sorry In reply to
I am still working on this using ENTER rather than a SUBMIT button business. It seems that IE differs from Netscape in this area. IE can and does happily send (post, get) off forms with multiple INPUT statments upon hitting ENTER wereas Netscape sees these INPUT statments as different <LAYER>s and bulks. There must be a way of nesting the <LAYER>s using <SPAN ID> or if that fails I'll try JavaScript (ick) multiple function submit() statments with a document.write statement putting them all together - wish me luck I may never return...

------------------
JGU

Quote Reply
Re: Match any - again - sorry In reply to
First off, please ask your questions in the other forum in the future. This forum is for those who cannot get DBMan installed correctly. Once you have it installed, you should ask your questions in the other forum.

If you want users to be able to hit the return key for a search, add

Code:
<input type="hidden" name="view_records" value="1">

to your form.

Quote:
I'm using

<a
href="http://www.tasteofbrooklyn.com/tob/cgi-bin/dbman/db.cgi?db=default&uid=default&view_records=1&ID=*">
<img src="browse.gif" border=0 border="false"></A>

in an attempt to list all, and it doesn't seem to be working. Any clues?

You say "it doesn't seem to be working." What does it do?


------------------
JPD





Quote Reply
Re: Match any - again - sorry In reply to
CyborgNY --Apparently you don't have a field named ID in your database, I got it to work fine using the following:

http://www.tasteofbrooklyn.com/tob/cgi-bin/dbman/db.cgi?db=default&uid=default&view_records=1&keyword=*

Cheers!

------------------
Larry "NgtCrwlr" Mingus
www.makeitsimple.com