GMan1973
GMan1973

Reputation: 319

APEX dynamic action not copying value

I am trying to get the drop down value copied into the text box with out submitting the form.

enter image description here

enter image description here

enter image description here

So when I run the page "cow" is populated in the copied value but the value does not change when I change the drop down. Any help would be greatly appreciated. I tried java script and that did not seem to work either.

Upvotes: 0

Views: 261

Answers (1)

Dan McGhan
Dan McGhan

Reputation: 4659

Change the Set Type of the Action to JavaScript Expression. Then enter the following in the JavaScript Expression field:

$v('P5_MY_SELECT')

Alternatively, you can use:

apex.item('P5_MY_SELECT').getValue()

Upvotes: 2

Related Questions