Add an input field in carousel
Application Type
Mobile
Platform Version
11.12.0 (Build 29775)

Hi all,

I have a use case is my app where I want to add an input field the carousel .So for different content I can capture different responses . Currently the input field does not work in carousel how can I achieve this.


Thanks & Regards

Hi Kanishka,


Can you try the following:

1- Open the widget tree.

2- Select the "list list-group".

3- Assign it to a source (suppose its array of structure, call it ListOfItems).

4- Add an input inside the "list list-group".

5- Enclose the image and the input in a container.

6- Assign the input variable to the ListOfItems.Current.NAMEOFYOURVARIABLE.

So then in the logic, you can access the data of inputs from this list.

Hope this will solve your problem.


Best Regards,

Hasan

Hi Kanishka,

It's pretty much what Hasan just said. I've created a little demo for you. Find the .oml in attach.

When opening the app for the first time just click on "Add New" to add a new record to the database.

You'll see that it will be displayed in the carousel and you'll be able to edit it using the inputs.

Hope it helps!


KanishkaCarouselWithInput.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.