mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 10:40:45 -08:00
missing e-mail
This commit is contained in:
parent
bf0f278cb1
commit
4fd3f2dfdc
2 changed files with 10 additions and 6 deletions
|
|
@ -991,4 +991,4 @@ if confirmed or nil if canceled. CANCEL-TEXT is only displayed if modal is t"
|
|||
(name-value win name))))))
|
||||
fields)))
|
||||
(funcall on-input result)))
|
||||
:one-time t)))
|
||||
:one-time nil)))
|
||||
|
|
|
|||
|
|
@ -76,12 +76,16 @@
|
|||
("Name" :name)
|
||||
("E-mail" :email))
|
||||
(lambda (data)
|
||||
(if (equal (cadr (assoc :email data)) "")
|
||||
(clog-web-alert second-rung "Missing E-Mail"
|
||||
"Please fill out E-mail" :time-out 2)
|
||||
(progn
|
||||
(setf (display second-rung) :none)
|
||||
(setf (hash (location body)) "rung3")
|
||||
(setf (inner-html (attach-as-child body "rung3-answer"))
|
||||
(format nil "<br><br>Thank you ~A<br>Your information will
|
||||
NOT be sent shortly.(DEMO)"
|
||||
(cadr (assoc :name data)))))))
|
||||
(cadr (assoc :name data)))))))))
|
||||
;; rung-3
|
||||
(let* ((third-rung (create-web-compositor body :html-id "rung3"))
|
||||
(image (create-img third-rung :url-src "/img/yellow-clogs.jpg"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue