Clearing Form after Error

Hi All,
The form I'm working after commit, the records don't disappear, whereas, now I want when there is error, then also the records must not be disappear. How do I display the records with just the error meassage, and also validate the item for right or wrong data entered.
Thanks In Advance, please reply, its' urgent...

Doing a commit does not clear the form. If the form is being cleared, then you need to look at the code to see where a clear_form is being executed (after the commit_form).
Once you find where it is occurring, you can write code to check for an error and display the error message before clearing the form.
If you need to validate the data before doing a commit, use a validate trigger on the item or block. The Help documentation provides examples.

Similar Messages

  • Clear form after CREATING record

    Right now when I fill out a form then click the CREATE button, the record shows up in the report but it also remains in the form in "edit"mode.
    What I want is after I click the CREATE button, the form clears and the CREATE button remains so I can add another record.

    I don't want to clear it for the whole page because I have 2 regions on this page. One region has a report, the other region is the form. So, when I create the record in the form I want the report to populate, but I want just the form region to clear cache. So, how do I clear the cache for just a region, not a page.

  • Clear form after submitting, Adobe X Standard

    I am trying to set up a form in Acrobat X standard that will clear the fields after it has been submitted. The form is on a local network and is being distributed using the Forms tool. Employees need to fill in the form then click the submit button on the top right side of Adobe reader, not a button field in the form. I am trying to keep employees from having one person answer the questions  then letting others change the name and resubmit. Is there a script that can do this? I am new to Javascript so I have no idea how to do this or if it can be done.

    I guess I'm not making myself clear about a major problem I have. I do not know anything about Java or JavaScript programming. I understand what document level means but I have No idea how to write a script. I can open the debug console but that is as far as it goes. With that said, I would like to figure this out but it will take a lot of hand holding. The way I see it, I need to know how to call the Adobe Reader "Submit" button, "not a form field" so that when it is clicked on "mouse up" it starts a timer. After the form has been submitted the "resetForm" command activates and all fields reset.
    So how does all that get to be a JavaScript? I have no clue..........

  • Ipad form ....help needed please.  Clear form after email as read only and sequential numbering

    Hi
    i am a complete novice at this however this is what I want to achieve.
    i Have a paper duplicate report sheet that I want to get electronically, I want to be able to add sequential numbers to each report and be able to email the report to the client from a email field in the form
    so far I have so I have created the pdf form, I have a button that runs a JavaScript that will hide the submit button and then send to the clients email and to bcc myself so I have a copy of the report also. This has been tested and works
    i Am struggling with sequential numbering and once the form has been emailed it's un-ditable as the JavaScript has converted it to read only for emailing which is good as it can't be edited. But Is there a way on my submit button to email the report as read only and then clear all form fields in the report ready for filling with the next sequential number?
    I Have had a good look sound for a resolution to this but am struggling
    many thanks in advance for any feedback
    paul

    Hi Paul,
    I presume that you are using the desktop version of Acrobat Pro to author the form.
    I will move this discussion to the PDF Forms forum so that the experts in the forum can answer your question.
    Please note that the Reader/Acrobat DC mobile apps (for iOS, Android, Windows Phone, etc.) have limited JavaScript support.
    JavaScript for Reader Mobile API Reference (iOS)
    You may be able to make the form work as you want in the desktop version of Adobe Reader/Acrobat Reader DC.  However, some functionality (e.g adding a sequence number to each PDF) will not work in the mobile apps due to the limited JavaScript support.  Sorry for the inconvenience.

  • 40655SQL error forced rollback: clear form and re-enter transaction

    Hello ,
    I have ORACLE 10G & Forms 6i on Windows server 2008 . When I open the forms for some work , it give me error in few minis.
    FRM-40655: SQL error forced rollback: clear form and re-enter transaction.
    I have not done anything unusual in form design. it was working properly from a long time.
    Yesterday i set the default profile to idle_time = 20. Will that make any problem ???
    I checked my Alert Log but no sign of any deadlock in it, or any other unusual activity ....
    What is the solution ???
    Thanks in advance ..
    Edited by: DBA4 on Jul 17, 2010 11:43 AM

    Thanks for the reply ......
    I would like to tell some more details here.
    Previously i wanted to set an IDLE_TIME limit of 20 mins for all users in the DEFAULT profile.
    So i did the process for the same...
    I set the resource_limit parameter to true & then altered the default profile's idle_time to 20.
    soon after that all the users who were accessing the database got this error while working ....
    SQL error forced rollback: clear form and re-enter transaction.
    In our case one user is opened & accessed by many people.
    for ex - a user called UERP is open at Machine1 & also at Machine2. So at a time a single user can be opened at multiple sessions.
    can this be the problem for forced rollback ???
    My basic need is , i want to set the IDLE_TIME to 20 min but users should not face forced rollback error ????
    what should i do ???
    thanks in advance ....
    Edited by: DBA4 on Jul 19, 2010 2:28 PM

  • FRM-40655: SQL error forced rollback: clear form and re-enter transaction.

    Hello ,
    I have ORACLE 10G & Forms 6i on Windows server 2008 . When I open the forms for some work , it give me error in few minis.
    FRM-40655: SQL error forced rollback: clear form and re-enter transaction.
    I have not done anything unusual in form design. it was working properly from a long time.
    Yesterday i set the default profile to idle_time = 20. Will that make any problem ???
    I checked my Alert Log but no sign of any deadlock in it, or any other unusual activity ....
    What is the solution ???
    Thanks in advance ..

    This happens due to dead lock situation
    To avoid this problem, add NOWAIT option to the UPDATE and DELETE statements, which returns ORA-00054 error, trap this error and display user defined message like 'The record is being accessed and try after some time'.
    This even improves the performance
    because no process waits for the locks preventing dead locks.
    If it is due to the UPDATE's or DELETE's with base table blocks in the form, in the PRE-UPDATE and PRE-DELETE triggers write SELECT statements to select the particular row with FOR UPDATE NO WAIT option. Handle by trapping the ORA-00054 error

  • Clearing the forms after default Save Button pressed

    HI,
    in forms 6i how to clear the form after the save button is pressed, ie the form uses default menu and smart bar. the user wants to clear the form once he selects save from the menu or after pressing the save icon...
    any idea...?
    regards
    Kris

    try on-commit trigger on form level through clear_form procedure but cursor remain stay on the same record
    I think your requirement is that when user commits a record a new blank record appear so also add "create_record" procedure ;
    .but u have to apply some logic on that trigger also it ever fires when user edit/insert/delete a record and commit;
    Hope it clears now!

  • CFDiv - clearing the form after submission

    I am using cfdiv with a data entry form and on submission writes the values to a db,  works great, but, how can I clear the form after submission?
    reloading the page loads it in the cfdiv.
    TIA
    Jbird

    To where are you submitting this form?  Also, are you submitting as a get or a post?

  • Error in email contact form, 'after sending'...

    There seems to be an error in the email contact form, 'after sending'...
    i want it to direct to a 'thanks for your email page in the mobile site i'm building, however you get the page unavailable message. all links seem to be OK, it's a very simple site.
    Anyone know if there's a known issue with this?

    what's the URL for your site where you're seeing this error?

  • Livecycle Designer 8 - Is it possible to have button to clear fields after user has clicked submit by email button so user can reuse form to send another response with different answers?

    Users will use form to fill in stats for enquiries so they want to keep form open, complete a form, click button to submit by email, then click another button to clear form, form now ready to accept form's responses.  They dont' want to keep opening form each time form needs to be completed.
    Hope you help.
    Thanks Sandra

    Hi,
    Thanks for your response, not sure what you mean by a loop.  I put together
    a draft form to show staff in our Knowledge Centre the sort of thing
    Livecycle Designer can do.
    (See attached file: Library  Request  Form_pub_0001.pdf)
    They are currently writing out on form and manually putting into excel to
    keep stats on the requests.
    Due to current Global Financial Crisis my section does not want to spend
    extra money at the moment seeking assistance from our tech heads.  So we
    are looking for least work no expense option for keeping stats.  I am a PA
    who just happens to have Livecycle program on my computer.
    We use Lotus Notes so I thought the staff could save copy of Library
    request form in the stationery folder.  The staff using the form want to be
    able to do the following:
    1. open the Library request form at the beginning of the day;
    2. when a request comes in, complete the form and click on Send by email
    button
    3. click on a Clear Data button to clear all data from all fields so the
    form is open ready for when the next request comes in.
    Staff are time poor and, as this is only one of their numerous duties, they
    don't want to keep going to a location and opening a file which can be very
    slow on some days
    Each day form may be filled out by approximately 15 staff who may receive
    anything from 0 - 4 requests a day.
    I am not a tech head so script writing is a deep, dark mystery.  Can you
    help using the form above as an example for achieving step 3 above.
    Thanks,
    Sandra Smith
    Personal Assistant
    PricewaterhouseCoopers Australia
    Office: ++61 (2) 8266 9069
    Fax: ++61 (2) 8286 9069
    [email protected]
    http://www.pwc.com/au
                                                                                    Kacyndra                                                 
                 <[email protected]                                        
                 >                                                          To
                                           Sandra K Smith/AU/TLS/PwC@AsiaPac
                 08/08/2009 12:25                                           cc
                 AM                                                                               
    Subject
                                           Livecycle 
                 Please respond to         Designer 8 - Is it possible to have
                 clearspace-200985         button to clear fields after user
                 0098-481178-2-216         has clicked submit by email button
                 [email protected].         so user can reuse form to send 
                     adobe.com             another response with different
                                           answers?                                                                               
    if i understand this correctly, you just want everything cleared whena
    buttons is pressed?
    you can either do it individually:
    on button click:
    mytextField.rawData=""
    or do a loop, using child/paretns..

  • How can I clear a form after submitting and saving the data in the iOS Acrobat Reader App

    How can I clear a form after submitting and saving the data in the iOS Acrobat Reader App

    Darrell,
    Thanks for this response. After I posted mine, I saw that the resetForm JavaScript method is documented as being supported starting with version 10.5: http://www.adobe.com/devnet-docs/acrobatetk/tools/Mobile/js.html
    But I haven't been able to get it to work. Can you clarify if support was indeed added and if it works for you?

  • HT5731 After following the instructions to clear a -50 error and deleted the .tmp file, I am now getting a -150 error. What next?

    After folling the instructions to clear a -50 error and deleted the .tmp file, I now am getting a -120 error. I can't find instructions to clear this...What next?

    Hello jimlcoff,
    I found a couple of articles with steps you can take when you are not able to connect to the iTunes Store.  I recommend reviewing the following articles:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Crystal Report Windows Forms Viewer Error in 1 Workstation after upgrade of PL

    Hi all,
    We just upgraded SAP from 8.82 PL02 to 8.82 PL15.
    Afterwards, in just 1 workstation, Crystal Reports layouts have Crystal Report Windows Forms Viewer error I attach.
    Before the upgrade this error did not happen.
    No permissions or authorizations were changed  in the workstation.
    The Crystal Reports layouts remain working fine in server and in the other workstations.
    In the workstation following are installed:
    - Operating System Windows 7;
    - Microsoft .NET Framework 4.5;
    - SAP Crystal Reports runtime engine for. NET Framework;
    - Crystal Report 2008 Runtime SP6;
    - Microsoft SQL Server 2008 R2 Native Client.
    All, but the operating system, are equal to the other workstations.
    User has edit access to SAP folders, temp and access to the attach path.
    We already uninstalled SAP client and client agent and re-installed it but with no avail.
    Can anyone help me?
    Thanks in advance.
    Best regards,
    Pedro Mariano

    Hi San Xu,
    Thank you for your input.
    However I'm facing problem with each software is suitable.
    I installed SAP Crystal Reports for SAP Business One (CR 2011 V14.0.4.738), but with no avail.
    Thanks in advance.
    Best regards,
    Pedro Mariano

  • Detect form validation error

    Hi there,
    I have a page that displays a report and a form on the same page.
    The user clicks on a row in the report - triggering a re-submit - and the form fills with the correct details.
    On the report there's a NEW button to add a new row.
    When clicked the form is emptied and ready for filling in.
    On the form there's a CREATE button to accept the entry and create the row (using a custom After Submit process).
    I use Before Header processes to set the details in the form depending on the row clicked or a particular REQUEST from a button.
    I also enable/disable button depending on the REQUEST (in add mode the CREATE button is shown - otherwise the APPLY button).
    So far so good.
    Now i have some validations on the form and when one of them fails it re-writes the screen with the inline error messages shown however the REQUEST is then empty!
    This causes problems for me when pre-setting the form with data and enabling/disabling buttons.
    Is it possible to detect somehow if a field validation error has occured or set the REQUEST with a particular value?
    Because of the REQUEST reset after an error my CREATE button gets disabled and my APPLY button re-appears causing confusion for the user (and me :-) ).
    I hope I'm making myself clear here.
    Ruud

    The problem is not how to set the items & buttons.
    My buttons are conditionally shown by looking at the REQUEST value.
    My problem is more with the logic of detecting an error on my screen.
    I need something like following pseudo-code:-
    IF :REQUEST = 'ADD_ROW' THEN -- Insert mode (invoked by pressing button NEW on the report)
      clear form
      disable button APPLY in the form
      enable button CREATE in te form
    ELSE
      IF form shows an inline validation error THEN -- Error mode
        -- do nothing to change the values on the form
        -- do nothing to change existing enabled/disabled buttons
        -- Basically allow the user to correct mistakes and continue
        NULL;
      ELSE -- Normal update mode
        fill form with details of selected row
        enable APPLY button
        disable CREATE button
      END IF;
    END IF;It's the "form shows an inline validation error" bit that I have problems with.
    How do I know an error is shown on the screen?
    Is there an application item that tells me this?
    Perhaps I could set a page or app item myself in the validation code to flag that an error occurred?
    Ruud

  • Need to reopen the form after saving

    Hi All,
    I am developing a form for employee time sheet. I am using the ON-INSERT Trigger to insert the details of the employee. I need to reopen the form after inserting the details into table. I tried using the NEW_FORM bulit-in in POST-INSERT Trigger. but getting an error: FRM-40737 illegal restricted procedure NEW_FORM in POST_INSERT) Trigger. Can any one please how can I do this.
    Thanks and Regards
    Sai

    Hi Jeneesh,
    Thanks for the reply.
    I need to clear the form after saving and also I made the Update Allowed property to 'NO' as client per requirement. So, every time after saving the form, I am getting an error message 'Update is not allowed on this form' . in order to avoid this message after saving I want to close this form and open it again.
    Also I need to clear the datablock. where can I clear the datablock after saving it.
    Thanks
    Sai.

Maybe you are looking for

  • More questions from a noob (Volume 2)

    I started using Arch yesterday. I got most stuff set up already. Except: 1. Sounds not working (No idea about sound stuff at all ) 2. Can't get OpenDNS working (Automatically overwrites any changes to /etc/resolv.conf) 3. XChat says everything I type

  • Time Machine: can it work with TWO users?

    For reasons of corrupted Preferences (i.e. plists) I had to create a new User Account (where I had to "recreate" all personal settings/preferences) and transfer my data to this new account. Until I have verified all data and settings over the next fe

  • G/l acc

    hi, while creating delivery system showing error that G/L account 893010 does not exist in company code 1011 So how i can solve this. Thanks, Rashmi.

  • Third octave decomposition

    Hi! I'm working about third octave decomposition with a vibration signal. I'm using the sound and vibration toolkit. The sample frequency of my signal is 2400 Hz. I use the vi "1/n octave IEC decomposition" and I would like to know if I can selected

  • Viewing HTML email on Pearl

    I have just upgraded the software on a Pearl and Curve. The Curve has an option allowing the viewing of HTML email to be enabled under email settings. The option does not seem to be available for the Pearl 8110. Is the Pearl unable to view HTML even