Inside Activate
Web Forms and Wizards
Client Click Event Handlers
2 min
server side click handlers are no longer supported, however, there are a number of client click handlers available this is an advanced feature and is only required in specific circumstances available eventname description form onsubmit submit the current form this is not normally required as it is the default action for a formbutton or ribbonbutton (with no link) form onsave submit the current form with a 'save' event form oncancel cancel the current form and go to the return page if the current job has been modified or saved then the user will get asked if they wish to keep it form onreturn go to the return page form onsavedraft submit and save the current job as a draft form onrefresh reload the current form selecteditemslist onadditem add the current item to the selection this is normally used for browseobjects or a webgrid action selecteditemslist onorderservice this click handler assumes that the associated object is a service and will start the order process for it selecteditemslist onorderservicequick this click handler assumes that the associated object is a service and will add it to the list if it can be ordered 'quick' or will the order process will start for it examples onrefresh if customer has a dynamic ticket properties web form then a refresh button may need to be added to force a refresh of external data in some of the controls, e g journal notes or assignment status to do this edit the web ticket properties toolbar on the service desk resource and add this button \<ribbonbutton id="refresh" text="refresh" imageurl="refresh sm grey" onclientclick="onrefresh"> \</ribbonbutton>