Power Apps Exchange

Please login or click SIGN UP FOR FREE to create your PowerAppsUG account to join this user group.
 View Only
  • 1.  Conditional form field requirement

    Posted Feb 28, 2023 05:18 PM

    I have a form with a datacard field -- PROXY_EMAIL --  that is not required under most circumstances. However, when a user selects a specific value from the choice field PROXY_STATUS and if that selected value contains the text string "proxy", it needs to then become a required field. I searched around the net looking for something that would resolve this and if I insert an if statement in the Required property of the datacard, it will make it required under that circumstance. I've inserted the code below:

    I think this should do it, but there's a syntax issue here I can't quite get past. You can't see it here, but the red underline is beneath the ",Value". I'm sure this is a simple fix, but help here is appreciated.



    ------------------------------
    Rik Forgo
    Writer/Editor
    ------------------------------


  • 2.  RE: Conditional form field requirement

    Top Contributor
    Posted Mar 01, 2023 06:16 AM

    Hi @Rik Forgo ,

    For a Multiple Choice combo box (in the Required of the Data Card)

    "proxy" in Lower(FIELD_SUBAGENCY_PROXY_STATUS.SelectedItems.Value)

    Single Choice combo box

    "proxy" in Lower(FIELD_SUBAGENCY_PROXY_STATUS.Selected.Value)


    ------------------------------
    Warren Belz
    MVP (Business Applications)
    Australia
    ------------------------------



  • 3.  RE: Conditional form field requirement

    Posted Mar 01, 2023 07:21 AM

    Thanks Warren, amidst all of that I didn't consider case sensitivity. I will going forward. This worked, and thanks for the help.



    ------------------------------
    Rik Forgo
    Writer/Editor
    ------------------------------