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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Show hide filed on Form based on condition

(0) ShareShare
ReportReport
Posted on by 25

Hello,

I have a Status  DD field on the form with Values Active and Inactive, I want to show filed rationale when inactive selected and it must be mandatory, When active selected hide rationale field.

Can someone help me with this?

Thanks,

I have the same question (0)
  • Suggested answer
    ba365guy Profile Picture
    2,950 on at

    Hi Shafdev

    You scenario can be implemented by using "Business Rule" functionality in D365. See the following steps.

    1. Navigate to form editor (your desired form).

    2. Choose business rules in the Home Tab (top navigation)

    pastedimage1577410991748v1.png

    3. On the right hand side you will see business rules pane. Click on "New Business Rule"'

    pastedimage1577411077192v2.png

    4. In the condition control, fill in your condition (If Status = Inactive) and click apply

    pastedimage1577411202379v3.png

    5. From the components tab, drag and drop the desired components if condition is true i.e. right side of the condition(Set visibility, set business required)

    pastedimage1577411328280v4.png

    6. Set value in each control appropriately. 

    6.1. Set visibility: Choose your desired field (in my example i chose 'city') and visible = yes. Click Apply

    pastedimage1577411473330v5.png

    6.2. Set Business Required: Choose your desired field (in my case i chose 'city') and status = business required. Click Apply

    pastedimage1577411596023v6.png

    7. Similarly add the controls if the condition is false (bottom of condition control). 

    7.1. Control: Set business required. status = Not business required

    pastedimage1577411758168v7.png

    7.2. Control: Set visibility. Visible = No

    pastedimage1577411832412v8.png

    8. Save, validate

    9. Choose scope = [Appropriate form name] if you need it in single form. OR "All forms" if you need in all forms. OR "Entity" if you need at the entity level. 

    10. Activate.

    Let me know if it works for you.

     

  • Suggested answer
    ashish12 Profile Picture
    3,079 on at

    community.servicenow.com/community

  • ba365guy Profile Picture
    2,950 on at

    Hi Shafdev

    Did it work for you. 

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans