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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Is it possible to make a field appear in a form after it is filled in a business process flow?

(0) ShareShare
ReportReport
Posted on by

I would like to make fields appear in a form after they're filled during the steps of a business process flow, so people don't try to fill these fields before the have to, but can still see the filled fields easily after the step.

Help me! :D

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Radu Chiribelea Profile Picture
    6,667 on at
    RE: Is it possible to make a field appear in a form after it is filled in a business process flow?

    Hi Vincent,

    I think it's possible via JavaScript triggered OnLoad and OnChange for the field.

    Basically what the method should do is following

    function setControlVisible()
    {
        if(Xrm.Page.getAttribute("yourField").getValue() != null)
        {
            Xrm.Page.getControl("yourField").setVisible(true);
        }
        else
        {
            Xrm.Page.getControl("yourField").setVisible(false);
        }
    }


    Hope this helps,

    Radu

  • Verified answer
    David Jennaway Profile Picture
    14,065 on at
    RE: Is it possible to make a field appear in a form after it is filled in a business process flow?

    I would also expect you could do this via a Business Rule

  • Community Member Profile Picture
    on at
    RE: Is it possible to make a field appear in a form after it is filled in a business process flow?

    Hmm so I tried with a Business Rule first, but the problem is that the field also disappear in the business process flow (it is the same field).

    Do you have any idea how to make it work?

    Is it possible ?

    By the way the problem would probably be the same with the javascript code.

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,626 on at
    RE: Is it possible to make a field appear in a form after it is filled in a business process flow?

    Hi Vincent,

    by using JavaScript, the field in bpf will not hide as long as you do not includeheader_process before the field schema name, because the field schema name in bpf is a bit different compared to form field. Refer to below post.

    neilparkhurst.com/.../javascript-work-with-fields-in-header-and-business-process-flow

  • Community Member Profile Picture
    on at
    RE: Is it possible to make a field appear in a form after it is filled in a business process flow?

    Hum nice I'll try that ! I'll Be right back!

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans