The following are examples of remote links to the CMRLS databases. Example C is identical to the basic "barcode entry box" code, but with database codes appended to the embedded URL. With the entry box on your own web page, this is the most direct method of access. Its disadvantage is that the user must enter her/his barcode number for each database.
Examples A and B bring the user to the MBLC's barcode entry box, then on to the specified database. As long as the user stays in the same browser session, subsequent selections will bypass the barcode prompt and go directly to the selected database.
<--Example A: hidden values-->
<form
action=http://mblc.state.ma.us/cgi-bin/remote.pl
method="post" enctype="application/x-www-form-urlencoded">
<input
type="hidden" name="db"
value="<remote_code" />Your
descriptive text
<input
type="submit" name="submit"
value="<button
text>"/><br>
</form>
<--Example B: dropdown-->
<form
action="http://mblc.state.ma.us/cgi-bin/remote.pl"
method="post"><select id="db" name="db" size="1">
<option value="" selected="selected">Select a Database</option>
<option value="remote code 1">Your
descriptive text</option>
<option value="remote code 2">Your
descriptive text</option>
<option value="remote code 3">Your
descriptive text</option>
</select>
<input type="submit" name="submit" value="Button
text"/>
</form>
<--Example C: combo box-->
<form action="http://mblc.state.ma.us/cgi-bin/remote.pl"
method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="process" value="login" />
Library card prompt:<input
type="hidden" name="db" value="remote_code" />
<input type="text" name="lib_id"
size="19" maxlength="18" id="lib_id" />
<input type="submit" name="submit"
value="button text" />
</form>