Hello! I literally was working on a read more button this morning! I found this post very helpful https://www.wix.com/velo/forum/main/comment/5c2dcdd00522560140e02b57
If you have any issues let me know, glad to walk you through it. My version is below. This isn’t for a Multi State Box, but the idea is similar.
-Joe
$w.onReady(function () {
$w('#dynamicDataset').onReady(function () {
const shortTextLength = 100;
let fullText, shortText, textField;
$w('#repeater1').forEachItem(($w, item) => {
fullText = $w('#dynamicDataset').getCurrentItem().about;
if (!fullText.length) {
$w('#button1').hide();
} else if (fullText.length <= shortTextLength) {
$w('#text24').text = fullText;
$w('#button1').hide();//see more text
} else {
shortText = fullText.substr(0, shortTextLength) + '...';
$w('#text24').text = shortText;
}
})
});
});