diff --git a/source/clog-gui.lisp b/source/clog-gui.lisp index ef3a546..b3d7970 100644 --- a/source/clog-gui.lisp +++ b/source/clog-gui.lisp @@ -1439,8 +1439,8 @@ Special field types ============= ================== :filename default dir -- NOTE: This is _server_ side! :checkbox t if checked - :radiobox a-list ((label name)) - :select a-list ((label name)) + :radiobox a-list ((label name)) a third value can be used to select + :select a-list ((label name)) a third value can be used to select :text value (any text input types also work :email, :tel, etc. see FORM-ELEMENT-TYPE) @@ -1461,7 +1461,12 @@ if confirmed or nil if canceled." (format nil "~{~A~}" (mapcar (lambda (s) (format nil - "" (second s) (first s))) + "" + (second s) + (if (third s) + (third s) + "") + (first s))) (fourth l))))) ((eq (third l) :radio) (format nil @@ -1471,11 +1476,14 @@ if confirmed or nil if canceled." (mapcar (lambda (s) (format nil "