Put together text of words depending on ionic toggle checked or not

Hello,

I have been trying to use the ionic toggles lately and had trouble putting together text. I basically want my users to be able to check the kitchen tools they have and send it to the OpenAI API. In this case i want the text output: Mikrowelle, Mixer, Backofen. I have tried the things i know but couldn’t come up with a solution. Do i have to create a repeating group or something like this? Like conditions where i say mikrowelle is visible when mikrowelle ionic toggle is checked and then send the collected repeating group data to the API?

But then again i just want it to be one line not elements as it would be in the repeating group i think. I am pretty new so very confusing right now.

https://imgur.com/a/yHSDIE9

This topic was automatically closed after 70 days. New replies are no longer allowed.