Javascript calling not working properly in report region

Hi All,
I know it is quite simple question but i am unable to do this. In one tabular form with one blank row i have to put client side validation (javascript) so that user cannot enter nonnumeric value and value should be of min 5 digit.
How i proceed:
1: Have written two javascript function:
function numOnly3()
if(!((event.keyCode>=48)&&(event.keyCode<=57)))
event.keyCode=0;
alert("Enter Only Numeric Values");
//event.focus();
else event.keyCode = event.keyCode;
function validateNumber3(itemValue)
if((itemValue.value).length<5)
alert("Please Enter 5 digit Value for the Part List Group");
itemValue.focus();
return false;
2: calling these function in report region like :
htmldb_item.text (16, parts_list_group, 10,5,'onKeyPress=numOnly3(); onBlur=validateNumber3(this);') parts_list_group
after union :
htmldb_item.text (16, NULL, 10,5,'onKeyPress=numOnly3(); onBlur=validateNumber3(this);') parts_list_group
problem:
when i am enetring non numeric valuse first its giving alert message "Please Enter 5 digit Value for the Part List Group" after clicking ok its giving alert message "Enter Only Numeric Values";
but what i want in case user is enetering non numeric it should delete and alert
"Enter Only Numeric Values" but first it is alerting "Please Enter 5 digit Value for the Part List Group" then after clicking ok alerting "Enter Only Numeric Values".
if i am enetring 3 digit only then its giving correct message that "Please Enter 5 digit Value for the Part List Group".
so my requirement is in case any user is entering non-numeric data including dot symbol then it should delete and pop up message that "Enter Only Numeric Values".
may be calling function in the region wroung. can any one suggest me where is wroung and what should i do?
Thank You,
Amit

Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
*Tools > Options > Privacy > Cookies: "Show Cookies"
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.org/kb/Safe+Mode
This may be caused by a recent Flash 11.3 update.
See:
*https://support.mozilla.org/kb/keep-flash-up-to-date-and-troubleshoot-problems
*https://support.mozilla.org/kb/flash-crashes-or-does-not-load-firefox-13
*http://forums.adobe.com/thread/1018071?tstart=0
*http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html

Similar Messages

  • Button based on data is not working in form/ report / region

    create or replace procedure "BUT2"
    is
    begin
    declare
    cursor c1 is select plot_id,plot_status from re_plot;
    tno number;
    v1 varchar2(500);
    c2 c1%rowtype;
    begin
    open c1;
    loop
    tno := nvl(tno,0) + 1;
    fetch c1 into c2;
    exit when c1%notfound;
    if c2.plot_status='BLOCKED' then
    v1 := v1 || ' ' ||'<input inline type =submit style="color:BLUE;background-color:RED" value='||c2.plot_id||'>';
    else
    v1 := v1 || ' ' ||'<input inline type =submit style="color:ORANGE;background-color:GREEN" value='||c2.plot_id||'>';
    end if;
    if mod(tno, 4)= 0 then
    --v1 := v1 || '<br/>' || ' ';
    htp.p(v1);
    v1 := null;
    end if;
    end loop;
    close c1;
    htp.p(v1);
    end;
    end;this above procedure works fine in SQL Command browser. I am unable to make it as page form / report.
    My requirement is i want to bring this images in form / report. Based on click button, the value need to be parsed to other page?
    how to do it?
    yours
    andi_raj

    is not working Insufficient information. In what way is it "not working"? The page doesn't render as required? There's an error message? The browser crashes? The server room has been trampled into dust by a herd of buffalo?
    >
    I am unable to make it as page form / report.
    v1 := v1 || ' ' ||'<input inline type =submit style="color:BLUE;background-color:RED" value='||c2.plot_id||'>';
    ...It is not possible to generate form elements in an APEX page in this way. The [APEX_ITEM API|http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/apex_item.htm#CACEEEJE] is the only way to create APEX items in PL/SQL. However it contains no procedures to generate button items, so an alternative design is required in this case, e.g. a report with links.
    (Also what is the intention of "inline" in the above code? [There is no *inline* attribute|http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.4].)

  • Why  javaScript does not works within ADF-jsf regions ?

    Hi
    thakn you for reading my post
    i have problem with running some flash and js in my adf faces page.
    the html files that contain this flash/javascript stuff works fine (in my application) but when i try to use them in jspx file i get nothing , here are some samples :
    heml file :
    <html>
    <head>
    <title>Preview</title>
    </head>
    <body>
    <link href="./jsmenu01.css" type=text/css rel=stylesheet>
    <script language="javascript" src="./jsmenu01cfg.js"></script>
    <script language="javascript" src="./jsmenu0.js"></script>
    <div id=jmbti_div></div>
    </body>
    </html>jspx file : which is a region
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:afc="http://xmlns.oracle.com/adf/faces/webcache"
              xmlns:af="http://xmlns.oracle.com/adf/faces"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
              xmlns:afi="http://xmlns.oracle.com/adf/industrial/faces"
              xmlns:graph="/webapp/graph.tld"
              xmlns:c="http://java.sun.com/jstl/core">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <af:regionDef var="menuRegion">
    <link href="./jsmenu01.css" type="text/css" rel="stylesheet"/>
    <f:verbatim>
    <center>
    <script language="javascript" src="./jsmenu01cfg.js"></script>
    <script language="javascript" src="./jsmenu0.js"></script>
    <div id="jmbti_div"></div>
    </center>
    </f:verbatim>
      </af:regionDef>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_segments_menu-->
    </jsp:root>why it should be like this ?
    putting this region in the page will cause all elements below this region not to render and show.
    thank you for your help.

    Why do you want to use a h:commandButton and not an <input type="button"> or a <button>? I don't think that you want to execute a backing bean action. Anyway, in this case you can also add return: false; to the onclick event so that it prevents the button from submitting the form to the server.

  • Simultaneously call not working properly

    Dear all,
    I have some problems regarding lync 2013 simultaneously call. Some users have turn off simultaneusely call amny days ago but the call still call both lync phone and their mobile. I cannot find why this mat happens. Any help is apriciated

    This is not the solution and this issue shouldn't be happening in the 1st place. Once in a while if the user data get messed up and start acting wired, this will be the 1st step to troubleshoot. I assume that this is one off event. Is there any other users
    have this issue?
    http://thamaraw.com

  • Calls not working properly

    Hi!
    I just got a brand new iPhone 5c after my old one's screen broke and it had to be replaced.
    The phone is working just like it should be, but i cannot hear the voice of the other party/parties in a phone call.
    I have tried restarting the phone many times and also doing a hard reset (by holding down the home button and the one up top), but the problem seems to remain. I can also hear my own voice as an echo trough the speaker.
    Oh, and music and keyboard sounds etc. are working normally.
    Thank you for your help!

    Hi! Thank you for the response.
    I have already done all the steps in the guide.
    When someone calls, I can't hear them through the receiver or speaker phone, and I can't hear music through the speaker. I also can't be heard by someone who is calling me.
    I can hear music and the other end can hear me fine.

  • Windows reports that the "USB-IF xHCI USB Host Controller" device is not working properly.

    I have been receiving the following error and instructions to fix it for a long time now, prior to updating to Windows 8.1:
    A device is not working properly
    Windows reports that the "USB-IF xHCI USB Host Controller" device is not working properly.
     Recommended solution to the problemUse Windows Update to check whether new device drivers are available. Proceed as follows:
    Open Device Manager
    Search in the device manager for the device whose driver you would like to update and double-click on the device name. You may first have to enable the "Show hidden devices" entry in the "View" menu.
    Switch to the Driver tab, click Update driver and follow the instructions
    When I follow the instructions and try to update the driver, I am told "The best driver software for your device is already installed."
    How do I update the driver to stop receiving the error?  
    This question was solved.
    View Solution.

    I have solved the initial problem.    
    I found the solution on the Forum at http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03926756&tmp_task=solveCategory&cc=us&dlc=en&la...

  • Why javascript is not running properly in firefox 36

    In firefox
    ajax XMLHTTPRequest is not working properly
    and some javascript also not working properly why?
    what is the reason

    Hello ap76t3,
    The Refresh feature (called "Reset" in older Firefox versions) can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information.
    '''''Note:''' When you use this feature, you will lose any extensions, toolbar customizations, and some preferences.'' See the [[Refresh Firefox - reset add-ons and settings]] article for more information.
    To Refresh Firefox:
    # Open the Troubleshooting Information page using one of these methods:
    #*Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''. A new tab containing your troubleshooting information should open.
    #*If you're unable to access the Help menu, type '''about:support''' in your address bar to bring up the Troubleshooting Information page.
    #At the top right corner of the page, you should see a button that says "Refresh Firefox" ("Reset Firefox" in older Firefox versions). Click on it.
    #Firefox will close. After the refresh process is completed, Firefox will show a window with the information that is imported.
    #Click Finish and Firefox will reopen.
    Did this fix the problem? Please report back to us!
    Thank you.

  • Subvi does not work properly when called inside a vi

    Hello Every body
    thanks for your help. i am using a sub vi for sine signal generation. as a vi it works fine. but when i called this subvi inside another VI it gives some problems. for example timer indicator works properly.it reinitializes as well in the sub vi, but in the main VI it does not work properly. means does not count the time.in the sub vi on the fly i can change the values of frequency and amplitude in real time, but when i use as sub vi, it does not reponse as i change the values in the control arrays.similarly pause and continue works properly in the sub vi, but once again in the main VI, it does not work properly.graph indicator also work properly in the sub vi. but here once again it does not work properly in the main VI.the pause resume indicator also does not blink, when it is continue. in the subvi it blinks very well.generally why the sub vi does not work properly inside the VI?i am sending my VI and sub vis.
    any tips would be highly appreciated.
    thanks
    Regards
    Attachments:
    vi.zip ‏87 KB

    I just want to add some more details to Dan's answer. The subVI is acting exactly like you've coded it. The mistake is in understanding how subVIs work. When you call a subVI (or a function in any other language), you pass some parameters to it, the subVI does it's thing and returns values. the subVI does not accept new parameters from the calling VI until it returns to the caller and the caller runs the subVI again. In your case, you have a subVI with a while loop. You have some front panel control wired to the subVI's stop terminal. When first called, the value is false. So the subVI will keep running until the subVI's stop button becomes true but you cannot change it from main until the subVI finishes and returns so the subVI will never stop. As Dan says, the solution is pass references of front panel controls to the subVI and have the subVI monitor those references for changes and to update references to indicators on Main. You subVI does not need any front panel controls or indicators of it's own.

  • After update to IOS 4.3.5 my Iphone incoming and out going calls is not working properly and I have to remove the SIM regulerly to conduct or receive a call

    after update to IOS 4.3.5 my Iphone incoming and out going calls is not working properly and I have to remove the SIM regulerly to conduct or receive a call
    It is not practicale to do this always any one faces the same problem

    There may be a problem with the SIM card. Get a new SIM card from your carrier - there should be no charge for a replacement.
    If no change with a new SIM card, the standard troubleshooting steps in order are:
    Power your iPhone off and on.
    An iPhone reset, which is done by pressing and holding the home button and the sleep/wake or on/off button simultaneously until you see the Apple logo and then release.
    Restore your iPhone with iTunes from your iPhone's backup.
    Restore your iPhone with iTunes as a new iPhone or not from your iPhone's backup.
    If no change after any of these steps in order, your iPhone has a hardware problem.

  • TS3406 magic jack is not working properly. I can call out and hear the person i have called, but they can't hear me.

    My Magic Jack is not working properly. I can make a call and the person I have called can hear me but I can't hear them. What can I do to fix this?

    if it play not sound at all then it's likely the hardware issue where the headset detector gets stuck
    like this the detector just is stuck in the opposite way
    https://discussions.apple.com/thread/1343532?start=315&tstart=0
    more
    iphone stuck in headphone mode

  • TS1630 My Iphone 4s reciever is not working properly, when i call someone from my iphone 4s.  can any one help me how to solve this problem?

    My Iphone 4s reciever is not working properly, when i call someone from my iphone 4s.  can any one help me how to solve this problem?

    You might like to define "not working properly".

  • After upgrading ios6 yahoo messenger not working properly and specially in video call colors appearance is very poor

    After upgrading ios6 on my iPad2 am not able to login at any yahoo account and gmail account and even yahoo messenger not working properly whenever I want to do vc it's takes too long to connect and even in video call the color appearance in cam is so poor and pic is blurry, please tell me what to do?

    Please reply me to solve my problem

  • OBIEE 11G report download with excel 2000 is not working properly

    Hi all,
    The Analytics report download is not working properly in excel 2000.
    This version is no longer supported?
    Is any way to workaround this problem?
    Cheers
    Carlos Pereira

    Hi,
    which version r u using? until obiee11.1.1.5 its bug but solve it by workaround method . also the bug fixed in obiee.11.1.1.6
    11700314 REPORT NOT EXPORTED FULLY INTO EXCEL WHEN DOWNLOADING FROM PAGES OTHER THAN 1
    1) stop it all u r bi serivices then take a back of u original instanconfig.xml file then do the below changes
    D:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1
    instanceconfig.xml
    just add below content then
    <Views>
    <Pivot>
    <MaxCells>6500000</MaxCells>
    <MaxVisibleColumns>100</MaxVisibleColumns>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>65000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>500</DefaultRowsDisplayed>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DisableAutoPreview>false</DisableAutoPreview>
    </Pivot>
    <Table>
    <MaxCells>6500000</MaxCells>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>65000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>500</DefaultRowsDisplayed>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    </Table>
    </Views>
    Restart all u r bi services..
    then test it out.
    Thanks
    Deva

  • I am facing a new problem after a missed call. i phone will get freez on its lock screen after a miss call. Its seems that its main screen touch is not working properly.  This problem occurs after each and every missed call.

    I'm using iphone 5s with ios 7.1.2  & I am facing a new problem after every missed call. i phone  gets freezed on its lock screen. It seems that its main screen touch is not working properly. It should be bug introduced by apple . This problem occurs after each and every missed call .There is no patch announcement for this issue yet. There are few workaround to fix this issue: Reboot your iphone. But its  irritating to reboot the phone frequently after each issue....

    Hello dipthebe,
    Check out the articles below go through troubleshooting steps for your iPhone when the screen is unresponsive. You may want to try and restore your iPhone as a new device and then test out what happens when you miss a call to see if the issue is still present afterwards.
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/HT1414
    Regards,
    -Norm G.

  • HT2693 How do you contact Apple by email to report one of their pre-installed iPad Apps (ie Calender) is not working properly?

    How do you contact Apple by email to report one of their pre-installed iPad Apps (ie Calender) is not working properly?
    On trying to open month of March 2013 the pre-installed calendar just shuts down and closes.  Have tried restarting iPad but this didn't help and because its a pre-installed App am unable to re-install it.   Is this a universal problem or just affecting me?  Tried searching for support in both App Store and on Apple site and can't see how to report this.

    Feedback
    http://www.apple.com/feedback

Maybe you are looking for

  • Unable To Open PDF File In Browser

         I am unable to open a PDF file within my browser using Adobe Reader.  Whenever I attempt to open a PDF file, I get the following message: The Adobe Acrobat/Reader selected for viewing PDF documents in browsers cannot be found at its installed lo

  • Differences between authorization role display and display change document?

    Dear All, I want to know what are the differences between activity authorization between display and display document change? Regards Aishah

  • Adding Zeros infront of a field in Message Mapping

    Hi, I need to add zeros infront of my target field (eg Target Field length is fixed (10). If incoming field is having only 3 digits (123), I need to add 7 (10-3) zeros infront of my target field (0000000123). How to go about it. Is there any standard

  • HT2052 how can i update my ipod 2.0 to latest version

    pls help how to update my ipod 2.0 to ios5.0

  • Select Aggregate

    Hi, recently we got a report running extremely slowly, around 30 minutes. I used rsrt and checked the "Select Aggregate" check box. And the next screen shows all the existing aggregates, but all of them have the check box greyed out. The last column,