FORM for Reference query-from one site to another-- in C or PERL?

Sheryl Dwinell dwinells at vms.csd.mu.edu
Wed Oct 8 11:00:49 EDT 1997


 Too bad you don't have PERL programmers at your site that might be able to
write a script for you instead of trying to use a 'canned' script off the
Net. Since you have C expertise have you considered having one of the
programmers write a CGI script in C?

I'm a PERL novice, so I really can't help picking apart the script.
However, I see some problems in your form:


<B>Your E-mail Address: </TD><TD></B><INPUT NAME="email" VALUE="" ROWS=1
SIZE=40></TR><TR><TD align=right><B>Your
Real Name: </TD><TD></B><INPUT NAME="realname" VALUE="" ROWS=1
SIZE=40></TR><TR><TD align=right><B>Organization:
</TD><TD></B><INPUT NAME="organization" VALUE="" ROWS=1
SIZE=40></TR><TR><TD align=right><B>Subject:
</TD><TD></B><INPUT NAME="subject" VALUE="" ROWS=1 SIZE=60></TR><TR><TD
align=right>

------------

It looks to me like the INPUT tags are incorrect.  First, delete the
attribute VALUE="" from each tag since they contain no information.  Then,
in the INPUT tag, you need to add TYPE="text" since these are text boxes
where people are typing in information.  For example:

<INPUT NAME="subject" VALUE="" ROWS=1 SIZE=60>  should look like:

<INPUT TYPE="text" NAME="subject" ROWS=1 SIZE=60>

You also have a problem with this tag:

<INPUT NAME="redirect" VALUE=ACTION="/cgi-bin/ref-query"TYPE="HIDDEN"> 

Looks like you need to take out the VALUE=ACTION="/cgi-bin/ref-query" from
that tag. Is there something coming from some other form that you need to
put into the VALUE attribute?  Is there another form before this one that
people are coming from? I can't figure out exactly what you're trying to do
here.

Sorry I could be more helpful. Good luck!
 




Sheryl Dwinell * Cataloger/DBM Librarian/Webmaster
Memorial Library * Marquette University
P.O. Box 3141 * Milwaukee, WI 53201-3141
414-288-3406 * dwinells at vms.csd.mu.edu



More information about the Web4lib mailing list