Closed hargettp closed 12 years ago
From email:
When I try to render this form (home-page.lisp):
(+tag-library :html) (+tag-library :std)
(page (+title "Acme home page") (std-page (div (form {:action "data" :method "post"} (input "first name" {:name "first-name" :size 50 :length 30} (br {:noendtag t})) (input "last name" {:name "last-name" :size 50 :lenght 30} (br {:noendtag t})) (checkbox "option 1" {:checked t} (br {:noendtag t})) (input (+@ :type "submit" :value "Press this button for awesome!")) ))))
I get this html form that simply ignores my :action and :method variables:
From email:
When I try to render this form (home-page.lisp):
(+tag-library :html) (+tag-library :std)
(page (+title "Acme home page") (std-page (div (form {:action "data" :method "post"} (input "first name" {:name "first-name" :size 50 :length 30} (br {:noendtag t})) (input "last name" {:name "last-name" :size 50 :lenght 30} (br {:noendtag t})) (checkbox "option 1" {:checked t} (br {:noendtag t})) (input (+@ :type "submit" :value "Press this button for awesome!")) ))))
I get this html form that simply ignores my :action and :method variables: