web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Capitalize State Abbreviation

(0) ShareShare
ReportReport
Posted on by 690

In the new CRM 2013, the address is now a composite field. I want to be able to automate state capitalization in the address, so that when a user enters "ca" it will change to "CA." I know I can do this using JavaScript, but not sure how to single out the State field on the new Account and Contact screen layouts?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Josh Thompson Profile Picture
    1,115 on at

    I think this will give you what you're looking for: www.magnetismsolutions.com/.../working-with-dynamics-crm-2013-composite-fields-fly-out-menu

    Jump down to the section "1. JavaScript OnChange events on fields in the fly-out menu"

  • dso Profile Picture
    690 on at

    Yes, I figured it out on my own and ended up doing exactly what the link mentioned. I didn't think it would work, but it did! Thanks!

  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    Hi,

    Although currently you can't interact directly with the composite controls at the moment you can add the individual fields to the form as hidden by default and then add your JavaScript logic to those. Although the composite control won't immediately reflect the field changes, when the form is saved it will.

    Hope this helps,

    Scott

  • ScottDurow Profile Picture
    21 on at

    Bit late to the party on this one!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans