Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6739309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:28:19+00:00 2026-05-26T11:28:19+00:00

I’m blocking a select list with a dynamic action(after refresh with a jquery command

  • 0

I’m blocking a select list with a dynamic action(after refresh with a jquery command ('#P987_X').attr("disable", true);) after adding a value to a table so i have a button with a submit action that after submitting it goes to the same page only has the report actualized with that new value.

My problem is that when it loads the page after the submit it blocks the select list but loses the value i have selected and i’m doing the branching with “save state before branching”

And if i don’t block the item it does everything right and does’t lose the value.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:28:20+00:00Added an answer on May 26, 2026 at 11:28 am

    This is a feature of HTML forms, not Apex-specific: the value of a disabled item is not submitted when the form is submitted. A work-around is to copy the value of the item into another hidden item when disabling it, and then when the page is submitted copy the hidden item’s value into the disabled item.

    I have created a demo of the solution here on apex.oracle.com. It works as follows:

    Items

    • P19_SELECT is the select list. Its source value is set to &P19_SAVE., with source used “only when current value in session state is null”
    • P19_NUM controls whether the select list is enabled or disabled: P19_SELECT is enabled when P19_NUM = 0, else disabled. Default value is 0.
    • P19_SAVE is used to save the value of P19_SELECT. It could be a hidden item, I have made it visible for demo purposes.

    Processes

    When Submit button is pressed, the following PL/SQL page submit process runs:

    :p19_num := :p19_num+1;
    :p19_save := nvl(:p19_select,:p19_save);
    

    The first statement increments the counter to make P19_SELECT disabled, the second saves the current value of P19_SELECT into P19_SAVE.

    Dynamic Action

    There is a single dynamic action defined as follows:

    • When Event: page load
    • When Condition none
    • Condition Type: Value of Item/Column in Expression 1 != Expression 2
    • Expression 1: P19_NUM
    • Expression 2: 0
    • True Action:
      • Action: Disable
      • Select Type: Item
      • Item: P19_SELECT
      • Fire on page load: checked
    • False Action: (none)

    The Reset button clears the cache so P19_NUM goes back to 0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
Basically, what I'm trying to create is a page of div tags, each has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.