Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Auto Fill Field

Posted on by 250

Hello Everyone

Does anyone know the javascript code for my need.

I need fill a field in dynamics and them auto fill other fields, this informations are located in a entity when i fill a field the  information in this entity will fill other fields.

please help me with the code.

*This post is locked for comments

  • HarryZang Profile Picture
    HarryZang 240 on at
    RE: Auto Fill Field

    First, create an onchange event and attach to the first field,

    Second, inside onchange event, use the fetchXml/WebAPI to grab the necessary information from other entity.

    Third step is set the values based on the fetchXml result.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Auto Fill Field

    Hi,

    if there is a relationship , have you consider to use quick view form ?

    www.magnetismsolutions.com/.../how-to-add-a-quick-view-form-in-microsoft-dynamics-365

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Auto Fill Field

    Hi

    You can refer my post here: http://himbap.com/blog/?p=2874 to implement your requirement, it will help you. If you are not able to write code using reference from my post you can download Rest builder and build your Web API code from there github.com/.../releases

  • TaniSantos Profile Picture
    TaniSantos 250 on at
    RE: Auto Fill Field

    thank you adrian

    i have an entity named zip code with the information zip code, city and estate already completed. Now in my contact form in the contact entity whem i fill the zip code field will search in the zip code entity and them auto complete the field city and state in the contact form.

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: Auto Fill Field

    Hi TaniSantos,

    I can help you with this, but you need to be more specific about when you want to fill fields, and what information you want to fill these fields with.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans