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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Dynamic Actions Disable Button Based On Text Field

wowlSep 24 2013 — edited Sep 24 2013

Hi,

Sorry if this has already been asked but I did check and couldn't find a post.

I'm trying to disable / enable a button "displayed among this region's items" based on if a text field has a value or.  I've created a dynamic action to do this but its only partially working.  I can get the button to be either disabled or enabled when I leave the text field but what I'm trying to do is to get the button status to change as soon as I start typing in the text field or go back to disabled if the text is deleted.

I'm sure I'm missing something simple and help you can give is greatly appreciated.

I'm using APEX 4.1 and this is how I've got the dynamic action set-up, I've tried different event types but non of them give the action I desire.

I've also set-up an example (details below)

Event - Change

Selection Type  - Item

Item(s) - P1_TEXT

Condition - Is Null

True Action

Action - Disable

Fire When Event Result Is  - True

Fire On Page Load - Y

Affected Elements - Button

Item(s) - P1_BUTTON

False Action

Action - Enable

Fire When Event Result Is  - False

Fire On Page Load - Y

Affected Elements - Button

Item(s) - P1_BUTTON

workspace - show_issue

user_name - show_issue

password - show_issue

app_id - 61707

http://apex.oracle.com/pls/apex/f?p=61707:1

This post has been answered by Jeff E on Sep 24 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2013
Added on Sep 24 2013
2 comments
605 views