141
142
143
144
145
146
147
|
(s:input 'type "submit" 'name "form-name" 'value "login"))
(s:get-input 'email-address)
To preserve the input simply do a set of the value on the 'name field:
(s:set! "email-address" "matt@kiatoa.com")
|
>
>
>
>
>
>
>
>
>
|
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
|
(s:input 'type "submit" 'name "form-name" 'value "login"))
(s:get-input 'email-address)
To preserve the input simply do a set of the value on the 'name field:
(s:set! "email-address" "matt@kiatoa.com")
Radio buttons:
(s:div 'class "col_3"
(s:input 'type "radio" 'id "group-type1" 'name "group-type" 'value "private" 'checked "checked")
(s:label 'for "group-type1" 'class "inline" "Private")
(s:input 'type "radio" 'id "group-type2" 'name "group-type" 'value "public")
(s:label 'for "group-type2" 'class "inline" "Public"))
(s:get-input 'group-type) ==> returns private or public depending on which is selected.
|