Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
change (a)
change (ab)
change (abc)
change (abc), full // user tried to add "d"
var sNewText = xfa.event.newText;
if (sNewText.length > 3)
{
var sNewChar = sNewText.substr(sNewText.length - 1, 1); // extract new character from the new text value
// impose max length of 3 characters
xfa.event.change = ""; // revoke the change in value, effectively throwing away the character that was just entered
}
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies