Hi,
I have a Word document that i use as a template and then to populate it. Now i got it to work, to use Checkboxes to mark specific marked places in the Word document as "x" (Like a checkmark, because directly checkboxes wont work as far as i know and i dont have a encodian license unfortunately)
The flow has text inputs that then populate a word document and create a file in sharepoint.
For every Checkbox I'm using (For the second Checkbox, i use the var CheckBoxValue2 for example):
OnCheck: Set(CheckBoxValue, "x")
OnUncheck: Set(CheckBoxValue, "")
Default: If (CheckBoxValue = "x", true, false)
And I have a Button to run the Flow on OnSelect:
TestforFileCreation.Run({
text: If(CheckBoxValue = "x", "x", ""),
text_1: If(CheckBoxValue1 = "x", "x", ""),
text_9: TextInput1.Text
})
For every Checkbox i need a new variable like CheckBoxValue1, CheckBoxValue2, CheckBoxValue3 and so on... and there a lot of Check boxes so wouldn't it be kind of unconventional to do this? Also i would need to put in every variable in the OnSelect section on the button. Is there any better solution for this instead of creating hundreds of variables?