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)

Three Checkbox as Radio button issue

(0) ShareShare
ReportReport
Posted on by

Hi 

I want to implement three check box by creating three field with datatype Two options. Now my requirement is if any one is selected other two should be disable and unselected and if that selected checkbox unmarked then other two becomes enable.

I have implemented this easily using Business Rules.

Now issue is it works fine when we create new record but when I update existing record and un-check selected checkbox and select other checkbox and save it, the other I just unchecked keep checked automatically at the end of the save.

So I think when I disable the checkbox it maintain its value on save and not updating new value on save. So reloading same record, it comes with older value. 

I dont want to install any other custom solution to show checkbox. 

I hope you get my point. 

Thanks. 

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    mscrmba Profile Picture
    on at

    It sounds like you need more business rules (or you've got a business rule that is setting the value to yes when it shouldn't) or you've got them running in the wrong sequence:

    The additional rules (if needed) would need to set the value of the other 2 checkboxes to equal 'No'  when one of the others is selected.

    If they are running in the wrong sequence, then deactivate all the business rules, and then reactivate them in the order they make sense to run.

    Have checked with my own business rules and I can get them to set the values to either value without any difficulties.

  • Community Member Profile Picture
    on at

    Thanks mscrmba.

    I already try to set the value of the other 2 checkboxes to equal 'No'  when one of the others is selected but but issue was still presented.

    Its very odd if there is bug considering No as null value when disable.

    Thanks for reply and let me know if you find anything.

    Chintan.

  • Mahendar Pal Profile Picture
    45,095 on at

    Can you share screenshots of your both business rule, assuming you have created two rule to check selected and unselected, because you are using ms crm 2013

  • mscrmba Profile Picture
    on at

    Have updated my original post (please refer above).  Agree with Mahendar, a screenshot of each business rule and an idea of the order you activated them in should allow someone to get to the bottom of the issue.

  • Community Member Profile Picture
    on at

    It is not creating any issue when you create first record but it is when you updated the record and change the select other checkbox.

  • mscrmba Profile Picture
    on at

    Send us the screenshots of your rules.  It'll allow us to get to the bottom of the issue.

  • Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    I just created three checkbox and applied two business rules on first check box

    First BR

    if yes lock other two

    Second BR

    if no unload other two

    I am not able to replicate this issue, unless I am missing something ?? Am I following you correctly ??

  • Community Member Profile Picture
    on at

    Sure. Note: Using CRM 2013, so NO if else in BR

    Find below. 

    All BR. 

    CRMBR2.png

    BR1

    CRMBR3.png

    BR2

    CRMBR4.png

    BR3

    0842.Form.png

    BR4

     

    Checkbox on Form 


     

     

  • mscrmba Profile Picture
    on at

    Assuming BR2 is for the 21 days check box and is the same as the other two...

    I'd try updating BR4 to also have 3 more actions: 'Set Field Value' to 'No' for all three fields.

    Note:  That didn't work - see screenshots of the rules I wrote on my later post on page 2 of this forum post.  It definitely works.

  • Community Member Profile Picture
    on at

    Sorry, forget to add BR2 SS. I just updated my post above with BR2 Screenshot.

    I have tried before , BR4 to have more actions to set all three value to No, didnt work. But let me try that thing again now.

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