In a javascript function invoked from an onsubmit handler, if the function returns false, the form is still submitted. If I find an error in a form, how do I cancel the submit?

HTML form has: action="/TTFFRP/addlicense.rex" method="get" onsubmit="validate_data();"
validate_data is defined in tags:
function validate_data()
alert('in validate routine');
if (document.getElementById('custname').value == '')
alert('Customer name must not be blank; put in name of organization licensing File RePackager');
return false;
}

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
[http://forums.mozillazine.org/viewforum.php?f=25]
You'll need to register and login to be able to post in that forum.

Similar Messages

  • I am trying to rent a movie from iTunes. It started to download in HD and I don't have enough room on my basic iPad. How do I cancel the download and re download it in SD?

    I am trying to rent a movie from iTunes. It started to download in HD and I don't have enough room on my basic iPad 2. How do I cancel the download and re download it in SD?

    Try downloading movie on your computer (iTune).

  • Ok, I thought I could do a project in my new Final Cut Pro X. I got everything downloaded on Final Cut and I made my Project. The problem is is has taken so long to render that I don't have time. How do I download the video from Final Cut to Imovie?

    ok, I thought I could do a project in my new Final Cut Pro X. I got everything downloaded on Final Cut and I made my Project. The problem is is has taken so long to render that I don't have time. How do I download the video from Final Cut to Imovie?

    Your media is stored in Final Cut Events folder > "name of event"  > original media. The Final Cut Events folder is in your movies folder or at the root level of an external drive if you are using one to store your media. Simply open iMovie and under file menu select import movies. Navigate to the original media folder and import your clips to Imovie event library.

  • How do I cancel the distance between the numbers? I'm having trouble copy phone numbers from the phone book and send it via SMS This problem I've found in the Arabic language, numbers appear in reverse Please help System 6.0.1

    How do I cancel the distance between the numbers?
    I'm having trouble copy phone numbers from the phone book and send it via SMS
    This problem I've found in the Arabic language, numbers appear in reverse
    Please help
    System 6.0.1

    MPEG-4 should not be used in FCP unless it is converted first or optimized in the application.
    Trash your preferences. Trash your project render files. Switch off background rendering. Do not re-render. Export your projects.
    Ignore the last frame and first frame indicators.

  • I'm recieven charges for a magic piano app every month from itunes store how do i cancel the supposed service?

    I'm recieven charges for a magic piano app every month from itunes store how do i cancel the supposed service?

    There are instructions on this page for managing and stopping auto-renewing subscriptions : http://support.apple.com/kb/HT4098

  • How do I cancel the flow of emails from support communities?

    How do I cancel the flow of emails from support communities?

    See this User tip...
    https://discussions.apple.com/docs/DOC-3661

  • My mac app store has disappeared from my dock and when i pull it up in finder it says it is damaged. how can i download the mac app store software?

    my mac app store has disappeared from my dock and when i pull it up in finder it says it is damaged. how can i download the mac app store software?

    Delete the App Store app by dragging it and dropping it into the Trash.  Then download and install the appropriate update combo for your version of OS X;
    Install new MAS app -
    OS X Mountain Lion 10.8.3 update combo
    http://support.apple.com/kb/DL1640
    OS X Lion 10.7.5 update combo
    http://support.apple.com/kb/DL1583
    OS X Snow Leopard 10.6.8 v1.1 update combo
    http://support.apple.com/kb/DL1399

  • İ bougt a vip membership for 1 month but by mistake a bought from same place 1 year vip membership too, how i can cancell the second one?

    İ bougt a vip membership for 1 month but by mistake a bought from same place 1 year vip membership too, how i can cancell the second one?

    Order ID: MHFQLWV6S7
    Receipt Date: 17/11/12
    Order Total: ¥130.00
    Billed To: Visa
    Item
    Developer
    Type
    Unit Price
    PPTV, PPTV 一个月(31天)VIP会员资格
    Report a Problem
    PPLive Corporation
    In App Purchase
    ¥12.00
    PPTV, PPTV十二个月VIP会员资格
    Report a Problem
    PPLive Corporation
    In App Purchase
    ¥118.00
    Order Total:
    ¥130.00
    first 12rmb is for 1 month and the second is for one year, who can help me to cancel the second 1 year purchase

  • Hey, I've got an iphone from a friend cause it was locked to O2 and she was moving to Spain for 5 years.... How do I change the Apple ID? Appreciate any help! :)) Thankss

    Hey, I've got an iphone from a friend cause it was locked to O2 and she was moving to Spain for 5 years.... How do I change the Apple ID? Appreciate any help! :))
    Thankss

    Thank you for responding to my question so promptly!  My Apple ID for my iCloud account on my MacBook is the correct (i.e. my @mac.com) email address.  Do I need to sign out and then sign back in after I have changed/updated my details on my iPad?
    When I look at the 'Mail, Contacts, Calendars' details on my iPad under the heading 'Accounts' it first shows my @me.com account and the items under that account are 'Mail, Contacts, Calendars, Reminders, Notes, Find My iPad' - when I expand the account details it shows that my iCloud Account is actually my @mac.com email adddress.
    The second entry is iCloud which is currently my @gmail.com account.  Under this account are 'Contacts, Calendars, Bookmarks, Reminders, PhotoStream, Documents & Data, Backup.
    The third account is headed Gmail and is, indeed, my @gmail.com account, too.  Under this account it shows 'Mail, Calendars, Notes'.
    Am I correct in suspecting that the reason for my having multiple occurrences of both events in Calendars and people in Contacts is because more than one account is syncing Contacts and Calendars?
    Thank you for your help
    Cheers
    Tricia

  • How can i cancel the cooling from my MacBook Air?

    How can i cancel the cooling system from my MacBook Air? It is running full speed by the start ervery time, also when the MacBook Air is cold.

    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.

  • ORA-12899 error from function invoked from SQL*Loader

    I am getting the above error when I call a function from my SQL*Loader script, and I am not seeing what the problem is. As far as I can see, there should be no problem with the field lengths, unless the length of the automatic variable within my function is somehow being set at 30? Here are the details (in the SQL*Loader script, the field of interest is the last one):
    ====
    Error:
    ====
    Record 1: Rejected - Error on table TESTM8.LET_DRIVE_IN_FCLTY, column DIF_CSA_ID.
    ORA-12899: value too large for column "TESTM8"."LET_DRIVE_IN_FCLTY"."DIF_CSA_ID" (actual: 30, maximum: 16)
    =======
    Function:
    =======
    CREATE OR REPLACE FUNCTION find_MCO_id (di_oid_in DECIMAL)
    RETURN CHAR IS mco_id CHAR;
    BEGIN
    SELECT AOL_MCO_LOC_CD INTO mco_id
    FROM CONV_DI_FLCTY
    WHERE DIF_INST_ELMNT_OID = di_oid_in;
    RETURN TRIM(mco_id);
    END;
    ==============
    SQL*Loader Script:
    ==============
    LOAD DATA
    INFILE 'LET_DRIVE_IN_FCLTY.TXT'
    BADFILE 'LOGS\LET_DRIVE_IN_FCLTY_BADDATA.TXT'
    DISCARDFILE 'LOGS\LET_DRIVE_IN_FCLTY_DISCARDDATA.TXT'
    REPLACE
    INTO TABLE TESTM8.LET_DRIVE_IN_FCLTY
    FIELDS TERMINATED BY '~' OPTIONALLY ENCLOSED BY '"'
    DIF_DRIVE_IN_OID DECIMAL EXTERNAL,
    DIF_FCLTY_TYPE_OID DECIMAL EXTERNAL NULLIF DIF_FCLTY_TYPE_OID = 'NULL',
    DIF_INST_ELMNT_OID DECIMAL EXTERNAL,
    DIF_PRI_PERSON_OID DECIMAL EXTERNAL NULLIF DIF_PRI_PERSON_OID = 'NULL',
    DIF_SEC_PERSON_OID DECIMAL EXTERNAL NULLIF DIF_SEC_PERSON_OID = 'NULL',
    DIF_CREATE_TS TIMESTAMP "yyyy-mm-dd-hh24.mi.ss.ff6",
    DIF_LAST_UPDATE_TS TIMESTAMP "yyyy-mm-dd-hh24.mi.ss.ff6",
    DIF_ADP_ID CHAR NULLIF DIF_ADP_ID = 'NULL',
    DIF_CAT_CLAIMS_IND CHAR,
    DIF_CAT_DIF_IND CHAR,
    DIF_DAYLT_SAVE_IND CHAR,
    DIF_OPEN_PT_TM_IND CHAR,
    DIF_CSA_ID CONSTANT "find_MCO_id(:DIF_DRIVE_IN_OID)"
    ============
    Table Definitions:
    ============
    SQL> describe CONV_DI_FLCTY;
    Name Null? Type
    DIF_INST_ELMNT_OID NOT NULL NUMBER(18)
    AOL_MCO_LOC_CD NOT NULL VARCHAR2(3)
    SQL> describe LET_DRIVE_IN_FCLTY;
    Name Null? Type
    DIF_DRIVE_IN_OID NOT NULL NUMBER(18)
    DIF_INST_ELMNT_OID NOT NULL NUMBER(18)
    DIF_FCLTY_TYPE_OID NUMBER(18)
    DIF_ADP_ID VARCHAR2(10)
    DIF_CAT_DIF_IND NOT NULL VARCHAR2(1)
    DIF_CAT_CLAIMS_IND NOT NULL VARCHAR2(1)
    DIF_CSA_ID VARCHAR2(16)
    DIF_DAYLT_SAVE_IND NOT NULL VARCHAR2(1)
    DIF_ORG_ENTY_ID VARCHAR2(16)
    DIF_OPEN_PT_TM_IND NOT NULL VARCHAR2(1)
    DIF_CREATE_TS NOT NULL DATE
    DIF_LAST_UPDATE_TS NOT NULL DATE
    DIF_ITM_FCL_MKT_ID NUMBER(18)
    DIF_PRI_PERSON_OID NUMBER(18)
    DIF_SEC_PERSON_OID NUMBER(18)
    =========================
    Thanks for any help with this one!

    I changed one line of the function to:
    RETURN CHAR IS mco_id VARCHAR2(16);
    But I still get the same error:
    ORA-12899: value too large for column "TESTM8"."LET_DRIVE_IN_FCLTY"."DIF_CSA_ID" (actual: 30, maximum: 16)
    I just am not seeing what is being defined as 30 characters. Any ideas much appreciated!

  • How can I cancel the function of 'block the photos of iw.suntekstore'?

    I have use the function of 'block the photos of iw.suntekstore' by mistake. Actually, I would like to see the photos from iw.suntekstore so how can I cancel it?

    Make sure that you are allowing all images to load and that images from specific sites are not being blocked:
    *In Firefox, look under "'''Tools''' -> '''Options''' -> '''Content'''" and
    **Make sure that "''Load images automatically''" is checked.
    **Open ['''Exceptions'''] and ''remove any sites being blocked''.
    Probably also:
    *Use '''about:config''' to make sure that the preference permissions.default.image is set to "1", the default value (right-click and select "Reset" if any other value is shown).
    More details:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load#Images_do_not_load

  • I inadvertinly removed my contacts from my Address app on my iPad. it is still on our other iPad and our two iPhones. How can I import the contacts back into our iPad

    I inadvertinly removed my infocontact information  from my wikes "Contacts" App. The contact app still works in my iPad and both of our iPhones..
    How can I restore the contact info in her Contact app??
    Thanks

    Have you tried syncing them across iCloud? There is a nice tutorial here: http://www.gottabemobile.com/2011/10/18/how-to-sync-email-contacts-and-calendar- with-icloud/

  • I wanted to transfer 4000  photos from my PC to my IPOD and IPAD, I did this but I thought the images would be still in their folders and not in an individual format, how do I retain the folder structure and transfer?

    I transferred my photos from my PC to my IPOD and IPAD, c. 4000. I thought they would be transferred in the existing folders, all I got was 4000 individual photos, how do I retain the folder structure?

    If you are syncing a number of folders from your computer then each folder should get it's own album on the iPad (http://support.apple.com/kb/HT4236) - I assume that you've touched the 'Albums' button at the top of the Photos app so as to view them by album, and not just the Photos 'button'.
    You could try closing the Photos app completely and then re-opening it : from the home screen (i.e. not with Photos 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Photos app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    Another option is to try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Missing Functionality: Copy from orders and pick and pack functions

    When I create a delivery note from the Sales A/R Delivery menu using the "Copy from" function and select two or more orders having different payment methods, system show me one delivery notes and alerts me that orders have two different payment terms.
    If i do the same in the Pick and Pack selecting lines from different orders, system show me one delivery notes without alerts me that orders have two different payment terms.
    This behavior is contradictory. The system should have same behaviour in the "Copy from" functionality and in Pick and Pack.

    When I create a delivery note from the Sales A/R Delivery menu using the "Copy from" function and select two or more orders having different payment methods, system show me one delivery notes and alerts me that orders have two different payment terms.
    If i do the same in the Pick and Pack selecting lines from different orders, system show me one delivery notes without alerts me that orders have two different payment terms.
    This behavior is contradictory. The system should have same behaviour in the "Copy from" functionality and in Pick and Pack.

Maybe you are looking for