Hi all, I'm trying to create a "read more" button so that readers don't have to read a chunk of words/ so my repeaters are all the same size (as no. of words are standardised). One thing to know is, the description I'm trying to collapse is Rich Text in a dynamic page, connected to a database. I have changed all .text to .html instead. However, it seems that after including the code for the "read more" button, ALL my descriptions are the same. This means that instead of the usual dynamic page linking (repeaters show diff information), the repeaters now all have the same information.
This is a screenshot of my code:
(#ProfsData is the name of my dataset)
(#researchInterests is the name of my text element in the repeater, and also the name of my field ID in database. They don't mix since one needs a # in front of it)
(#readMore is the name of my button to read more)
And this is the aftermath AKA my problem:
Both repeaters show the same information! However, the names, photos, links, emails are all correctly linked to the database, that's why they are all different (and correct!) Only the description (researchInterests) is wrong and the one I'm attempting to write a code for.
If someone can help me with this, I would greatly appreciate it!