cancel
Showing results for 
Search instead for 
Did you mean: 

Activate "button press" event without pressing it

Former Member
0 Kudos

Hi all,

How can I activate button press event without pressing the button?

Thanks,

Michael Beilin

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

we have the action to the inputfield that is on Enter,

in on enter method you can write your coding, when your moving out from your input field then the method will triggered man,

try this, may be it will work for you,

Cheers,

Apparao

Former Member
0 Kudos

That's wrong. The onEnter event is not triggered by moving the focus out of the field.

Armin

Former Member
0 Kudos

HI EXPERT,

JUST CALL THE ACTION METHOD AIN ANY METHOD OF YOUR CONTROLLERLL;;

wdThis.wdGeT<YOURATCTIONNAME>Action();

YOU WILL CALL ACTION INTHIS WAY INSTEAD OF PREESSING BUTTON.

THANKS

JATI

Former Member
0 Kudos

There is a problem with your keyboard's Shift-key.

Armin

Former Member
0 Kudos

Any idea anyway?

How can I make some event happened on the page

without pressing button actually?

Thanks

Michael

Former Member
0 Kudos

I would refactor the content of the action handler into a separate method with all needed parameters and call that method.

Armin

Former Member
0 Kudos

Hi,

Actually I need some action to be occured on the page,like press button,

in order to catch changes in InputField element on the page

Any idea how can I do it?

Thanks in advance

Michael Beilin

Former Member
0 Kudos

You mean something like an "onChange" event? This is only supported since version 7.1 EhP1(?). In older releases the best you can do is using the "onEnter" event or pressing a button/link etc.

Armin

Former Member
0 Kudos

Hi,

If you want to call the action somewhere else other than on press of your button, then you may call that method(onAction"ActionName") where it is required.

 wdThis.onActionActn_Name(wdEvent);

Hope this helps,

Jithin