Forms are built so that one can query for more than a term in each field, using different techniques:
1. Writing in an Input Box more than a term
Please note that from SFgate 4.0.30, two or more terms in the
same Input Box, without any boolean operator in between, can be
interpreted as connected both by the Boolean operator AND or by
the Boolean operator OR depending on choices made by the System Manager.
At BioPD
we implement the Boolean operator AND as the default one.
So, what is reported in this LIVE example below, should be interpreted as
molecular AND biology.
Here you can inspect the .fmt file, while the relevant part of this form source code is here:
<FORM METHOD=POST ACTION="/htbin/SFgate">
<INPUT NAME="database" TYPE="hidden" VALUE="local//usr/local/wais-sources/serials/current">
<CENTER>
<TABLE BORDER WIDTH=70%>
<TR><TD><SELECT NAME="fieldsel_1_description">
<OPTION SELECTED>Title
<OPTION>Publication Place
</SELECT></TD>
<TD><INPUT TYPE="text" NAME="fieldsel_1_content" VALUE="molecular biology" SIZE=40></TD>
<TD><SELECT NAME="fieldsel_1_tie">
<OPTION>and
<OPTION>or
</SELECT></TD></TR>
<TR><TD><SELECT NAME="fieldsel_2_description">
<OPTION>Title
<OPTION SELECTED>Publication Place
</SELECT></TD>
<TD><INPUT TYPE="text" NAME="fieldsel_2_content" SIZE=40></TD></TR>
</TABLE>
<INPUT TYPE="hidden" NAME="fieldsel_name_ti" VALUE="Title">
<INPUT TYPE="hidden" NAME="fieldsel_name_pp" VALUE="Publication Place">
<P>
</CENTER>
<CENTER><TABLE>
<TR><TH><INPUT TYPE="submit" VALUE="Start Search">
</TH><TH> </TH><TH>
<INPUT TYPE="reset" VALUE="Reset Query">
</TR></TABLE>
</CENTER>
<INPUT TYPE="hidden" NAME="application" VALUE="serials">
<INPUT TYPE="hidden" NAME="tieinternal" VALUE="and">
<INPUT TYPE="hidden" NAME="listenv" VALUE="table">
<INPUT TYPE="hidden" NAME="range" VALUE="1">
</FORM>
The tag that allows the Boolean operator AND to be the default one is
the following:
<INPUT TYPE="hidden" NAME="tieinternal" VALUE="and">
At BioPD if one wants to search for a term OR another term in the same Input box, (s)he
MUST explicitly write the Boolean operator OR in between
the terms.
See for an example what happens submitting the query as proposed below,
compared with previous example.
Please note that introducing two terms in the same Input Box means that
the query is for both terms, whatever their relative position in that
field.
If one wants to query for two terms, one exactly after the other,
separate by a space, then (s)he has to use the Phrasal
(Literal) Serach.
Here you can inspect the .fmt file, while the relevant part of this form source code is here:
<FORM METHOD=POST ACTION="/htbin/SFgate">
<INPUT NAME="database" TYPE="hidden" VALUE="local//usr/local/wais-sources/serials/current">
<CENTER>
<TABLE BORDER WIDTH=70%>
<TR><TD><SELECT NAME="fieldsel_1_description">
<OPTION SELECTED>Title
<OPTION>Publication Place
</SELECT></TD>
<TD><INPUT TYPE="text" NAME="fieldsel_1_content" VALUE="molecular OR biology" SIZE=40></TD>
<TD><SELECT NAME="fieldsel_1_tie">
<OPTION>and
<OPTION>or
</SELECT></TD></TR>
<TR><TD><SELECT NAME="fieldsel_2_description">
<OPTION>Title
<OPTION SELECTED>Publication Place
</SELECT></TD>
<TD><INPUT TYPE="text" NAME="fieldsel_2_content" SIZE=40></TD></TR>
</TABLE>
<INPUT TYPE="hidden" NAME="fieldsel_name_ti" VALUE="Title">
<INPUT TYPE="hidden" NAME="fieldsel_name_pp" VALUE="Publication Place">
<P>
</CENTER>
<CENTER><TABLE>
<TR><TH><INPUT TYPE="submit" VALUE="Start Search">
</TH><TH> </TH><TH>
<INPUT TYPE="reset" VALUE="Reset Query">
</TR></TABLE>
</CENTER>
<INPUT TYPE="hidden" NAME="application" VALUE="serials">
<INPUT TYPE="hidden" NAME="tieinternal" VALUE="and">
<INPUT TYPE="hidden" NAME="listenv" VALUE="table">
<INPUT TYPE="hidden" NAME="range" VALUE="1">
</FORM>
2. Selecting the same field descriptive term in more than an Input Box and connecting the two Input Boxes with the desidered Boolean operator
Here you can inspect the .fmt file, while the relevant part of this form source code is here:
<FORM METHOD=POST ACTION="/htbin/SFgate">
<INPUT NAME="database" TYPE="hidden" VALUE="local//usr/local/wais-sources/serials/current">
<CENTER>
<TABLE BORDER WIDTH=70%>
<TR><TD><SELECT NAME="fieldsel_1_description">
<OPTION SELECTED>Title
<OPTION>Publication Place
</SELECT></TD>
<TD><INPUT TYPE="text" NAME="fieldsel_1_content" VALUE="molecular OR biology" SIZE=40></TD>
<TD><SELECT NAME="fieldsel_1_tie">
<OPTION>and
<OPTION>or
</SELECT></TD></TR>
<TR><TD><SELECT NAME="fieldsel_2_description">
<OPTION SELECTED>Title
<OPTION>Publication Place
</SELECT></TD>
<TD><INPUT TYPE="text" NAME="fieldsel_2_content" SIZE=40></TD></TR>
</TABLE>
<INPUT TYPE="hidden" NAME="fieldsel_name_ti" VALUE="Title">
<INPUT TYPE="hidden" NAME="fieldsel_name_pp" VALUE="Publication Place">
<P>
</CENTER>
<CENTER><TABLE>
<TR><TH><INPUT TYPE="submit" VALUE="Start Search">
</TH><TH> </TH><TH>
<INPUT TYPE="reset" VALUE="Reset Query">
</TR></TABLE>
</CENTER>
<INPUT TYPE="hidden" NAME="application" VALUE="serials">
<INPUT TYPE="hidden" NAME="tieinternal" VALUE="and">
<INPUT TYPE="hidden" NAME="listenv" VALUE="table">
<INPUT TYPE="hidden" NAME="range" VALUE="1">
</FORM>
3. Using the opportunity to fill more than an Input Box referred with the same field name
In the LIVE example below, you have only to choose the boolean operator you want to use for that connection.
Here you can inspect the .fmt file, while the relevant part of this form source code is here:
<FORM METHOD=POST ACTION="/htbin/SFgate">
<INPUT NAME="database" TYPE="hidden" VALUE="local//usr/local/wais-sources/serials/current">
<CENTER>
<TABLE BORDER WIDTH=70%>
<TR><TH align=left>Title</TH><TD><INPUT NAME="ti" TYPE="text" VALUE="molecular"></TD>
<TD><SELECT NAME="ti_tie">
<OPTION>and
<OPTION SELECTED>or
</SELECT></TD>
<TH align=left>Title</TH><TD><INPUT NAME="ti" TYPE="text" VALUE="biology"></TD>
<TD><SELECT NAME="pp_tie">
<OPTION>and
<OPTION>or
</SELECT></TD></TR>
<TR><TH align=left>Publication Place</TH><TD><INPUT NAME="pp" TYPE="text"></TD>
<TD><SELECT NAME="pp_tie">
<OPTION>and
<OPTION SELECTED>or
</SELECT></TD>
<TH align=left>Publication Place</TH><TD><INPUT NAME="pp" TYPE="text"></TD></TR>
</TABLE>
<INPUT TYPE="hidden" NAME="fieldsel_name_ti" VALUE="Title">
<INPUT TYPE="hidden" NAME="fieldsel_name_pp" VALUE="Publication Place">
</CENTER>
<P>
<CENTER><TABLE>
<TR><TH><INPUT TYPE="submit" VALUE="Start Search">
</TH><TH> </TH><TH>
<INPUT TYPE="reset" VALUE="Reset Query">
</TR>
</TABLE></CENTER>
<INPUT TYPE="hidden" NAME="application" VALUE="serials">
<INPUT TYPE="hidden" NAME="tieinternal" VALUE="and">
<INPUT TYPE="hidden" NAME="listenv" VALUE="table">
<INPUT TYPE="hidden" NAME="range" VALUE="1">
</FORM>
4. Selecting more than a term in a checkbox form.
In this case, of course, terms can be connected only with an OR Boolean operator.
Here you can inspect the .fmt file, while the relevant part of this form source code is here:
<FORM METHOD=POST ACTION="/htbin/SFgate">
<INPUT NAME="database" TYPE="hidden" VALUE="local//usr/local/wais-sources/tutorial/audio">
<CENTER>
<TABLE BORDER WIDTH="70%">
<TR><TH ALIGN=center COLSPAN=3><FONT SIZE=+2>MODE OF INHERITANCE</FONT></TH></TR>
<TR><TH ALIGN=left><INPUT TYPE="checkbox" CHECKED NAME="inheritance_content" VALUE="dominant">
Autosomal Dominant</TD>
<TH ALIGN=left><INPUT TYPE="checkbox" CHECKED NAME="inheritance_content" VALUE="x-linked_dominant">
X-linked Dominant</TD>
<TH ALIGN=left><INPUT TYPE="checkbox" NAME="inheritance_content" VALUE="polygenic">
Polygenic</TD></TR>
<TR><TH ALIGN=left><INPUT TYPE="checkbox" NAME="inheritance_content" VALUE="recessive">
Autosomal Recessive</TD>
<TH ALIGN=left><INPUT TYPE="checkbox" NAME="inheritance_content" VALUE="x-linked_recessive">
X-linked Recessive</TD>
<TH ALIGN=left><INPUT TYPE="checkbox" NAME="inheritance_content" VALUE="unknown">
Unknown</TD></TR>
<TR><TH ALIGN=left><INPUT TYPE="checkbox" NAME="inheritance_content" VALUE="mitochondrial">
Mitochondrial</TD></TR>
</TABLE>
</CENTER>
<P>
<CENTER><TABLE>
<TR><TH><INPUT TYPE="submit" VALUE="Start Search"></TH>
<TH> </TH> <TH>
<INPUT TYPE="reset" VALUE="Reset Query"></TH></TR>
</TABLE></CENTER>
<P>
<INPUT TYPE="hidden" NAME="tieinternal" VALUE="or">
<INPUT TYPE="hidden" NAME="listenv" VALUE="table">
<INPUT TYPE="hidden" NAME="range" VALUE="1">
<INPUT TYPE="hidden" NAME="convert" VALUE="Table">
<INPUT TYPE="hidden" NAME="maxhits" VALUE="30">
<INPUT TYPE="hidden" NAME="directget" VALUE="1">
</FORM>