M
Michael Hill
I have a link on my form like:
<a href="javascriptgm_a();pgm_b()><img src="a-.jpg"></a>
that I want to do 2 things:
1) open up a component window and let the user make a selection and
store the result in an input text field we will call fielda,
2) update another field we will call fieldb based on the value of what
gets stored in fielda.
What is wrong with the way I have this link is that pgm_b gets fired off
right after pgm_a fires and does not wait until the user has made the
selection.
I don't want to modify the component window and put code in there to
execute pgm_b because it is used on many screens and is only applicable
to this screen. I don't want any custome code in there.
Pgm_a resides in the component window and pgm_b resides in the screen
window.
I tried putting an onBlur event in the input field where pgm_a updates,
but it doesn't get fired off.
Any thought are appreciated.
Mike
<a href="javascriptgm_a();pgm_b()><img src="a-.jpg"></a>
that I want to do 2 things:
1) open up a component window and let the user make a selection and
store the result in an input text field we will call fielda,
2) update another field we will call fieldb based on the value of what
gets stored in fielda.
What is wrong with the way I have this link is that pgm_b gets fired off
right after pgm_a fires and does not wait until the user has made the
selection.
I don't want to modify the component window and put code in there to
execute pgm_b because it is used on many screens and is only applicable
to this screen. I don't want any custome code in there.
Pgm_a resides in the component window and pgm_b resides in the screen
window.
I tried putting an onBlur event in the input field where pgm_a updates,
but it doesn't get fired off.
Any thought are appreciated.
Mike