Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Yes/No field format in main form

(0) ShareShare
ReportReport
Posted on by 10

I am a novice in Dynamics CRM and I want to have a simple yes/no field with the default as No.  Doing a two-option field will do this but in the form, the field is initially blank and the user has to access it where he/she will only see the "no" and has to click again to see a yes.    This seems counter-intuitive.   It would help if the default were on display initially and then could be changed to Yes.

Is there a way to make this more usable to "limited" users?   A check box would be perfect but my research indicates that this may be above my skill level.

Any suggestions?

Thanks.

  • Paul1204 Profile Picture
    Paul1204 665 on at
    RE: Yes/No field format in main form

    There it is...what a surprise.

    Thanks for the information.

    Paul

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Yes/No field format in main form

    Hi partner,

    This is a known issue.

    community.dynamics.com/.../flip-switch-bug

    I would recommend you do not use 'Flip - Switch' control for the time being.

  • Logos1204 Profile Picture
    Logos1204 10 on at
    RE: Yes/No field format in main form

    I had a delay in implementing this change - I was going for the flip-switch option.   

    I found when I made the change, the control looked fine in the form, but when the "No" default was changed to a "Yes",  the save button didn't change to "Unsaved Changes" and allow me to save them.   The control would always remain "No".

    Any ideas why a change in the field won't register as a change on the form to be able to save it?

    Thanks!

  • Suggested answer
    Priyesh Profile Picture
    Priyesh 7,392 User Group Leader on at
    RE: Yes/No field format in main form

    To add to it, existing records only will show it as blank whereas new records will take up the default value even if you keep the classic Yes/No field.

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Yes/No field format in main form

    Hi partner,

    Don't forget to mark the verified answer by clicking Yes.

    pastedimage1572572178632v1.png

    This will help other users quickly navigate to this post.

    Thanks.  :)

  • Suggested answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: Yes/No field format in main form

    Hi partner,

    I am sharing a control here.

    If you have a two-option field, you can enable the 'Flip - Switch' control to make it as straightforward as a switch.

    There is a two-option field ‘test’ on my form. Open its field properties, under the Controls tab, click ‘Add Control’.

    2625.PNG    4705.PNG

    Click 'Flip - Switch' and click Add. Select its Web and Tablet, click OK. Finally save and publish the form.

    2425.PNG    3782.PNG

    The effect is as follows:

    0876.PNG    6862.PNG

  • Suggested answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: Yes/No field format in main form

    Hi partner,

    The two options field must have a value on the form at all times, that is, it initially displays the default value instead of being blank, and you don't need to click it to get the value.

    Depending on your needs, you want a Yes/No field that initially displays the default value and is a checkbox.

    In this case, use the option set field to meet your requirements.

    As shown, create a new field with the Data Type as the Option Set, click ‘+’ to add two options No and Yes, and select the default value of No.

    5353.PNG

    The effect is as follows. When I create a new record, I don't click on any fields, it shows 'No' by default.

    74448.PNG

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans