Auto Submit a From (Im a newbie :-)

DO you know if it's possible to have a form auto-post when a certain number of characters has been entered into a form field?
what I wan to do is have a single form-field of 4 characters (this should have the ability to change in size). I have a magnetic card reader that will populate that form field and have 2 hidden fields with a date and time stamp.
When the card is swiped I want the field to populate (which it already does) and then submit without having to click submit (which it doesn't).
Do you know of a way to do this or have a sample of code that will accomplish this??
Thanks in advance
FYI: I know that with barcode scanners it will populate the field and submit but for some reasong the magnetic card readers don't

How is the magnetic card reader populating the form field? Do you have access to the code that allows it to do that? It's fairly easy to use Javascript to automatically send a form after a certain amount of keys have been pressed (the same way forms can automatically tab between fields for area codes to phone numbers, etc). However, since no keys are being pressed, you can't really handle the event the same way.
You could try submitting the form using onFocus(), but that would probably not give the field the time to populate the data before submitting.

Similar Messages

  • Delete from wwv_flow_files after auto submit

    Hi,
    I have a situation in a file upload page (based on the How TO Doc), where auto submitting is done when an item (select list with submit) is used. We stored the uploaded file in a custom file and normally it works. But when the select list item is used before the submit button is pressed, then the file is automatically upload. (see posted topic Re: File Upload Submit Woes
    In this previously posted topic, Scott Spadafore described a workaround using a computation where to delete files from wwv_flow_files. I implemented it and it works fine, when auto submit is done. But when doing this, my doSubmit Process is not executed properly, this means storing the uploading files in a custom table fails.
    I think computation (after Submit) is done before validation and processing (after submit).
    Anyone any idea how to solve the problem (to delete file from wwv_flow_files after auto submit is done and to insert uploaded file in in a custom file when submit button pressed)?
    Conditional computation does not have "When no button pressed" condition or something like this.
    I'm searching for a solution to implement a computation (with deleting auto-submitted files from wwv_flow_files), but only when no submit button was used.
    Thomas

    Thomas,
    When a button is used, or a doSubmit submits the page, the "request" value is set and is available for inspection by computations, processes, etc. In your case, you cannot use the declarative "when button pressed" controls, but you can use built-in condition types that evaluate the request or you can code pl/sql expression conditions like :REQUEST = 'button name'.
    Scott

  • Auto-Submit On Change in DropDown List not working properly!

    Hi all,
    I�ve got a problem with a drop down list an a table with some rows on my page. The property "Auto-Submit on Change" is set for the drop down because the valueChange-method has to do some work when the user selects another value from the drop down.
    The problem is that after selecting another item from the drop down, the table fields don�t keep their values, which I had entered before I selected another item in the drop down. But: When I select an item again, suddenly exactly these values are set.
    Here my code:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page binding="#{Page1.page1}" id="page1">
    <ui:html binding="#{Page1.html1}" id="html1">
    <ui:head binding="#{Page1.head1}" id="head1">
    <ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <ui:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
    <ui:form binding="#{Page1.form1}" id="form1">
    <ui:table binding="#{Page1.table1}" id="table1" style="height: 488px; left: 24px; top: 120px; position: absolute; width: 1376px"
    title="Table" width="1376">
    <ui:tableRowGroup binding="#{Page1.tableRowGroup1}" id="tableRowGroup1" rows="10" sourceData="#{SessionBean1.columnProvider}" sourceVar="currentRow">
    <ui:tableColumn binding="#{Page1.tableColumn1}" headerText="field1" id="tableColumn1" sort="field1">
    <ui:textField binding="#{Page1.textField1}" id="textField1" text="#{currentRow.value['field1']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn2}" headerText="field2" id="tableColumn2" sort="field2">
    <ui:textField binding="#{Page1.textField2}" id="textField2" text="#{currentRow.value['field2']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn3}" headerText="field3" id="tableColumn3" sort="field3">
    <ui:textField binding="#{Page1.textField3}" id="textField3" text="#{currentRow.value['field3']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn4}" headerText="field4" id="tableColumn4" sort="field4">
    <ui:textField binding="#{Page1.textField4}" id="textField4" text="#{currentRow.value['field4']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn5}" headerText="field5" id="tableColumn5" sort="field5">
    <ui:textField binding="#{Page1.textField5}" id="textField5" text="#{currentRow.value['field5']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn6}" headerText="field6" id="tableColumn6" sort="field6">
    <ui:textField binding="#{Page1.textField6}" id="textField6" text="#{currentRow.value['field6']}"/>
    </ui:tableColumn>
    </ui:tableRowGroup>
    </ui:table>
    <ui:dropDown binding="#{Page1.dropDown1}" id="dropDown1" items="#{Page1.dropDown1DefaultOptions.options}"
    onChange="common_timeoutSubmitForm(this.form, 'dropDown1');"
    style="position: absolute; left: 48px; top: 24px; width: 240px; height: 24px" valueChangeListener="#{Page1.dropDown1_processValueChange}"/>
    </ui:form>
    </ui:body>
    </ui:html>
    </ui:page>
    </f:view>
    </jsp:root>
    and the code of the valueChange-Method:
    public void dropDown1_processValueChange(ValueChangeEvent event) {
    getSessionBean1().getColumnProvider().commitChanges();
    List positions = getSessionBean1().getColumnProvider().getColumnList();
    Is there some explanation for this behavior or it�s really a bug in the way how the drop down is submitting the form? I would understand it when commitChanges is not working here because of auto submit on change (==immediate?). but once it works und once it doesn�t work!

    Hi There,
    Not sure what you mean. Have you tried Netbeans 6 yet. Do you see same behaviour in it as well?
    This might be of help to you
    http://www.netbeans.org/kb/55/dropdowncomp.html
    Thanks
    K

  • Repository Service for Auto Submit for Approval

    Hi all,
    Can anyone help me with the creation of a Repository Service to auto 'submit for approval' any document created.
    My main problem is in two methods:
    1) removeRepositoryAssignment(IRepositoryManager mgr)
      In some samples, I saw always this code line:
      mgr.getEventBroker().unregister(this, ResourceEvent.CREATE_CHILD);
      But in my project the unregister method doesn't have that parameters
    2) received(IEvent event)
      I need some help to know what code should I put
    The remaining steps, I think I can handle by myself.
    Many Thanks,
    Luis

    Hi,
    1) make sure you use com.sapportals.wcm.repository.manager.IRepositoryManager, use the JAR (bc.rf.framework_api.jar from the \usr\sap\XXX\JCXX\j2ee\cluster\serverX\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.netweaver.bc.rf\lib folder) from the portal you are willing to develop to make sure you have the actual libraries.
    2) in this method you have to catch the events that creates the resource (ResourceEvent.CREATE_CHILD) - later you will see, that you have to handle also the CHANGE events and so on. When you have the event, get the resource - for CREATE_CHILD it is
    event.getResource()
    Now you can handle the submit for approval by yourself.
    Romano

  • Auto submit virtual form on change (not the whole form)

    If you tick the "auto submit on change" option of a drop down, it submits the whole form, thus all the required fields have to be filled. Are there any way to submit only the perticular virtual form on change?
    Thank you very much.

    I don't see the problem... Are the files being digitally signed? If not then there's no difference at all between submitting the form data and using it to populate a local copy of the file and submitting the entire file.
    It's technically impossible to extract a page from a PDF viewed in Reader.
    Another alternative: Split the file in two parts and put a link on the last page of the first file to the second part, which will contain only the page with the form fields. You can add a link and some text to the page saying that it is a continuation of the first document.

  • Auto Submit the form..

    Hi
    I am developing an application where I run a timer using javascript..
    All I want is to auto-submit the form when my timer comes to zero..
    whenever the form is submitted I should get all the values from the HTML file..
    The user is given a submit button where in which the user can submit the form before the time runs to zero..
    How can I auto submit the form..??

    BalusC wrote:
    The forms[0] returns the first form in the document root. I'd rather to use the form name instead.
    document.formname.submit();
    I personally use getElementById() :)
    And by the way, isn't the 'name' attribute for form deprecated? At least, that's what an IDE I used to use kept displaying as a warning; I never bothered to actually look it up.

  • How to disable auto-submit in address bar?

    since a few weeks i have a problem with safari.
    sometimes when i type an URL in the adress bar safari auto-completes AND auto-submits it.
    for example i type in the adress bar "dis" (because i want to visit discusion.apple.com) but
    then safari auto-completes it to "disco.com" and immediately submits it (without me hiting enter).
    the auto-completion isnt the problem - i like it and it's a must have but
    the auto-submit is very annoying.
    does anyone know which settings i have to make to fix this? or any workaround?

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the errant extension by uninstalling and reinstalling it. Its settings will revert to their defaults. If the extension still causes a problem, remove it permanently or refer to its developer for support.

  • How do I get rid of the auto signature "sent from my iPhone" when I create a new message?

    how do I get rid of the auto signature "sent from my iPhone" when I create a new message?

    Settings -> Mail -> Signature and edit it to whatever you'd like.

  • Imovie 09 How do I stop Imovie from auto importing video from iphoto

    Imovie 09 How do I stop Imovie from auto importing video from iphoto.
    Hi I've done a lot of searches on how to do this but no answers found.
    Imovie is beginning to become really slow because of the large number of video's. It takes 3 minutes to startup. Editing is sometimes slow lot's of spinning beach balls e.t.c.
    I would like to only import the video I want to edit and hopefully get a quicker Imovie in the process.
    My Iphoto library is about 95 Gbyte in size.
    My mac has 4 gb ram and I use the internal disk.
    Any other ways to work with Imovie/Iphoto are also welcome.
    regards

    I won't get iMovie 9 till Tuesday, but based on what you said I may need to take some precautions. One reason I didn't like iMovie 8 is because it automatically imported everything in iPhoto library. What I'm going to do is create a new iPhoto library before importing the photos/videos from the camera. Or if you already have it in your main iPhoto library copy only the photos you'll use in your iMovie 9 project to the new library. Then start iPhoto while pressing the option key which will allow you to select the new iPhoto library you have created. Then I suppose that when you start iMovie 9 it will automatically import only the photos/videos from the new library.

  • How can I change my auto-correction language from english to french?

    My system language is english, so all the default language is also in english
    but how can I change the auto-correction language from english to french and without changing the menu language?
    Message was edited by: Marixomia

    It's just, I want to change my spelling checker from english to french, that when I type some words in wrong order or miss some, I can know that.
    For now, when I type in french, almost every words are underlined by the red lines...

  • Auto PO creation from PR through ME58 problem.

    Hi experts.
    We are providing facility to our client  auto po creation from PR through Me58 transaction code.
    I am facing amazing problem is that it is working fine in development client , not working in Quality and  Production client , exactly  problem is that ME58 u2013 Ordering Assigned Purchase requisition  & Process Assignment  Create PO , Purchase order cannot be created, PR  shift in document overview , it means user want to drag and drop in purchase order then system create PO , this problem I am facing in Quality & Production , but it is working fine in development server there is no need to drag and drop , immediately after Process assignment Create PO , system directly convert PR into PO  just only need to check and save PO. I compare everything with development & quality data including material master , source list and everything still I am unable to understand where is the problem , is there any customization settings related to auto po ?  pls. suggest any solution to solve this issue.
    Kumar

    Hi,
    Config setting.
    Settings for Automatic PO creation is:
    1. Select the Automatic PO check box/option in Purchasing view of material master
    2. Select the Automatic PO option in the purchasing data view of Vendor master
    3. Maintain Purchase info record
    4. ME56- Assign the vendors to PR's
    5. ME58- Create PO via assignment list(PR-> PO)
    6. ME57- Assign and process PR's
    7. ME59N - Create PO automatically via PR
    Above step by step procedure is involved in the Automatic PO creation.
    SAM

  • Auto PO creation from PR

    Dear All,
    I have done all process required for Auto PO creation from PR. With TCode Me59 i am able to create a PO also but some field in PO are blank like in header level Additional  tab - Validity Start and Validity End, in Communication tab - Your Reference and Our Reference.
    And while using ME59N, its shows error
    "PO cannot be created
    PO header data still faulty
    Enter Our Reference
    Enter Validity End
    Enter Validity Start
    Enter Your Reference
    Requisition could not be converted"
    How will i fill these field. Any link from info record or source list. These field are necessary in PO.
    Please anybody help me to solve this issue.

    Yes Sir. You have said the right thing. At first i have done the same that make these fields optional. but here as per our business these fields are mandatory for PO. Is there any other way that we forcefully enter data in these fields.
    And one more thing i want to ask, i have created PR through MRP run, in this how could i maintain fixed vendor, valuation type, purch org, info record. These all things are necessary to create auto PO creation. Now what are we doing that we create PR through MRP run and then go to change PR enter all these thing and then run ME59N. After that the same problem some fields are blank in PO.
    Please suggest me any other way to maintain this....

  • Upon startup Firefox says "Proxy is refusing connections." When I select "Auto-Detect Proxy" from Advanced settings and solve problem, changes are not saved and upon next startup I must select again...!

    Firefox 4 was working fine. Then one day, when I started up Firefox, it says "Proxy is refusing connections." I solved this by selecting "Auto-Detect Proxy" from Advanced network settings, but my changes are not saved and upon every start-up I must select it again! (I even completely removed my webroot antivirus protection, as it as hindering many proxy related programs, but this seems to not be the source of the problem)

    You can find the connection settings in Tools > Options > Advanced : Network : Connection
    If you do not need to use a proxy to connect to internet then select "No Proxy"
    See "Firefox connection settings":
    * https://support.mozilla.com/kb/Firefox+cannot+load+websites+but+other+programs+can
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions 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.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    See also:
    *http://kb.mozillazine.org/Preferences_not_saved

  • Greetings from a Photoshop Newbie. I need a computer, preferably a Mac laptop, with some serious processing power. I take photos with a Pentax 645Z; files are 50MB raw. I upload from Adobe Bridge and manipulate the photo, sometimes turning them into files

    Greetings from a Photoshop Newbie. I need a computer, preferably a Mac laptop, with some serious processing power. I take photos with a Pentax 645Z; files are 50MB raw. I upload from Adobe Bridge and manipulate the photo, sometimes turning them into files in excess of 250MB. I cannot resize as the large files are needed for enlargements. Have all sorts of problems trying to manipulate, add effects and saving most large files. I need some serious processing power. Can anyone suggest what Mac i should purchase? I thank you in advance for your help :-)

    It sounds as if you're having some system-related problems now, unrelated to processing power as such. In particular, a buggy video driver can cause everything to slow to a crawl.
    Medium format files are big, true, but not so big as to cause significant slowdowns on a normally functioning and reasonably current computer. A laptop will always be slower than a well-equipped desktop system, though. Mac vs PC plays no part in this, performance is unrelated to platform.
    Bottlenecks are different in ACR and Photoshop, so that should give you a clue. ACR is computing-intensive and mostly limited by CPU speed. Photoshop, however, is mostly bandwidth-intensive and mainly limited by memory and disk throughput. It's also sensitive to GPU issues.

  • Auto log out from xbox :S in lumia 1520

    Auto log out from Xbox account in my 1520 every time I restart the mob and join any game .. Need your Xbox
    Website I do use remember me and nothing happens . That is happens with all websites I use
    A.A
    Solved!
    Go to Solution.

    hi mate, have you checked you are up to date with latest firmware and all latest Nokia system app updates from the Store? also try performing a soft reset and double checking that everything is ok with your Microsoft account online.

Maybe you are looking for

  • Guest Internet Access

    Hi Looking for input on Guest Vlan subject. How can I avoid routing of Guess VLAN traffic to DATA VLAN, any traffic from Guest VLAN should be routed to Internet directly. Looking for similar setup as in Hotels, Guest are provided with username/passwo

  • Xcelsius 2008 doesn't support excel links?

    I'm building a dashboard with Xcelsius 2008 and my Excel sheet which I imported has a number of links to other Excel files - that is how the values are updated, from other Excel sheets. After adding a collumn graph component and setting it up appropr

  • Counter column in the Receiver file

    Hi All, My requirement --> Souce is IDOC and target is a file. In the Receiver file there is one column counter which will indicate the counter for each line... So the Receiver file should be like this FHEAD,0001 THEAD,00002,00001,20081103 TDETL,0003

  • FBRA - how to identify if document is reset ONLY

    Hi Gurus, Would there be any indication in the document that the clearing document was only reset but was not reversed? I have tried looking into fields in tables BSIK/BSID (Open Items): Document Status (BSTAT) Indicator: Clearing was reversed (XRAGL

  • How to change the font size of the header for a login page

    I am using theme 15. I want the header of my login page have a larger font size. Can anybody tell me how to do that? In HTML Header I put text like <a target="_blank" href="http://www.myweb.com"><img src="#WORKSPACE_IMAGES#my_header_logo_white.jpg" a