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 checkbox session state using Jquery / dynamic action

paddepalNov 25 2013 — edited Nov 25 2013

Hello Folks,

I'm trying a simple dynamic action to disable & set element value upon making a radio box selection.

What I'd like is:

a) if i chose "Vendor" as "Traditional" (default value) I would like to set the "SNAP" flag as Checked and "Status" textbox to "test for static value" (SNAP flag is not set, only works on Page load)

b) if i chose "vendor" as "Isilon" then "SNAP" flag should be greyed out (disabled) and "Status" textbox should be disabled. (Working as Expected)

Link to the page:

http://apex.oracle.com/pls/apex/f?p=73069:6:0::NO:::

Workspace: wksp_chandu

Username: test

Password:test

Dynamic Action

Identification

Top

6. Check Disable radio
*
*

When

*
*
*
Popup List of Values: Item(s)
*

True Actions

The following actions will be fired when the 'When' condition is met, or when it is 'No Condition'.

EditSequenceActionFire On Page LoadSelection TypeAffected Elements
Edit10ClearYesItem(s)P6_SNAP
P6_STATUS
Edit20DisableYesItem(s)P6_SNAP
P6_STATUS

False Actions

The following actions will be fired when the 'When' condition is not met.

EditSequenceActionFire On Page LoadSelection TypeAffected Elements
Edit10EnableYesItem(s)P6_SNAP
P6_STATUS
Edit30Set ValueYesItem(s)P6_STATUS
Edit40Execute JavaScript CodeNoItem(s)P6_SNAP

Thanks!

Chandu

This post has been answered by paddepal on Nov 25 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2013
Added on Nov 25 2013
2 comments
688 views