locked
Credential Provider one submit button for several input fields. RRS feed

  • Question

  • OK 
    A somewhat complicated question I believe but hopefully we have some credential provider experts here.

    I have created a credential provider with the starting point of this one:
    https://code.msdn.microsoft.com/windowsapps/V2-Credential-Provider-7549a730

    I have a flow of inputs from the user where he first enters a userid in a tile of the type CPFT_EDIT_TEXT, I then hide this tile and instead show a tile of type CPFT_PASSWORD_TEXT where the user enters a code.

    These tiles has to be set up in start inside a file comon.h and can not be changed later.

    The problem now is that I also have a tile CPFT_SUBMIT_BUTTON next to the userid tile. But when userid is hidden and replaced with the password tile, the submit button also disappear.

    The provider have a function GetSubmitButtonValue which is automatically called on initialisation and sets which tile the submit button should be next to. I dont think you can change this manually and I dont think you can have more than one submit button tile.

    I cant think of a way to get around this and get the look I want. Any ideas?

    Tuesday, February 14, 2017 3:22 PM

All replies

  • Try using ICredentialProviderCredentialEvents :: SetFieldSubmitButton
    Friday, April 28, 2017 6:50 AM