Populating fields from a drop down list - InfoPath Dev
in

InfoPath Dev

Populating fields from a drop down list

Last post 12-01-2009 03:05 AM by pfrary. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-01-2009 02:23 AM

    • pfrary
    • Not Ranked
    • Joined on 12-01-2009
    • Posts 2

    Populating fields from a drop down list

    This feels like it should be simple but I can't figure it out. I have a simple access database with a list of usernames and passwords linked to an infopath form. What I want is that when you select one of the usernames from a drop down list, it automatically fills in the password field so it can be printed off and given to said user. I've managed to populate the drop down list with the usernames but nothing I've done has managed to add the associated password.
  • 12-01-2009 02:48 AM In reply to

    Re: Populating fields from a drop down list

    Hi,

     The Secondary DataSource does it contain the username and the password?  This is needed from the beginning (Pay attention, doing so has a serious security risk)  I would never use InfoPath ore a simple way to show passwords.

     In case both data are available., set as default value of the password the field Password and add a filter saying usernaée = UserNameTextBoxValue

     

    Frederik Van Lierde
    Blue InfoPath Blog  ¦  SilverSands Associate  ¦  Do you follow me already?  ¦  We work smart, not hard


    If this article was helpfull, don't forget to rate it, tnx!
    Filed under: ,
  • 12-01-2009 03:05 AM In reply to

    • pfrary
    • Not Ranked
    • Joined on 12-01-2009
    • Posts 2

    Re: Populating fields from a drop down list

    No real security risk here, it is intended for reception to hand out temporary usernames to people when the IT staff are unavailable to create an account properly. That solution worked just as hoped, thanks.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.