cancel
Showing results for 
Search instead for 
Did you mean: 

lose focus

0 Kudos

Hi all,

I have a form with 3 inputfields and the second input is a part of text in the first input.

The part is variable as text in the first input. Then, a JavaScript it would decide.

How to do in webdynpro?

Regards

Douglas.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can you provide me with the exact details or elobarate the scenario a bit more ?

0 Kudos

the scenario is, i digit a value in the first input. when press tab button or select next input to digit other value, i need to fill the second inputfield with part of text contained in the first input

example:

wdContext.currentNode.setInput2(wdContext.currentNode.getInput1.toString (0,2);

tks

Douglas

Former Member
0 Kudos

Hi,

On Tab or on focus are not in the list of events handled by WebDynpro.

You can do it by defining onEnter event for the first input field, and probably only when he presses onEnter u shud enable the field..

This would make sure that user doesnt enter anything inside before the values are captured.

Note : The bottom line is you need some event other than tab or onFocus to achieve this.

Hope it helps.

Regards

Bharathwaj

0 Kudos

webdynpro, dont suport lose focus then?

regards

Douglas

Former Member
0 Kudos

Yes. It does not support it.

-B

Answers (0)