Validation of tabular form clears all the entries in that form

Hi all,
I have master-details form, where I have created details using Apex collections. Now I added validations on that detail form and I am getting proper validation message, but the form itself clears the data for that record if it is the new record. Is there a way to do validation and keeps the data without clearing the form? Thanks.
SHY

Hi;
After countless searches on google, I chanced upon a solution that works for 100% of all cases. it is to define a set focus function:
function setFocus(cellID) {
document.getElementById(cellID).focus();
then call the function after the alert setting a timeout: the function is executed after the cell is exited and this sets focus back to cell.
myVar = setTimeout("setFocus(vName)",1)
Works on IE and FF. I found the solution on this page: http://bytes.com/topic/javascript/answers/147801-set-focus-after-showing-alert
Thank all.

Similar Messages

  • Desktop Manager cleared all Calendar entries.

    Hello,
    I installed the latest version of Desktop Manager on my new laptop and was checking it out when I pressed the clear button in the Advanced Backup / Restore screen. It was at the time on the Calendar line so it cleared all the entries in the Calendar. No "Are you sure?" no nothing! Just cleared it....
    As my previous laptop was really really slow, my last backup is from February. So before I restore that one, does anyone know of a way to "undelete" the entries? Seeing the speed at which the Desktop Manager cleared it, I was wondering if it didn't simply set the nuber of entries to 0 but didn't actually delete anything. Could that be reset?
    Any help / clues would be really appreciated as this little device is my whole life!!
    Many thanks.

    I also recently started having the problem described above. The Calendar events stopped showing on the Today screen using any of my Today themes. I have a Blackberry Curve 8330 using the 4.5 OS.
    I found that a Google calendar utility was running. I deleted it and then went to Options-->Advanced-->Default Services. The Calendar setting (CICAL) had been changed to point to my Google email account rather then my Yahoo email account. I changed it back to Yahoo and the problem disappeared on all Today themes. The calendar events were now showing on the Today screen.
    I haven't installed anything lately so what I am guessing happened in my case has to do with the QuickPull utility for soft resetting the system.  Recently, the free version of the program has started displaying ads following the reset. If you are not careful to tab to 'OK' you might install whatever is being pushed. I am guessing that I did exactly that and just didn't notice it. The Google app installed itself as a startup program and was probably responsible for changing my Calendar CICAL option.
    There is no need to use the Blackberry Desktop manager when doing the above corrections and a reset is not required.  
    Hope this helps somebody out there.

  • How to Clear all the data of open windows form of another exe?

    Hi,
    I want to make utility which will clear all the data from one windows application.
    i know the application name. The application of which data i want to clear is made in C# and contains many windows forms and controls.
    out of that opened windows form and controls inside it need to be cleared.
    Please guide on how to do this in C#?

    Short version: Find the window and send it a message with
    SendMessage.
    Open up Spy++ and find your form's window.  You will see that the window has children and they have classes of the form "WindowsForms10.EDIT.*"  Those are TextBox controls.  You can call things like SetWindowText to set the
    text of the window to clear it.
    To do this programmatically, you'll have to obtain the window hand that corresponds to the control.  You can find windows with
    FindWindowEx or
    EnumWindows.  Locate the window by name or class or whatever else you can determine about it.  Find the child windows and "clear" them however you wish.  I assume you mean to set empty strings to all the TextEdit controls. If you
    intend to do something more sophisticated than that, then you'll have to be more specific about what you mean by "Clear all the data".
    It may or may not be obvious that you'll be poking around with Win32 API calls via PInvoke to accomplish much of this. Example:
    SetWindowText via PInvoke.

  • Null Validation in Tabular Form in APEX 4.2.2

    Hi to all respected Gurus of this Forum!
    Recently downloaded APEX 4.2.2. As we know that this version has some improved features and one is the best is i.e. *"Validation on Tabular Form".*
    For test purpose I succeeded to apply validation on field of tabular form and I am not allowed to "SUBMIT" data as per Validation Rule.
    But now, I want to customize that validation as per below logic.
    If required field is null than a message-box should appear with two buttons , as under:
    Blank field not allowed. Do you really want to submit? (Buttons should be = YES NO)
    If user press "YES" then validation should be false and record should be saved
    AND
    If user press "NO" then no data should be submitted/inserted as per validation logic.
    Please help. Your as usual cooperation is highly appreciated in advance.
    Regards
    Muhammad Uzair Awan
    ORACLE APEX Developer
    Pakistan

    Hello Sabine,
    >> I read about enhanced validation in 4.1 and would love to get rid of g_f-programming.
    The major “trick” is to associate the validation/process with a Tabular Form. On the first screen of both wizards, the first field is Tabular Form. You must select the tabular form on your page (currently there can be only one. In future versions this will change).
    Another factor that might influence the behavior of Tabular Form validation/process is the new attribute of Execution Scope. Unfortunately, you must enter Edit mode to gain access to this attribute (i.e., it can’t be set directly from the Tabular Form create wizard). Set it according to your need.
    The rest is very simple. You should treat your Tabular Form as a simple form, where every column header stands for a form item. The following is a very simple example of validating the SAL column:
    if :SAL < 1500 then
      return 'Sal Value is under 1500';
    else
      return null;
    end if;In this validation I’m using the Function Returning Error Text type.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Doing validation on tabular form

    hi
    i have tabular form based on table which contains name_of_user varchar2(15)
    the name of the user should be upper case.
    i want when i'm pressing the add row button to check if this column (field) contains upper case. i do know that i need to relate to the tabular for as array
    but i don't know how ?
    my tabular form is select
    "id","name_of_user" from owner."users"
    how shell i relate this array and how shell i ask if it's upper case
    note: i will be glad if you show me also a way to do it as a validation on table level
    thanks

    Writing validations for tabular form input is not very easy. You can try using some of the excellent work Patrick has done with this, details at http://inside-apex.blogspot.com/2006/12/plug-play-tabular-form-handling.html
    Using out-of-the-box APEX, you would need to write a "PL/SQL function body returning error text" validation with a Error display location of "On error page" that does something like
    declare
    l_error varchar2(4000);
    begin
    for i in 1..apex_application.g_f02.count loop
       if (nvl(apex_application.g_f02(i),'~')  != upper(nvl(apex_application.g_f02(i),'~')) then
          l_error := l_error ||'< br/>'||'Row '||i||': Value must be upper case '||apex_application.g_f02(i);
       end if;
    end loop;
    return ltrim(l_error,'< br/>');
    end;[Of course, substitute "f02" with the proper name of the array (unfortunately you need to look at the generate page HTML source to see what array is used to render your "name_of_user" column]

  • It used to be when I cleared all the history it cleared the search bar. It no longer does that. Can anyone tell me why?

    It used to be when I cleared all the history it cleared the search bar. It no longer does that. Can anyone tell me why?

    You can clear the search bar history if you right-click the search bar text area: Clear Search History<br />
    You can also use [[Clear Recent History]] to clear "Form & Search History"

  • In looking at my calendar for January, I found all the entries from last year. I thought I would delete the while month and start over, but it deleted all calendars from icloud.  Can I get them restored and how.  Stoormy

    In looking at my calendar for next year I found all the entries from last year were there as well as a few more  I intended to delete January and just start over but everything was deleted including from icloud,  Any way I can get those restored.
    Thanks  Glenn

    Maybe here:
    iCloud: Troubleshooting creating backups

  • I am trying to install Lightroom and I am OK until it asks for a serial number. I purchased Lightroom from B&H and the have entered the seal number on the the B&H invoice. Nothing happens, not all the entry boxes are filled with the serial number that was

    I am trying to install Lightroom and I am OK until it asks for a serial number. I purchased Lightroom from B&H and the have entered the seal number on the the B&H invoice. Nothing happens, not all the entry boxes are filled with the serial number that was provided by B&H. I looked for a serial number on and in the box it came in, nada. Need a bit of help here, what can I do?
    RJ@

    Try to connect on Live chat one more time.
    Still not connected , better to contact Adobe Phone Support
    Click on Phone option and check once :
    Contact Customer Care

  • I accidenttly deleted my notes and the icloud cleared all the message from both ipad and iphone  ...How can i get it back?? If I can ??

    I accidenttly deleted my notes and the icloud cleared all the message from both ipad and iphone  ...How can i get it back?? If I can ??

    Your notes should be stored in your backup, so if you have backed up the iPad and that backup does contain those notes that you deleted, you can try restoring from your backup. If you haven't backed up the iPad since you created those notes, they are gone.
    If you backup with iCloud only, restoring from backup involves erasing the device and then going through the setup all over again and finally restoring from the iCloud backup. This article explains the process quite clearly.
    http://gigaom.com/apple/ios-101-set-up-and-restore-from-icloud-backup/
    If you backup with iTunes, connect the iPad to your computer, launch iTunes and right click on the device name on the left and select - Restore from Backup. But before you do that .... turn off auto sync in iTunes - without connecting the iPad - launch iTunes and go to Edit>Preferences>Devices and check the box at the bottom of that window in order to turn off auto sync.
    Email messages are not stored in your backups.

  • I use Windows Vista and Microsoft Outlook. After migrating to iCloud, the calendar of iCloud tranferred only part of my past Calendar items to the folder iCloud Calendar in my Outlook. How can I transfer all the entries?

    I use Windows Vista and Microsoft Outlook. After migrating to iCloud, the calendar of iCloud tranferred only part of my past Calendar items to the folder iCloud Calendar in my Outlook. How can I transfer all the entries? In iCloud's site all are there.

    If the calendar is on iCoud.com, all you would need to do to get it on your phone is go to Settings>iCloud on your phone, sign into your iCoud account and turn Calendars on.  The iCloud calendars will then download to your phone.

  • In my old OS I could press F11 and clear all the open windows from view to see only the desktop. How can I do that now in Mavricks?

    In my old OS I could press F11 and clear all the open windows from view to see only the desktop. How can I do that now in Mavricks?

    system preference > Keyborad >  click the box thast says  use all f1,f2,f2 keys as standard functiong Key and then the f11 key should casue all window fo fly to the side and you can see your desktop

  • Delete all the entries in target table when message mapping?

    Hello Gurus,
    I have a requirement in the project. When I do message mapping, I need to delete all the entries in the target table and then insert the new rows. From searching the old posts, I know it is possible without BPM. Can anyone please help me out? I really appreciated it.
    Regards,
    Bai

    Hi Bai,
    Check the below links:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/43/9519abb1146353e10000000a11466f/frameset.htm
    Defining a DELETE Statement 
    http://help.sap.com/saphelp_nwpi711/helpdata/en/44/7b6e85fde93673e10000000a114a6b/content.htm
    Thanks,

  • I used to be a softbank Japan Iphone 4 customer and i had cleared all the dues. Now i don't have softbank contract and i am in my country Nepal. How can i unlock and use my Iphone here in Nepalese Network ?

    I used to be a softbank Japan Iphone 4 customer and i had cleared all the dues. Now i don't have softbank contract and i am in my country Nepal. How can i unlock and use my Iphone here in Nepalese Network ?

    Hi Edward,
    You should still be able to manually manage the music on your iPhone within iTunes. Make sure that when your iPhone is plugged in, look in the Summary tab to see if “Manually manage music and videos” is enabled and you can even you turn off Automatically Sync when this iPhone is connected. Take a look at the first article below to give more information on that. As far as your other questions about calling someone, I have provided two options for you. If it is for feedback on iTunes, you can use the second link to give detailed feedback on what is going on. If you want to actually talk to someone, the last link has a list of numbers for you to call for any support or service that you may need.  
    Manage content manually on your iPhone, iPad, and iPod
    http://support.apple.com/en-us/HT201593
    Product Feedback
    http://www.apple.com/feedback/
    Contact Apple for support and service
    http://support.apple.com/en-us/HT201232
    Take it easy,
    -Norm G. 

  • Will system automatic clear all the records in v$SQLAREA?

    Can anyone tell me when the system will clear all the records in v$SQLAREA table? Or this is a global temporary table, once the database is down, all the records will remove from this table.
    FAN

    v$sqlarea contains records from shared memory, which uses LRU algorithm to store data (oldest data are thrown away where there is no place for new data). On the other hand shared memory is empied when you shutdown database (thats why is contains almost no data at startup).

  • Is there a way to reset passwords for all the entries to a default password in Directory Server?

    Whenever the development servers are refreshed with production data, it's required to reset the passwords for the all the entries. I know one way is to run ldapmodify which takes an ldif file having password attribute and new value for an entry. Just wondering, if there's a simpler or direct way to reset passwords. Thanks. Madhu Epari

    The only simpler way I know is to export to ldif, use sed or another editor and re-import the ldif file.
    Probably faster as well, depending on the number of entries.
    Ludovic.

Maybe you are looking for

  • [SOLVED] Gnome 3 is completely messed graphically

    Hello guys I already searched for a similar problem in the forum but I was not able to find any. Here is the context : my workstation is completely up to date and is installed with Gnome 3 and systemd (no wild initscripts in legacy mode). My configur

  • J'ai Acrobat pro XI. Il semblerait que le fichier ait été fait avec un scanneur.

    Je ne peux pas le convertir en Word. Je reçois un message d'erreur : Echec de traitement du document par la commande Enregistrer sous. J'ai essayé de faire la ROC sur le texte et elle se fait correctement. J'ai essayé de faire des fichiers tiff et de

  • Accessing images inside JSR 168 portlet

    Hi, I have written some JS6 168 portlets for Oracle Portal 10.1.4. I would like to add some images to the portlets but I am not sure how to locate these images once they have been deployed on OAS. I am trying to access one of the images using the htm

  • Elementary trouble creating a web page

    I'm trying to create a home page, which consists of one image. I can't seem to find an efficient way to size the image correctly. It's either too big, or too small. What is the best way to do this? There must be some concrete method rather than triia

  • How to open/edit .ifd files?

    Hi I just wonder what program to use to edit .ifd files? Brgds Marre