Hi @Anonymous ,
You can apply condition to check if the text input box, dropdown or check box is visible, and then patch corresponding control value.
Except that, you also can check each items type to determine which control value to be patched.
For example, I assume there is a column named type in the backend data source.
Patch('KPI Write To',Defaults('KPI Write To'),{PPMUniqueID: ThisItem.PMMUniqueId,
Answer:
If(
ThisItem.Type= "TextInput", AnswerTextInputControl.Text,
ThisItem.Type= "Dropdown", DropdownName.Selected.Value
ThisItem.Type= "Checkbox", If(Checkbox1.value,"Yes", Checkbox2,Value,"No")
),
Comment: CommentTextInputControl.Text, Timestamp: Now()})
Hope this helps.
Sik