@Override public int execute(final FormObject form,final int type,final String code,final int eventType,final char keyPressed){
  int messageCode=ActionHandler.NOMESSAGE;
  if (code instanceof String) {
    final String js=code;
    final String[] args=JSFunction.convertToArray(js);
    final String command=args[0];
    if (command.startsWith("AF")) {
      messageCode=handleAFCommands(form,command,js,args,eventType,keyPressed);
    }
  }
  return messageCode;
}

@ Override public int execute ( final FormObject form , final int type , final String code , final int eventType , final char keyPressed ) { int messageCode = ActionHandler . NOMESSAGE ; if ( code instanceof String ) { final String js = code ; final String [ ] args = JSFunction . convertToArray ( js ) ; final String command = args [ 0 ] ; if ( command . startsWith ( "AF" ) ) { messageCode = handleAFCommands ( form , command , js , args , eventType , keyPressed ) ; } } return messageCode ; }
execute javascript and reset forms values
