Hi,
You can have inside of CRM Form buttons through Web Resources (HTML
or Silverlight). Like that you perform any action. Be careful that custom Javascript inside of new Polaris UI isn't supported.
Hope this helps.
If i answered your question, please mark the response as an answer and also vote as helpful.
Pedro Azevedo Crm Specialist 4.0\2011