#macro ( hl $field $message ) #if($session.getAttribute("results")) #if ($session.getAttribute("results").isValid($field)) $message #else $message #end #else $message #end #end
This page is an example of form handling in JPublish. The form handling logic is provided by the formproc library.