if ( %FORM ) { ...response... } else { ...show the formulary... }