onFormSubmit: function($form) { $form[0]["kiflo_tracking_code"].value = kiflo('getTrackingCode'); }