JSCRIPT 3

Posted on November 26th, 2007 in JSCRIPT von Seidl Michael | 1,378 Views | View blog reactions

After a long time, I will work again on this site, and I will give you more Samples and News. The next Days there will be a few Samples of Jscript Codes, after that I will give you some News about CRM 4.0, so I am back again.

So this is a little Script, which checks the Values in a particular Field, so you can get sure, that only useful Values will be entered. I took the Salutation Field, to check the entered Values.

Goodies

Posted on Mai 30th, 2007 in JSCRIPT von Seidl Michael | 1,498 Views | View blog reactions

So, here are some helpful links and Tools for your daily work with Microsoft crm 3.0, examples coming soon

RegexLib.com - A Lot of examples for Regular Expressions –> click
ajax.asp.net - Useful Samples for AJAX –> click
Webservicex.net - Useful Web services for your daily work with Microsoft CRM 3.0 –> click

Dynamic, automatic Sugesstion

Posted on Januar 23rd, 2007 in JSCRIPT von Seidl Michael | 3,746 Views | View blog reactions

Now its time for something more difficult, on this Site
i saw an interesting example for auto suggestion fields, but the one thing, there are only static Words, i expand
this script, that you can dynamically query a CRM Entity, and take this data for the suggestion fields.

JScript2

Posted on Dezember 18th, 2006 in JSCRIPT von Seidl Michael | 2,055 Views | View blog reactions

Hier seht ihr JScript Beispiele für das berechnen von Datumsfelder.

ZeitFeld deaktivieren
Als erstes ein paar einfache Dinge, das folgende Beispiel zeigt, wie man bei einem DateTime (new_date) Field das Zeitfeld deaktiviert und aktiviert.

JAVASCRIPT [Show Plain Code]:
  1. var dateField = crmForm.all.new_date;//Variable definieren
  2. dateField.all.time.disable();//deaktivieren
  3. dateField.all.time.enable();//aktivieren

JScript1

Posted on Dezember 18th, 2006 in JSCRIPT von Seidl Michael | 1,648 Views | View blog reactions

Here are some JScript Examples for the beginning.

Here you can see some examples to format the WebForm. Here you can see how to change the background collor and the font color.

JAVASCRIPT [Show Plain Code]:
  1. crmForm.all.address1_country.style.backgroundColor = "#FFFFFF";
  2. crmForm.all.address1_country.style.color = "#000000";