cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 許議中 <>
Subject how to get validation status in flowscript
Date Sun, 03 Jul 2005 04:05:36 GMT

I've a form with v2 flowscript,in fd I design a button
 <fd:action id="save" action-command="shkh" defaul="false">
 <fd:label><i18n:text key="save">save:</i18n:text></fd:label>
    <fd:javascript>var parent = event.source.parent; 
and in flowscript I design a onClick

 var button2 = form.lookupWidget("sure");
 button2.onClick = function() {
    --want to know the validation of the form if pass pr not.

how to capture the validation staus in flow.

Best Regards

View raw message