Basic Customization > User Interface Customization > Constructing Wizards > Windchill Client Architecture Wizard > Customization Points > Providing user defined SUBMIT function
  
Providing user defined SUBMIT function
You can configure a user-defined javascript function, which will be called when the wizard is submitted. You need to write you own submit functionality in some javascript function and than pass the name of that function as an argument to “setUserSubmitFunction” (provided by wizard framework). By doing so, you are preventing the wizard framework to call the default submit function. Based on the return value (true / false), the wizard framework will decide further action. For example:
<script type="text/javascript">
function user_validate() {
...
...
return true;
}

setUserSubmitFunction(user_validate);
</script>