Share via

Edit profile userflow - checkbox issue

Maros, Matej 1 Reputation point
2021-05-13T10:03:38.63+00:00

Hi all,

we are currently using Azure AD B2c to manage our users and we added a custom user attribute called "Marketing Emails" in the format of 'CheckboxMultiselect'.
On the registration page, it is shown as a checkbox, with a boolean value is being stored. This works perfectly and as expected.

To edit the user profile, we implemented a new user flow as recommended by the documentation, enabled localization so that we can see and edit the 'profile edit page'. Under the 'Page layout' of the 'profile edit page' on the same user flow, we added the "Marketing Emails" attribute to be shown for editing. We set it up as optional, no verification required and as 'CheckboxMultiselect' as the user input. When we run the 'edit profile' user flow, login and then want to change the custom attribute, we are presented with just text saying 'Marketing Emails' without any checkbox or any options. If we switch it from 'CheckboxMultiselect' in the user input type to 'Text', we get a text box that we can edit and is prefilled with the value from the user settings.
Example of the 'CheckboxMultiselect' user input type on the edit profile page:

96325-screenshot-from-2021-05-13-12-02-34.png

So the question is, is there a way for the checkbox to appear on the profile edit page? None of the options work as expected.

Azure
Azure

A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-05-21T19:50:07.487+00:00

    Hi @Maros, Matej , I couldn't find any documents that showed how to add a check box. However, I think that this can be done with Javascript. I'm going to reach out to the document author to verify but if you wanted to experiment with that document please do! I'll keep you updated.

    Best,
    James

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.