After deactivation of elements using Javascript, the values are missing when the...

.. .page is submitted.

Friends,

I have my page apex in the attribute of the HTML Body with some Javascript functions I wrote to determine the following:

< pre > onLoad = "RadioGroupEnableDisable ('P213_COMPLETED', true); disableStartEndDate(); "< / pre >


These disable a group of radio buttons and two text fields and work as expected, the values in the controls, I can't change the values and the values are changed properly when I navigate to the next record.

However

When I try to edit a field that allow entry and try to save the changes when the page is submitted, I have an error message stating that the required fields are null (these are the same fields that I disabled).

Is this expected behavior? or I'm doing something very wrong?

Any help will be very appreciated!

Hello

Disabled items are not submitted. It's standard HTML.
What is your problem

BR, Jari

Tags: Database

Similar Questions

  • Development of the element using Javascript

    Hello experts!

    I have a problem with the setting of a value of element using javascript.

    I have a button on my page which should regulate my point P1_SORT to the value 'test '.

    I call the function with the following statement in the section my button URL:
    javascript:f_setItem('P1_SORT');
    The problem is that the item is not defined when you call the function.
    Maybe you can help me understand why the service is defective and how it should be like.

    The code I have (in my head of page) is as follows:
    <script language="JavaScript" type="text/javascript">
    function f_setItem (P1_SORT)
    { 
    get.add(P1_SORT,('test').value)
    gReturn = get.get();
    get = null; 
    ;
    }
    </script>
    Thanks for your help!

    Sebastian

    'test' is a string? or the element name?

    Try this:

     function f_setItem (P1_SQRT)
    {
    var pValue='test';
    $x(P1_SQRT).value = pValue;
    }
    

    or

     function f_setItem (P1_SQRT)
    {
    var pValue='test';
    $x('P1_SQRT').value = pValue;
    }
    

    but of course it is jquery

    Edit: second work because the element name is P1_SQRT -, as a variable in the function definition. If U accept jquery U should combinate with this example and I think it should work fine

    Edit2: Var initialized U get?

  • A large number of messages I put in the folder deleted in my email are missing when I go to pick up at a later date

    original title: remove folders

    I have Vista with Windows Mail.  A large number of messages I put in the folder deleted in my email are missing when I go to pick up at a later date.  How can I get back them?

    Windows Live Mail

    The difference. Wrong forum.

    Windows Live Mail Forum
    http://www.windowslivehelp.com/forums.aspx?ProductID=15

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • How to hide the textfield element using javascript

    I point textfield and I want to hide it using javascript...

    can you help me please?

    Hello

    I checked his works well for me.

    Go to DISPLAY ATTRIBUTES and change the direction of cursor to DO NOT FOCUS CURSOR

    then check...

    Let me know incase of any concerns.

    See you soon,.
    Shan...

  • Compensation using Javascript ITEM values

    Hello guys!

    I try to use javascript in order to clear the item values for multiple items of page at a time using the code below:
    <script language="JavaScript" type="text/javascript">
    function f_setItem (fld)
    { 
    $x('P1_GEBIETSSUCHE').value = '';
    $x('P1_ART_GEBIETE').value = '';
    $x('P1_SELECT_ARBEITSSCHRITTE').value = '';
    $x('P1_FEDER').value = '';
    $x('P1_BIOGEOGRAFISCHER_RAUM').value = '';
    $x('P1_VERFAHREN').value = '';
    $x('P1_REG_KART_TEAMS').value = '';
    $x('P1_ALF').value = '';
    }
    </script>
    The function is called using
    javascript:function f_setItem(fld);
    Of course, this does not. You must override fld with the page element that is supposed to be standing.
    Can you please show me how the function should be to call the function and clear all values in point?
    Maybe this will not only solve this problem but add to my understanding of Javscript routines and calls!

    Would be happy to do this before the end of week moved to.  :-)

    Thank you

    Sebastian

    Hello

    Change it as

    
    

    And call it as

    javascript:f_setItem ();
    
  • The graphics are missing when using 'Secure Browsing'

    While browsing in secure mode, the graphics on web pages are missing. The area which would normally be a few pictures show is white. The problem also occurs when I go to some new videos. For example, the following Web site:

    http://News.Yahoo.com/video/world-15749633/Peru-s-Lake-Titicaca-threatened-by-pollution-29613431.html

    It is repeatable.

    I went down to 12 of Firefox and the problem was still present. I demoted then flashplayer 11.3 to 11.2.202.233, I got from the adobe web site for my 64-bit windows operating system 7. Now flash works on Firefox 12 and 13. Older versions of flash are located on
    http://helpx.Adobe.com/Flash-Player/KB/archived-Flash-Player-versions.html

  • Some of my Outlook (hotmail) files are missing when you use Firefox

    When I use Firefox as my browser for my Hotmail e-mail account (Outlook), for the first time this afternoon, some of my personal folders in the left column are missing. But if I use another browser such as Google Chrome or IE9, the files are all there.
    The specific files that are missing are subfolders in the personal file, I created and named trip.
    How can I get them back so that I can continue to use Firefox?

    Therefore, I would appreciate your help.
    Thank you very much in anticipation

    Anthony

    Hi Anthony,.
    If you refresh the files Panel in Firefox or if you search for them, the folders appear actually?

    This occurs after you clear the cache and cookies? Mode or safe mode? Questions to troubleshoot Firefox in Safe Mode

    If you open the developer tools Web console, the folders appear in the html code of the page?

    If the problem persists, please file a bug in the webcompat.com where all the bugs of compatibility were studied.

  • Satellite A100: some files are missing when copying DVD on the desktop

    Hello

    Suppose I have 1000 files on a DVD.
    I drag all these files in the desktop, all of a sudden I see this is 920 files.
    If some files are missing.

    What this may be?
    There are no errors. I don't think that something is wrong.
    I initially thought maybe hidden files are counted in the DVD, but not on the desktop?
    Maybe something on the desktop?

    Anyone have any ideas? I tried to put it on 'To see the hidden files' - it's a Toshiba A100.

    I just ran a scan antivirus on this file and it let's say 1500 files analyzed.
    Haha. Antivirus but probably scanned all etc. desktop.ini and Thumbs.db.
    .. And maybe Windows Vista now have those when you want to display the number of files?

  • How to get the value of the global element using javascript or ajax!

    Hello!

    How can I read at global(point application created in the shared components) using ajax or javascript?
    You can imagine that I need to get the value of this element by function as:
    -----
    Function getText() {var itemVal = $x ('MY_GLOBAL_ITEM') .value;}  Return itemVal; }
    -----
    .. .but I can't do it because it is not made to couse of the page it is global element! so, anyone know no work around to do?
    I know that I can make point page and read the value of that, but not what I really need!
    If I have 100 pages and all pages need to use my function, it would take 100 Articles :) - that's why its no good average!

    Please, share your ideas!

    THX

    Rafix,

    You must use a little AJAX to retrieve a request element value. Three steps in this solution. Implementation of a callable JavaScript function, creating an application process on the request and call the JavaScript function with dynamic action.

    1 set up a JavaScript function that can be called by:

    This function calls the process of application level which has a visibility of the element of your application and then returns the value of points.

    Edit your page and JavaScript code according to the code in the 'function and Variable global statement' of your page. You can also add to the model page, that you use, but you also have to encapsulate this code in the script tags.

    getAppItem = function(pItemName){
        var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=GET_APP_ITEM',$v('pStepId'));
        get.addParam('x01',pItemName);
        gReturn = get.get();
        get = null;
        return gReturn;
    }
    

    2. creating an application on request process:

    The application of level process has visibility to your application-level element. It is to retrieve the value of points and it prints the htp buffer. Essentially, this acts as a way to return the values of AJAX calls (the javascript function we set previously);

    go to the shared components > procedures > Create.

    Point process: "We Demand: run this application...". »
    Name: GET_APP_ITEM
    Type: Anonymous PL/SQL block

    declare
       -- get the item name passed into the JavaScript function.
       app_item_name varchar2(30) := apex_application.g_x01;
    begin
        -- print its value to the buffer
        htp.p(v(app_item_name));
    end;
    

    3. call the JavaScript function with dynamic action:

    The function call allows to specify an application-level element name and have its returned value. The trigger event is specific to what you need, but the action must be of type to run JavaScript code. In my case immediately the value of P1_NUMBER to my value of demand points. This code doesn't have to be in a dynamic action, but it helps to stay organized. you could call it from any script tag.

    $s('P1_NUMBER',getAppItem('MY_APP_ITEM'));
    

    See you soon,.
    Janet Tyson

  • Problem updated to a position of the element using javascript style.top estate version 4.6

    I develop a scrolling of content when the user clicks on an item, the program triggers the event and moves the content, it works perfectly in a device with the 5.0 version of the software, but in devices with software version 4.6 doesn't work

    No trigger that any error just doesn't work

    Here's him sew:

    var pag1 is document.getElementById ('page1');.

    function that removes "px" for the calculation

    function quitapx (str) {}
    return str.replace('px',"")
    }

    function that moves the item (pag1) upwards or downwards

    mueve function (o) {}
    var dir = o.dir;
    posT = Number (quitapx (pag1.style.top))
    If (dir =-1) {}
    If (posT<>
                    PAG1.style.top = posT + 64 + 'px ';
    }
    }
    If (dir = 1) {}
    If (posT > program) {}
                   PAG1.style.top = posT - 64 + 'px '.
    }
    }
    } //mueve1

    clues?

    I already found the problem.

    The first time that the user clicks to move the content, the pag1.style.top property is set to null, in the browser with version 5.0 software ignores and starts running, but in the browser with version 4.6 software detect zero and stop the script.

    the solution I use is

    If (pag1.style.top! == null) {}
    posT = Number (quitapx (pag1.style.top));
    } else {}
    posT = 0;
    }

    And work! Here is a picture.

  • After update to FF12 - use of the cpu, slower and unresponsible

    Nothing new - he had year ago and I couldn't fix it. Now, the issue is back. Firefox after about 10-20 minutes starts to work slow awfuly. Like, goes to a small number of new tabs makes good unresposnible a few seconds, the browser does not respond to what that it either, typing is 'invislbe' and only appears after a few seconds, then there frozen again for a while, as all scripts on the newly opened site needs good two seconds for himself. At that time, the uses of FF upward at more than 25% of my CPU (AMD Phenom 955 BE - 4 hearts, 3.2 GHz with 8 GB DDR3 RAM). And it also affects the whole system - everything is "stuttering" FF is doing. And it appeared that after the upgrade of FF11 to FF12 - similar thing that's happened in the last year, when I had to completely re - install the whole browser after update. And now, I'm new here, too tired to even think of clear all, completely new installation FF and import all the stuff.

    I tried to reinstall soft, started in Mode safe mode with disabled modules (same thing, after some time, the "suttering" occurs), clear memory cache, re - install Java (which seemed to help a little). Any ideas what the hell is wrong? I don't want to create a new profile and move everything - I want my current profile over to work as it should. I'm really tired of who - I am also using Opera and Chrome (I am a developer web, so I need them), but I like FF the more, but with this problem occurring over and over again after a while, I really think to give up Firefox.

    My problems were related to the addon of all in a sidebar. Which have been set by the last update.

  • How to change cluster-elements used in the subvi´s automatically?

    Hello

    I have an array of Clusters and many SubVIs using this Cluster. If I change the Cluster (Te thorugh adding a new value INT), I need to go in all of my SubVIs and also make the same changes here. There must be an easier way to do it, but I wasn't able to find it. I tried thorugh refernece, but it did not work :-(    Also, I wasn't able to find a solution here in this forum.

    Can anyone help pls?

    Serdj,

    I don't know if this is your problem, but have you tried type that defines the cluster?

    Look here http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/creating_type_defs/

    Kind regards

    aCe

  • using excel csv values are the same name as the title

    There is no error.

    Just the value or values of the csv excel is the same name as the title.

    It is not the value of the field.
    Instead, it is the name of < TH

    Any tips?

    Can paste you into your code so that we can take a look?

    Or read this article: http://www.universalwebservices.net/web-programming-resources/coldfusion/exporting-data-to-excel-coldfusion /

  • How do I restore my CD/DVD burner on my computer, I think that the registry is missing or incorrect? IWAS via iTunes but says that values are missing

    Windows Vista Home Premium with engraver of CD/DVD to iTunes

    Hello

    Step 1: Please do all the same underneath if you did some before as is often total
    a process that solves the problem.

    Try this - Panel - Device Manager - CD/DVD - double click on the device - driver tab.
    Click on update drivers (this will probably do nothing) - RIGHT click ON the drive - uninstall.
    RESTART this will refresh the default driver stack. Even if the reader does not appear to continue
    below.

    Then, work your way through these - don't forget the drive might be bad, could be a coward
    cable or slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Try this fix manually if the Fixit 314060 does not work
    http://www.pchell.com/hardware/cd_drive_error_code_39.shtml

    Your CD or DVD drive is missing or is not recognized by Windows or other programs-
    a Mr Fixit
    http://support.Microsoft.com/kb/982116

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to
    for Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error in Windows
    Vista installation after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
    manufacturer of device to see if there is a firmware or drivers for your drive if necessary.

    ===============================

    Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD
    Burn and CD and DVD read). So it is not unusual for 1 or 2 operational so that other parts
    do it right.

    Did you follow the Troubleshooting Guide for the reader who still does not work? There are
    the entries in registry that the troubleshooter does not solve and those who "might" be the cause.

    Check with your Maker system and a device for the two possible firmware updates and
    the correct registry entries for your car.

    Here are the keys that I of course are those in question - for the subkeys of the CD/DVD drive
    as there will be other subkeys in these keys. Do not forget to ask specific keys involved as well as
    the parameters.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    -----------------------------------------------------------------------

    You can probably find more info here and maybe even the exact registry for your CD/DVD settings
    drive from someone with the same model.

    Forums - a lot of expert real help
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Use DevManView to locate the CD/DVD in the registry (be careful and do a prior Restore Point)
    nothing change) - find the DevManView device and then make a right click on it free in RegEdit.

    DevManView - free - an alternative to the standard Windows Device Manager, which displays all the
    devices and their properties in flat table, instead of the tree viewer
    http://www.NirSoft.NET/utils/device_manager_view.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • After that FF28 installed, my history and bookmarks are missing like #981577 I've tried everything!

    I had this problem for about 5 days, it can happen before then, perhaps as early as 23/04/14 but I'm no good (inoperable cancer) and just started using my laptop about 5 days ago. I became aware of the problems about 5 days ago, in the course of which I tried the search the support forums and Mozilla on the web for clues as to what I can try, where the reference to the #981577 issue, which looks like it could have been written by me (my saved passwords no longer work , and I can't open the modules now, but for the last few days I could use Add-ons-those for sql lite, but I just tried the add-on troubleshooting appearing at the bottom of this page and I can't use it, what happened to me earlier today, when I downloaded an add-on, I clicked on the FF orange button at the top left then click on Add - ons and it goes up to reach the Add-ons Manager, but nothing happens when you click on the add-on that you try to use - if it manifests itself - it shows only a page marker to square with 'Disable' and 'Delete' - I thought that the problem was with the other add-on I tried because he had a year and maybe he just didn't work. Somehow, I think that the Bar Menu of Firefox with button Firefox Orange and other toolbars could be part of the problem. If I click on the Navigation toolbar and click on the Favorites button that I added to the bar, he will fall down and show me bookmark pages (maybe 15) who are not sorted as my lack. If I click on "Show all bookmarks" it opens the window titled LIBRARY which shows on the left side of the screen. Inside of the library window is a toolbar with your gray out/not bkwk use, then organize, then views, then import and backup - a box search Favorites under the microscope. Under the tool bar is a section of the left screen with an icon like a book that reads all the bookmarks, there are no bookmarks listed under this heading, and nothing happens if you click on it, like a button/command. On the right side, there are two sections, the first section on the right side and the upper part under the toolbar is an area with the name and the location of the headers and below show 3 bookmarks recent I've added lately. Just below the previous section is the section name: and then a search box empty. If I click on "Show all" when you work with toolbars, or bookmarks, they somehow default to an empty LIBRARY window. When I click on the area of the history from the Firefox Orange button, it shows several recent sites when I click on Show All - nothing, I come and when I click on bookmarks, there are several Favorites I did appear today, BUT NONE of these bookmarks appear in the "LIBRARY" window when I click Show all. I want to add that I get the same results when I use the touch of Orange Firefox toolbar as opposed to the Menu bar original. I performed all the tasks mentioned in the conversation to question #981577, and for the most part, I repeated the procedure three times each with additional Firefox and put off my pc between the two for good measure. I also used Windows system restore twice with no results, but also try to "downgrade" my version of Firefox at 24 and 27 (which I know is not a recommended step and the first attempt resulted in the download of Firefox 28, which I was already running, and the second time, nothing restored or appeared as if by magic so I did an uninstall and did a clean install of Firefox 28 since the download link on the Mozilla site. There is no indication that the other user support had him issue/ticket answered and resolved. Communication support spans 12/26-12/27/13. I wished that the preceding conversation took place recently, it may indicate a problem with FF28, but I don't know if it was released in December. Here's the issue or the problem of the original poster, and I took all such measures suggested by the the technical support representative who was present.

    I would be so grateful to have my favorites because they are my lifeline, and I think I have / had links more than 3,500. What about my story, I never delete anything (including bookmarks). I know, there are thousands of websites that I saved. This is the issue or the problem of the original poster, and I took all the steps as suggested by the representative of the technical support that helped:
    https://support.Mozilla.org/en-us/questions/981577?ESAB=a & s = Show + All + Bookmarks + Show + History + doesn % 27T + Work & r = 20 & As = & page = 1
    _____________________________________________________________________________________________________________
    "Earlier today, my favorites were there. Later that evening, not there.

    I tried the process of restoring bookmarks, I copied the folder and delete the file of places thing. None of this has worked.

    What's weird, is that if I type something in the URL box that I know is in my favorites, it will be displayed as if it was in the history. But nothing shows in my folder of bookmarks at all.

    I need help on what I tried almost all the ways that I read and nothing brought upward. "And as I said in the title, I have over 800 bookmarks and many of them are work related.
    ____________________________________________________________________________________________________________

    Thanks to everyone who took a peek at my problems with library files, history, bookmarks, downloads and passwords lost or missing after Firefox 28 updated (the automated), especially Michael. Jacky, your suggestion was among the first, I tried more than four days ago, but I re - try each day and twice today (this morning, and after I posted my problem of support here). Unfortunately, whenever I tried it, I need to click on start, and I almost always see the screen flash slightly, then at the top of the window where it says 'Library', I would say something like "the program is not responding" and then... nothing, and nothing on 'My Computer', showed changes. I also used inventory management and maintenance to ensure that the files were in my profile folder, etc. and I kept getting a clean management of sites with depth control and I double checked tables in maintenance of places - both of these programs as well as restoration was recommended in the previous responses to requests for information similar to mine. In addition to restoring my computer, I did a 'Reset' on Firefox that created a new profile name which is used where my FF files are stored. I think that this may have contributed to my eventual success.

    Finally, I tried the thing to save the files in another folder, then change the name of the 'SQL places?' I forgot the second part of the name of the file (I blame my brain tumor for my short term memory problems - really) I think it's the name, so I changed the name. I then clicked on file, then exit and it closed Fire Fox. I was very reluctant to use this method to solve my problems, but after about 4-5 attempts using this, my favorites showed up - not only those who register in the drop-down list and would only save to Favorites sorted in the library, he finally showed not to exactly as it did before the problems. I found that using the bar of removing alternating Menu and looking Orange top button Menu to the left of the screen, it appears that the SQL info flows to two menus in the same way. If I clicked on the Menu of the Orange button, he began by listing 3-4 websites as bookmarks. If I used the Menu toolbar bookmarks button, he would have the Favorites list at the bottom of this flow - on 15 sites (which is crazy for both because I did 4 200 bookmarks). I was so frustrated but clicking on all the bookmarks or history, and the pop - up for library would say "there are no files. I don't really know the final or this answer solved my problems, but I stayed awake almost a whole 4 days awake trying to solve this and now it looks like as I ' ve managed to fix 99.9% and I'm done with it - I can't take more. " I think my brain tumor has increased his own tumor to that - I'm absolutely no COMPUTER expert, that's for sure. Thanks again!

Maybe you are looking for