When a user selects “Read More” within the repeating group, I’d like for that rectangle to expand to show the rest of the text. Is there an easy way to do this with repeating groups, can’t seem to figure it out?
There’s nothing built in for this as far as I know. One way is to include a second text box that shows all the text (i.e. doesn’t have the Cut off content … property set). Hide it by default and then show it when the read more button is clicked (and of course hide the cut-off version).
Yup, that’s what I do. Two different things; hide one and show the other.
have you had a look at the css update? ive been pushing some extras out in it to include adding classes, that should be the end of your troubles.
“have you had a look at the css update? ive been pushing some extras out in it to include adding classes, that should be the end of your troubles.” which css updates? My problem is if say they click on the “Read Me” button then how would I extend the box so that it pushes all the content below it down. Not sure how I’d control that with css.
What part of cascading style sheet doesnt sound close to moving page parts?
There is quite a simple way to do it that may suit.
Set the text box to “shrink” then add a “:truncated to” to the data.
Have a condition that sets the Text to the value without the truncate.
This works best on a hover event, but you may be able to adjust to have a button trigger.
Providing you don’t want any actual control over the repeating group itself, go with Nigel’s answer, if you would like that extra dynamic of width control, or run into these types of issues -
then go with the tools.
This topic was automatically closed after 70 days. New replies are no longer allowed.