Page 1 of 1

WORD object events available

Posted: Sun Oct 12, 2025 8:58 pm
by Uzlander
I've been wondering what js events are there applicable to Word type form-element?
I mean, i tried 'onclick', 'onfocus' to trigger some functionality on the form, but seems it doesn't work with Word/Label type, neither it does with say 'Display' or 'Calc' fields (perhaps because they not meant to take input).
So is there a way to make a WORD object clickable, to use it as some button for frontend manipulations (i needed something alike several times) ?

Re: WORD object events available

Posted: Sun Oct 12, 2025 11:12 pm
by steven
Uzlander ,

If you have a Word Object called word_object you could place this on the Form's JavaScript before it loads...

Code: Select all

$('#word_object').click(function() {
        alert('Word object clicked!');
    });
OR

You could create a Object - Input::Button.

Flatten it out with CSS - so that it looks like just words.

And add an onclick event the same way as normal.

Code: Select all

background-color:transparent; border: none; color: black;background-color: transparent; border: none;color:black;outline: none;
w.png

Steven