Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Any way to display a text message conditionally on a form?

Posted on by 110

Business rules are great, but limited in what actions they can perform.  I don't see a way to use one to hide or show a text message.

Does anyone have a good workaround?

I could have a field on every single record that holds the message, and hide or show the field by a business rule.  But that seems wasteful.  

Any other ideas?  JavaScript is a no-no here as we have nobody who can write it.

Thanks,

Jessica

  • Suggested answer
    Jessica Weissman Profile Picture
    Jessica Weissman 110 on at
    RE: Any way to display a text message conditionally on a form?

    You have the scenario exactly right.  

    Thank you for confirming there's no way besides a text field on all records to solve it.

  • Jessica Weissman Profile Picture
    Jessica Weissman 110 on at
    RE: Any way to display a text message conditionally on a form?

    I need to base it on a field value.  If a choice field we'll call Customer Type is set to "Tribal" the message should say "Alison is the POC for all Tribal customers".  Otherwise it should be hidden, or the value set to empty.

    I don't see any way to do that without misusing a text field.

  • Verified answer
    Inogic Profile Picture
    Inogic 24,094 on at
    RE: Any way to display a text message conditionally on a form?

    Hi Jessica,

    It would be better if you provide a scenario/example on what you are trying to achieve.

    Based on your provided description, I assume that you wanted to show/hide text message based on certain condition (i.e. based on other field value).

    Currently, there is no action available in Business Rule to show/hide a text message (Until you show/hide the field).

    As a workaround, we can create a new Field let’s say “Message” on the record and can use Set Field Value action of Business Rule to update the “Message” field as shown below:

    Text-Message.png

    Also, there will be no need to show/hide the text message, as we are showing the message based on condition.

    Hope this helps.

    Thanks!

  • LVanDerMerwe Profile Picture
    LVanDerMerwe 17 on at
    RE: Any way to display a text message conditionally on a form?

    do you have a senario/example of when you'd like a message visible and when it must be removed?

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