I have a use case where I want to show a user a piece of text or an image, then they will click one or more checkboxes/buttons that indicate the presence of themes or objects in the text/image. When they are done they will click a button to move on to the next piece of text or image and start the process over.
To do this, it seems like the identifier of the text/image would need to be passed back and forth and sometimes altered by the streamlit app (when the user clocks the βnextβ button) but the id would not explicitly be specified the user. Is there an existing mechanism for doing this?
It seems like a hidden form element would be useful for handling this.