Hi,
I want the text to readmore to expand the text and readless to short the text how can i do without Javascript ?
regard,
prasath
Hi prasath ,
Yes you can do it by IF widget.
in true branch show minimum content and else branch show full content and on button click you can change value of Boolean attribute. so condition can be chnaged.
https://rahul-sahu.outsystemscloud.com/OSTest/ReadMore?_ts=637795026018556499
Regards
Rahul
Hey,
You could create a webblock where you encapsulate the text/expression in an IF condition. In case the text length is longer than a specified value you could display just a substring followed by (more...) or something similar. Otherwise, you just display your full text. When clicking (more...) you could control the IF condition via a variable so the full text is displayed.
Regards,Bogdan