- How to get City in capitals?
- Posted by Leo Rietbergen on February 1st, 2005
Is it possible to let Microsoft CRM put the value in the field City
automatically in upper case? So when the user puts in Amsterdam Microsoft CRM
converts it to AMSTERDAM?
When yes - How??
Thanks in advance for your reaction
Regards
Leo Rietbergen
- Posted by John O'Donnell on February 1st, 2005
you cannot put code in so that the city is automatically capitalized. You
can only attach code to picklist fields. So you could have a required
picklist so when the user selects a value in the picklist it capitalizes
your city. The other option would be to use a post call out to call back
into the platform, get the city..convert it to capitalize it then put it
back..
or you could train your users to do this automatically :-) ie put citys in
caps
--
John O'Donnell
Microsoft CRM MVP
http://www.mscrmfaq.us
"Leo Rietbergen" <LeoRietbergen@discussions.microsoft.com> wrote in message
news:BDFD4031-47BD-4B2A-B8BF-BD2F9C0CC322@microsoft.com...
- Posted by Leo Rietbergen on February 1st, 2005
OK John Thanks
Leo
"John O'Donnell" wrote:
- Posted by John O'Donnell on February 1st, 2005
one other option is to use a post callout for update however this will
require a certain amount of coding
--
John O'Donnell
Microsoft CRM MVP
http://www.mscrmfaq.us
"Leo Rietbergen" <LeoRietbergen@discussions.microsoft.com> wrote in message
news:61EDFC0B-245C-48EE-B861-B4413F8819EF@microsoft.com...
- Posted by Nico de Lezenne Coulander on November 17th, 2006
If still interested?
I use the following 'OnChange'-event (CRM 3.0):
// Het veld ophalen dat de gebeurtenis in gang heeft gezet
// Get the field
var oField = event.srcElement;
// Als het veld bestaat en geen nulwaarde bevat
// If the field exists
if (typeof(oField) != "undefined" && oField != null)
{
if(oField.DataValue != "")
{
// Overzetten naar hoofdletters
// Change to capitals
var sTmp = oField.DataValue;
oField.DataValue = sTmp.toUpperCase();
}
}
The only problem is that it gives an error when the field is changed to no
value ("").
"Leo Rietbergen" wrote:
- Posted by petra on June 14th, 2007
Thanks! I was looking for this as well, and I couldn't believe that it wasn't
possible.
"Nico de Lezenne Coulander" wrote:
- Posted by GrandiJoos on June 14th, 2007
I use
crmForm.all.address1_city.DataValue =
crmForm.all.address1_city.DataValue.toUpperCase();
in the onchange event of the city field.
GrandiJoos
On 14 jun, 12:26, petra <plus_nospam_pe...@hotmail.com> wrote:
- Posted by Nico de Lezenne Coulander on June 14th, 2007
Yes, this is possible, but I had a problem when the field was 'undifined'
(just empty, so to speak).
Nico
"GrandiJoos" wrote: