[hunchentoot-devel] How do I read the submit button value?

Andrea Chiumenti kiuma72 at gmail.com
Sat Oct 16 16:13:25 UTC 2010


Matt,
don't use <input type='submit'

it's old java  Struts 1.2 style, bleah.. and typical of old MVC action
based frameworks.

use <button> intead.

kiuma

2010/10/16 Matt Lamari <matt.lamari at gmail.com>:
>
> I tried to strip the example down, the HTML is below
>
> For post-parameters* and get-parameters* I get the  following:
>
> Get Parameters: NIL
>
> Post Parameters: (("(Quantity)" . ""))
>
> Is there something wrong with the html that prevents the submit value
> from coming through too?
>
>
>
> <form method='post' action='/AddNewProductInstance'>
>    <table border='1'><tr><td>Quantity</td><td><input name='(Quantity)'
> type='text' cols='40' value='' constraints='{}' required='true' /></td></tr>
>    </table>
>    <input type='submit' value='SubmitButton' /></form>
>
>
>
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>




More information about the Tbnl-devel mailing list