Forum Discussion

nerdyplayer's avatar
nerdyplayer
Copper Contributor
Nov 17, 2023

making a textbox that is dependent on another selection

users want to be able to leave comments each time they are reviewing the case.

I could make text box for each column but wanted to make it cleaner.

Right now, I have a choice column for the review # and text field for each corresponding column.

 

Idea is, if user chooses review #1, text field input fills in comment #1 column.

if user chooses #2, text field input fills comment #2 column. 

 

I feel i would do an if,else statement to make it work. 

IF('review#'-1st,(fill('column#1), else etc

 

1 Reply

  • Zorky's avatar
    Zorky
    Copper Contributor
    I suppose that you are searching for a way to accomplish that in the power app ?
    If yes, try to play with the Visible property of each text box based on a selection in the choice column.

    like
    TextBox1 , Visible= If(dropdown.selected.value="option1",true,false)
    TextBox2 , Visible= If(dropdown.selected.value="option2",true,false)
    TextBox3 , Visible= If(dropdown.selected.value="option3",true,false)

    based on that only one text box will be shown to the users.