CRM news and views from Simon Jackson

Friday, March 02, 2007

CRM Javascript

Michael Höhne a CRM MVP has collated a list of handy JavaScript snippets that are frequently requested in the Microsoft CRM newsgroups.

The folloing snippets are listed (as of 2-Mar-2007)
  • Replacing the content of an IFRAME
  • Adding additional values to duration fields
  • Changing the title of a CRM form
  • Changing the Link of a Ticker Symbol from MSN Money to Yahoo Finances
  • Counting the number of backslashes in a string
  • Changing the label of a field at runtime
  • Changing the color of a single option in a picklist
  • Opening a new window without the IE menu and status bars
  • Disabling a form at runtime
  • Automatically changing the value of a text field to capitals
  • Getting notified when the user selects a another tab on a form
  • The current record id
  • The current object type code
  • Initializing a date field with the current date
  • Changing the URL of an IFRAME at runtime
  • Displaying a picture in a CRM form, using a text field to store the data source
  • Changing the default lookup type
  • Calculating a date field based upon the selection of a picklist
  • Creating a new email when double-clicking a standard text field
  • Resetting a field value if validation fails
  • Inserting line breaks in a text area control
  • Hiding an entire row of a CRM form
http://www.stunnware.com/crm2/data/More%20JavaScript%20code.htm

Labels: ,

1 Comments:

Blogger Saran said...

I want to make a Mandatory field to Non-Manadatory field on droplist change using javascript
How can i do it any help plz

12 June 2009 13:00

 

Post a Comment

Links to this post:

Create a Link

<< Home