[Web4lib] Form coding problem
Susan Murray-Smith
S.Murray-Smith at library.usyd.edu.au
Tue Jun 7 22:47:02 EDT 2005
Hi Edward,
My initial guess would be that a checkbox would normally have a "1" or a
"true" value
rather than "yes" - have you tried these?
regards
susan
At 11:41 AM 8/06/2005, Edward Spodick wrote:
>We have a subscription to TCE Today, and I am trying to ease the login for
>our users. I am trying a script-generated form, with the needed username
>and password variables. But there is a third form input element, which is
>a check box on their login form. If I leave it as a checked checkbox in
>the script-generated code, the login works. If I convert it to a hidden
>input element, with value="yes", the login fails. If someone could help
>me figure out what I am doing wrong I would appreciate it.
>
>- - - - -
>Form which WORKS when the submit button is pressed:
><form name="form1" method="post"
>action="http://www.tcetoday.com/tce/login1.asp" target="_top">
> <input type="hidden" name="memberno" value="username">
> <input type="hidden" name="pinno" value="password">
> <input type="checkbox" name="chkIsOrg" id="chkIsOrg" checked>
> <input type="submit" value="CONNECT NOW">
></form>
>- - - - -
>Form which FAILS when the submit button is pressed:
><form name="form1" method="post"
>action="http://www.tcetoday.com/tce/login1.asp">
> <input type="hidden" name="memberno" value="username">
> <input type="hidden" name="pinno" value="password">
> Important - If you are not a member of IChemE, but have paid for
> a magazine subscription,
> check here
> <input type="hidden" name="chkIsOrg" value="yes">
> <input type="submit" value="CONNECT NOW">
></form>
></body></html>
>- - - - -
>GET version which WORKS:
><http://www.tcetoday.com/tce/login1.asp?memberno=username&pinno=password&chkIsOrg=yes>
>- - - - -
>
>-Edward
>
>
>--
>Edward F Spodick, Information Technology Manager
>Hong Kong University of Science & Technology Library
>lbspodic at ust.hk tel:852-2358-6743 fax:852-2358-1043
>_______________________________________________
>Web4lib mailing list
>Web4lib at webjunction.org
>http://lists.webjunction.org/web4lib/
Susan Murray-Smith, Web Services Coordinator
University of Sydney Library F03
University of Sydney NSW 2006 AUSTRALIA
Ph: (612) 9351 3804
Fax: (612) 9351 2890
Web: www.library.usyd.edu.au
More information about the Web4lib
mailing list