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!

enabling / disabling field with dynamic action and enforcing 'value required' attribute

anand_gpJun 29 2015 — edited Jul 1 2015

Hi,

Wanted to know how to force 'value required' attribute for the disabled item after it is 'enabled' by a dynamic action.

For example, let's consider Employee form. I would like to disable Job and Salary column. As soon as user enters Employee Name, I will 'enable' JOB and SAL columns using 'dynamic action'.

IMG-1.png

IMG-2.png

And above works fine. Please note that, both JOB & SAL is 'NULL' columns as per DB table. My question is, how to enforce 'value required' condition to yes, after enabling them.

One more example would be, when user selects 'Cheque' or 'Draft', the 'Draft No.' column will be enabled. Otherwise 'Draft No.' column is disabled (that means value is not required). However, when it is enabled, I want to enforce 'value required' to that column. How to achieve this? (i use APEX 4.2.6)

Thanks,

-Anand

This post has been answered by jennis512 on Jun 29 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 29 2015
Added on Jun 29 2015
11 comments
2,787 views