Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

set value dynamically in apex tabular form - select list

user10755387Aug 26 2014

Hi,

I have a requirement on Apex 4.2.1 tabular form with 3 columns name (select list- f02 ,  class-"myName"), ID(text field- f03, class-"myID") ,desc (text filed- f04, class-"myDesc" ).

I have a select list with with values say A, B ,C and D values. when I select A and B only it should set value in other 2 fields.

So i'm using dynamic actions- set value option.

the dynamic action I have created is giving the same value for all the items or clearing the values.its behaving very weirdly. Can someone please correct the below action where i'm going wrong.or what code should I use if this is not correct. please let me know.

event: change

selection type:jQuery selector

jQuery Selector: .myName

condition : in list

value : A, B

TRUE ACTION :

EditSequenceActionFire On Page LoadSelection TypeAffected Elements
Edit10Set ValueNojQuery Selector.myID
Edit20Set ValueNojQuery Selector.myDesc

Sequence:10

Action: Set value

stop on execution:yes

wait for result: yes

set type: static

value:UPC

supress change event:NO

selection type :JQuery selector

JQuery selector:.myID

Sequence:20

Action: Set value

stop on execution:yes

wait for result: yes

set type: PL/SQL expression

value- :P27_VALUE

page items to submit - P27_VALUE

ESCAPE special characters :NO

supress change event:NO

selection type :JQuery selector

JQuery selector:.myDesc

FALSE ACTION :

EditSequenceActionFire On Page LoadSelection TypeAffected Elements
Edit10ClearNojQuery Selector.myID
Edit20ClearNojQuery Selector.myDesc


Thanks

Sri

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2014
Added on Aug 26 2014
0 comments
594 views