Auto Clear/Reset form

I have a search form that is filled out. For example, one of
the entries for a field is 255. The submit goes to the action page
where results are displayed. If they hit the back button, the
original form entries are still there. If I add 1 to 255 to become
2551 (new search entry) it does not take and 255 is still searched.
What I would like to do is everytime the search form is
initiated, I would like to reset/clear it out, so that if they do
hit the back button to go back, the form will be empty and they
will have to start over.
What is the best way to do this ? Or, if I do not clear it
out and they hit th back button, how do I replace 255 with 2551
?

sounds like browser caching to me...
try this:
http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=1075
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Similar Messages

  • In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

    In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

    Thank you so much for your reply . . . but . . . I should have shared my original script with you -- it was a little more complicated than I led you to believer. I was triggering a group of text fields to become disabled as well as gray. Below is the original script so that when the checkbox is checked, it causes several "Co" fields to be disabled and gray.
    // Mouse Up script for check box 
    // If checked, certain fields should be disabled 
    var f_prefix = "Co"; 
    // Get a reference to all of the "Co" fields 
    var f = getField(f_prefix); 
    // Reset the Co fields 
    resetForm([f_prefix]); 
    if (event.target.value === "Off") { 
        // Enable the Co fields 
        f.readonly = false; 
        f.fillColor = color.transparent; 
    } else { 
        // Disable the Co fields 
        f.readonly = true; 
        f.fillColor = color.gray; 
    To recap -- my goal is to get those gray fields to revert to transparent if the form is reset. I'm willing to create my own custom "Reset Form" button but I'm not sure I understand how that would look. Wouldn't it be quite lengthy? I think I'm having a brain freeze -- can't figure it out!

  • Clearing a Form or Radio Group on Click of a Button

    Hi Experts,
    I have a simple VC model which has BI Query as Data service and a Form is connected to it.
    Form will be populated based on the input to the BI Query.
    I have Few Input Fields, Drop Downs, Date files and Radio Groups in that form.
    I have included two buttons 1. Clear whole form, 2. Clear Radio Group
    I was able to clear whole form by giving some garbage value to one of the fields.
    But didnt find any way to clear only Radio Group.
    Kindly let me know how can i reset only Radio Group in the above form.
    Regards,
    Rk.

    Hi Jayant Kulkarni
           Please go through this link
    http://en.allexperts.com/q/Javascript-1520/disable-part-radio-button-1.htm
    Please reward points if useful

  • How to clear the form fields which are not rendered

    I have a creation form. There is a document_type list set up as a partial triger. When user change the document type, only the filed related to that document type will be rendered. This caused a problem when we need to clear the form . The input in the field which is not render won't be cleared when reset button is pressed. Can anybody give a sugestion on how to handle this?
    I tried to use the following function to clear the fields. It does not work since it get the list value before the list value change and clear the fields after the new field rendered.
    public void clear_action(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    System.out.println("test1");
    String coutcase = null;
    if(EL.get("#{bindings.Proxy.inputValue}") != null){
    coutcase = EL.get("#{bindings.Proxy.inputValue}").toString();
    System.out.println(coutcase);
    AttributeBinding a11= (AttributeBinding)getBindings().getControlBinding("INT_FNAM");
    AttributeBinding a12 = (AttributeBinding)getBindings().getControlBinding("INT_LNAM");
    AttributeBinding a13 = (AttributeBinding)getBindings().getControlBinding("TIT_PROG");
    AttributeBinding a14 = (AttributeBinding)getBindings().getControlBinding("T_OF_INT");
    AttributeBinding a15 = (AttributeBinding)getBindings().getControlBinding("NETWORK");
    AttributeBinding a16 = (AttributeBinding)getBindings().getControlBinding("IN_DATE");
    AttributeBinding a17 = (AttributeBinding)getBindings().getControlBinding("PE_FNAM");
    AttributeBinding a18 = (AttributeBinding)getBindings().getControlBinding("PE_IN_LNAM");
    AttributeBinding a19 = (AttributeBinding)getBindings().getControlBinding("WEBSITE");
    AttributeBinding a20 = (AttributeBinding)getBindings().getControlBinding("URL");
    AttributeBinding a21 = (AttributeBinding)getBindings().getControlBinding("INT_DATA");
    AttributeBinding a22 = (AttributeBinding)getBindings().getControlBinding("D_ACCESS");
    AttributeBinding a23 = (AttributeBinding)getBindings().getControlBinding("CASE_NUM");
    AttributeBinding a24 = (AttributeBinding)getBindings().getControlBinding("COURT");
    AttributeBinding a25 = (AttributeBinding)getBindings().getControlBinding("PLAIN");
    AttributeBinding a26 = (AttributeBinding)getBindings().getControlBinding("DEFEN");
    if(coutcase.equals("Interview")) {
    a11.setInputValue(null);
    a12.setInputValue(null);
    a13.setInputValue(null);
    a14.setInputValue(null);
    a15.setInputValue(null);
    a16.setInputValue(null);
    a17.setInputValue(null);
    a18.setInputValue(null);
    /*a19.setInputValue(null);
    a20.setInputValue(null);
    a21.setInputValue(null);
    a22.setInputValue(null);
    a23.setInputValue(null);
    a24.setInputValue(null);
    a25.setInputValue(null);
    a26.setInputValue(null);*/
    } else if(coutcase.equals("Internet")){
    /*a11.setInputValue(null);
    a12.setInputValue(null);
    a13.setInputValue(null);
    a14.setInputValue(null);
    a15.setInputValue(null);
    a16.setInputValue(null);
    a17.setInputValue(null);
    a18.setInputValue(null);*/
    a19.setInputValue(null);
    a20.setInputValue(null);
    a21.setInputValue(null);
    a22.setInputValue(null);
    /*a23.setInputValue(null);
    a24.setInputValue(null);
    a25.setInputValue(null);
    a26.setInputValue(null);*/
    } else{
    /*a11.setInputValue(null);
    a12.setInputValue(null);
    a13.setInputValue(null);
    a14.setInputValue(null);
    a15.setInputValue(null);
    a16.setInputValue(null);
    a17.setInputValue(null);
    a18.setInputValue(null);
    a19.setInputValue(null);
    a20.setInputValue(null);
    a21.setInputValue(null);
    a22.setInputValue(null);*/
    a23.setInputValue(null);
    a24.setInputValue(null);
    a25.setInputValue(null);
    a26.setInputValue(null);
    }else{
    System.out.println("coutcase is null");
    }

    Hi,
    The easiest way to modify the screens in the Std transactions using ITS is to modify the ITS templates corresponding to that transaction.
    E.g In you case,there will be a ITS service corresponding to the ESS transaction.This ITS service will have  number of HTML templates which will actually correspond to the diffrent screens in the Trascn.What you need to do is find out the HTML template in the ITS service which corresponds to the screen(which you want to modify) in the STd transacn.To do this ,the easiest way is to right click on that Web page and say VIEW SOURCE.It will show you a HTML code with the ITS service name and the template which is being used for that particular screen.
    So after you find out the correct HTML template to be modified,you can simply hide the fields by putting the HTML code lines in between the symbols
      <!   and  -->
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Automatically Clearing a Form When Document Closes

    I'm trying to find a way to automatically clear the information in a form without using a reset button. Our forms are used by many individuals, and this way the form will be cleared of data when the next person goes to use it. These forms will be uploaded to the internet on our website. I am sure there is a way to script it, but since I am a new designer user, I haven't been able to figure it out. Thank you!

    When we upload the form to our website, it is a static or dynamic pdf. When you click on the form, it will open in reader, or the full version of acrobat (whatever the user is using). Unless you remember to click on the reset button to clear the form, the form retains the data you have entered when you close the file. Next time you go the website, and again click to open the form, the data will still be there. There is no back end to this form - we do not want the data to be saved, just printed or submitted by email. I have tried this from workstations with just reader, and I still get the same results. Thanks for your input.

  • Clear Specific Forms Fields

    How can I clear specific forms fields without resetting/clearing entire PDF document, using a button - Can anyone help with the code?
    I am using Adobe Acrobat 6.0 Professional
    Thanks

    In Acrobat forms you can use the following JavaScript for teh "Mouse Up" action:
    var aClearFields = new Array(); // define array for field names
    aClearFields[0] = "FieldName1"; // first field name
    aClearFields[1] = "FieldName2"; // second field name
    // and so on for all the field names
    this.resetForm(aClearFields);
    // or
    // pass an array of strng names
    this.resetForm(["FieldName1", "FieldName2"]);

  • GR/IR not auto clear in system

    Hi All,
    GR/IR not auto clear in system
    Normally every week end the system automatically clears the open items in f.13, But this time it has not clear the open items
    What could be the reason the system not to clear open items on the week end.
    So that's the reason the user manually cleared the open items
    - User has performed F.13 on 26th of Oct but system didn't auto clear the open items.
    - Those documents are posted prior to 26th of Oct and user would like to know what cause to incident.
    Please suggest me what should be the reason to come out of this issue.
    Thanks in advance
    nandha
    Edited by: nandhasapfi on Nov 8, 2011 1:07 PM

    Hi All,
    I trying to auto clear fbl3n open items in f.13,  every week end  the system defaultly  auto clears all the open items in the system but last weekend it has not been done that job.
    Suggest me what should be the reason for the above issue.
    And i checked in OB74 for the G/L a/c 123456 they have configured the below thing
    chart of account ABC
    a/c type S
    criteria 1 zuonr  assignment     
    criteria 2 vbund  Trading partner
    criteria 3 ebeln   purchasing document
    criteria 4 ebelp   item
    criteria 5 empty
    Suggest me Still any thing required to configure for auto clear the open items of fbl3n
    Thanks in advance
    Edited by: nandhasapfi on Nov 10, 2011 11:45 AM

  • Document not auto cleared after performing FF67

    Hi all,
    firstly i would like to acknowledge that i'm using version 4.7.
    after performing FF67, bank recon document generated in main bank & clearing bank GL accounts. But it is not auto clear in the clearing bank GL account. the treatment is as post GL account & manual clear.
    after checking:-
    1. trans type ABC using int. algorithm 15 - use assignment field to clear.
    2. posting type in posting rule is 4 - clear debit GL account
    in FF67 screen variant, assignment field entered the same as assignment value in clearing bank account. by right, the documents will clear off automatically.
    anyone can assist what else that i miss out?
    thanks in advance.

    hi..
    we can perform manual clearing or F.13, but the pupose of having such posting rule and posting type is to minimize steps of clearing.
    by right, once ff67 posted, the clearing bank gl account will get cleared.

  • Auto clearing of customer open items

    Dears,
    We have implemented for a retail client, wherein we create sale order, collect money, deliver and billing. The collection will generate multiple document since it will be many types (cash, cheques, card, span, transfer etc), my requirement is that all these payments are against sales order which updates sales order in the assignment filed of accounting document, but billing document updates billing document in the assignment field which is causing difficulty to run auto clearing and there will be more than 1000 orders created in all our outlets which makes very difficult to clear manually. I ll be great if you can help me in this regard. Any user exit or configuration help would be appreciated.
    Thanks,
    Lokesh

    Hi Lokesh,
    As suggested by Ajay, try with sort key if number of invoice G/L accounts are few. If it doesn't work, check SD copy control.
    Go to t-code VTFL. Select target billing type and source delivery type and double click. Update
    B   Sales order number in the assignment field. This would automatically transfer, sales document number to accounting document of billing.
    If you are creating billing for sales order, do the same in VTFA.
    Thanks,
    V V

  • AUTO CLEARING CONFIGURATION

    how to configur auto clearing (open item clearing )
    wht is the use of GR/IR clearing account in f.13
    plz tell use of both

    Hi,
    See from SPRO: General Ledger Accounting / Business Transactions / Open Item Clearing / Assign Clearing Rules to Account Types. Normal this is what to fill in but there are some other options.
    When you post an GR on a Purchasing order and an invoice this is posted on a clearing account (open item management) When you run F.13 it clears automatically these items. For GR/IR clearing you don't have to set up in customizing.
    For other clearings perhaps you have to sut-up come customizing
    Paul

  • GR/IR a/c not auto-clearing

    Hi All,
    The GR/IR account has to be cleared automatically once the Invoice Receipt matches Goods Receipt. However, this isn't happening since Jan 2nd, 2007.
    I checked the scheduler that schedules auto clearing, it appears to be correct.
    I checked auto clearing (SAPF124) configuration, the first criteria is Purchasing Document (EBELN) and the second criteria is Item (EBELP).
    What can be the possible reasons? What can I do to atleast find why the error is occuring. Is there any diagnosis i can do?
    Regards,
    Tejas

    Hi Melody, sorry for the late reply. As I understand as per the SAP documentation, that quotes in referece to the GR/IR special indicator,
    "It only makes sense to use this indicator if the assignment of invoice receipts to the corresponding goods receipts using the purchase order number and the purchase order item is not sufficient (such as with scheduling agreements)."
    If this is checked, then in addition to the PO and line item ("EBELN EBELP" which is specified in OB74) "documents are assigned to GR/IR accounts using the material document".
    So when you check this indicator you're comparing 3 things, material doc, PO number n line item. In a PO you dont need to compare material doc. If you do check the box there would be no error thrown, just that it would slow down the system. Hence, it is advised not to check the "GR/IR special indicator" in case of a PO.

  • In EBS document not get auto clear Algorithms 11

    In Electronic bank statment  document not get  clear automatically while batch run.
    I update check no to payment document.  even though it is not get auto clear.
    in OT51 assign Interpretation Algorithms 11 011:(Outgoing check: Check number not identical to document number)
    why it is not get  auto clear with check number.

    011 = Outgoing check: Check number not identical to document number
    012 = Outgoing check: Check number identical to document number
    The "document number" in the descriptions is the payment document number - the FI doc that cleared the invoice.  If you use the payment document number as the check number - and thus that is the number the bank includes in the bank statement - then you would use algorithm 012.  If you create a check in the check register that is a different number than the payment document - and the check number is the number in the bank statement - then you would use algorithm 011.
    Search SAP Help for a document titled "Interpretation Algorithms".  This document includes descriptions of all the standard interpretation algorithms.
    Regards,
    Shannon

  • CUSTOMER AUTO CLEARING F.13

    Hi Friends,
    Presently I am facing one problem “Customer auto clearing” F.13
    My client scenario is first they post the Credit memo because they might be having sale returns on earlier sales
    In the invoice they mapped that credit memo no. in Reference field.
    While doing F.13 Earlier the system was not considering this credit memo and it not clearing the amount. The auto clearing is happening for normal entries only it means invoice and payment.
    I maintained this reference filed in OB74 for account type customers. After my changes the system is not considering for normal entries also for auto clearing.
    Please suggest what to be done at the earliest.
    It’s urgent.
    Regards
    Sai

    Yes Jehade, you can.
    But take into account that you do not set Amount (DMBTR) as a grouping criteria for those accounts, and in case you've set Assignment (ZUONR), the three open items must have the same ZUONR, otherwise it will not clear.
    On top of that, if you have small difference you can configure tolerance groups in IMG and assign them in the Accoutns Master Data.
    Hope that will help.
    Regards
    Fede

  • Auto clearing F.13

    Hi Friends,
    Presently I am facing one problem “Customer auto clearing” F.13
    My client scenario is first they post the Credit memo because they might be having sale returns on earlier sales
    In the invoice they mapped that credit memo no. in Reference field.
    While doing F.13 Earlier the system is not considering this credit memo and it not clearing the amount. The auto clearing is happening for normal entries only it means invoice and payment.
    I maintained this reference filed in OB74 for account type customers. After my changes the system is not considering for normal entries also for auto clearing.
    Please suggest what to be done at the earliest.
    It’s urgent.
    Regards
    Sai

    Thanks Srikanth! You mean, there is a predefined GL account to be cleared for open items or in case of customers it clears all customers predefined in the variant say customer 1200339 to 1250699. Thanks for the answer.
    I have had another question regarding when you run the clearing process, it shows which accounts were cleared. When I ran the process for customers, it usually shows a debit and credit amount for a cleared items for eg. 100, and -100 clearing the account. But in this clearance it only showed a few debit amounts of -100(item 1- one column1), -150(item 1- another column2), 3000(column3) and 6000 (column3) and the for column 3 the total come upto 9000 with the message "total in document currency"
    I have an image file with the problem if anybody wants to see it, i can email it to the person. Thanks
    further points will be assigned.
    Jason

  • Auto clearing of Accounting entries posted via MIRO & MR8M

    Hi Gurus,
    Currently we are doing the development relating to u201CDuplicate Invoice checku201D.
    In one of the scenario system is referring the Accounting document of the cancelled MIRO.
    Subject accounting document is there in the open items (FBL1N) and the corresponding reversal accounting document (Generated via MR8M) is also reflecting in the Open items (FBL1N).
    MIRO documents get cancelled via T-code u2013 MR8M & the Material documents shows the cancelled / relevant document reference against each other.
    Since both of our accounting document (generated via MIRO & MR8M) are appearing in Open items system is referring that in our Duplicate Invoice check development which we want to avoid.
    If I am not wrong, in case of SD Billing document if we reversed, system automatically cancelled the relevant accounting document against each other.
    Does anybody have an idea as how to clear these 2 accounting documents  (MIRO & MR8M) against each other ?
    Regards,
    Shridhar

    Hi Prasad,
    Thanks for the option but we had aready given a though about clearing the Vendor line items.
    In stead of F-44, we can set the F.13, background scheduling with daily execution and can clear the documents. Background execution in the night will occupy our space hence need instant result if possible. As well as background execution will happend in the timing after office hours so could be the case that before doing auto clearing someone may get the concern cancelled accounting document pertaining to the cancelled MIRO (Vendor Invoice - Line item) in the open items.
    While doing the MR8M (Logistic Inv Reversal) alongwith Material Document reversal can we clear the accounting documents instantly on its own against each other ?
    Regards,
    Shridhar

Maybe you are looking for