All caps in text field

Hi,
How can I adjust text field in a form, Name for example, so that all typed letters are capital, no matter how I type them. My browser is Mozilla Firefox, and I use Oracle Database XE 10g. Please, help me if you can.

A very nice and clear example as always, Denes.
As an alternative, you can just put the following in the HTML Form element attributes for any item you automatically want to uppercase:
onChange="this.value=this.value.toUpperCase();"It means you don't need to define a javascript function anywhere else and can use the exact same bit of code regardless of the specific item you are adding this functionality to.
I tend to use onChange as opposed to onKeyUp because of the following behaviour I noticed when you do it with the onKeyUp event:
If you type a string (such as "wesday") then realise you've mispelled it, so use the mouse to move your cursor back to just after the "e" to add the required "dne" and then start typing, as soon as you type the first character the cursor will be moved to the end of the word so you'll end up typing wedsdayne
Andy

Similar Messages

  • Hide all instances of text fields, instead of only first instance?

    Hi All, Been scouring looking for an answer to this, and tried several things that I haven't been able to make work for me.
    I'm creating a quote form in LC Designer.
    I've got buttons to add or remove instances of a subform. The subform contains 5 fields. I need to add a checkbox that will hide only 2 of the fields within the subform when checked, and when unchecked, show them again. I am able to make this work, but only for the first instance (instance 0?). How can I make this work so it hides these fields from each of the visible instances?
    You can view the form at: https://workspaces.acrobat.com/?d=GVqRa5BfyIKxpkAVBxje3Q
    For anyone that is feeling abitous, what I really wanted to do seems impossible, so I'm going with the above as a simpler workaround. What I really want to do is have a check box that when clicked, will hide the quotation form, and make the purchase order visible, carrying over any field data into a new table on the Purchase order form from the quote form. I've attached this form at https://workspaces.acrobat.com/?d=pqpsXx5VPi*LkMeVKrX57w
    I understand that I need to create an XML schema to accomplish this, but can't figure out for the life of me how to actually create the schema. I can only find info on how to bind the data source once it's been created.
    I would be forever grateful to get a hand with getting either of these forms to do what I need.
    Thank you!

    Hi Barb,
    The first question is fairly easy, you need do exactly what you were doing but for all the rows, so;
    var newPresence = (this.rawValue == "1") ? "hidden" : "visible";
    var rows = page1.resolveNodes("Subform2[*]");
    for (var i = 0; i < rows.length; i++)
        var row = rows.item(i);
        row.Col2.presence = newPresence;
        row.Col4.presence = newPresence;
    The second one can be done, but is a bit fiddly.  I have updated your sample, https://workspaces.acrobat.com/?d=jLYZGae--BiZ0khRbZqvuA
    This relies on having two top level subforms, one for Sales_Quotation and one for Purchase_Order, when you click the checkbox the name of the top element in your data connection is updated, the form is remerged and rendered with the top level subform that matches the new name.  Look in the hierarchy tab and you will see what I mean by top level subform.  Any elements that have the same binding under the Sales_Quotation and Purchase_Order subforms will bind correctly.  You wont need an XML Schema.
    The fiddly bit is that in Designer you can only edit the first top level subform in the form, the second one wont show up at all at design time.  However, the approach was discribed in this blog http://blogs.adobe.com/formfeed/2011/02/multiple-top-level-subforms.html and John has a macro to move the first subform become the last.  I've already run the first macro, NewTopSubform, so you just need the RotateSubforms macro.  There's more information on macros and how to install them in the Designer help http://help.adobe.com/en_US/enterpriseplatform/10.0/DesignerHelp/WS3041177a02dcf48e2f8c933 d12daa5a53a3-8000.html
    Good luck
    Bruce

  • Make all text fields read only after signing form

    Hello,
    I have a live cycle form which needs to have all of the text fields set as read only after signing.
    The java script has been placed in the post sign event of a digital signature field.
    for(var i=0;i<this.numFields;i++) {
    var cNm = this.getNthFieldName(i);
    if (cNm.type = "text") this.getField(cNm).readonly = true;
    After signing the form the following console error is shown:
    this.getNthFieldName is not a function
    Can anyone please advise how to revise the script so that when the form is signed all of the text fields become ready only?
    Any assistance will be most appreciated.
    Thank you.

    You don't need any JavaScript to do this.
    In Designer you can setup the signature field in that way, that all fields will be locked after signing.
    Look here:
    http://forums.adobe.com/message/3121870?tstart=2

  • How to find the number of occurance of a string in text field of Infopath form?

    Hi All,
    In Infopath text field, How to find the number of occurrence of a particular string in that field?
    Thanks in advance!

    You can check to see if it contains a string once by using the contains function, but there isn't a very clean way to do what you want. If you wanted to guess at the maximum number of occurrences, then you could:
    Box A has your initial. Set Box B to do a concat of string-before and string-after of Box A where it copies Box A minus the string we're looking for. Then we have Box C that does the same thing to Box B. Repeat as many times as you see necessary.
    Example:
    String: "1"
    Box A - "123451234512345"
    Box B - "23451234512345"
    Box C - "2345234512345"
    Box D - "234523452345"
    etc.
    We then have a field that has nested ifs looking backwards from Z -> A looking for a non-blank. Based on that, we return the number of occurrences. Again, this isn't clean, but it will work if you think there's a predefinable maximum.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • PDF File in Preview doesn't show text fields, but OK in Adobe Acrobat

    Someone emailed me a pdf document which I opened in Preview. All the the text fields where there was supposed to be data were blank.
    I then opened in Acrobat and everything was there. Saved a copy from Acrobat and opened in Preview and the text was finally visible.
    Anyone have a clue why this would be happening?
    I'm running Leopard 10.5.1

    We get these files from the vendor , he creates the file in Adode illustrator for us  and he saves the f
    ile in PDF format and sends them . He aslo advised he can open
    the filre in acrodat pro version  and the print pervi
    ew is fine and he can print the file with out any issue.
    VJ

  • How to add comma and dollar sign that places automatically in input text field

    I have this ROI calculator which has several text input field
    on frame one with calculate and reset buttons. When a user enters
    numerical values in the text field, and jumping to the next field,
    I want the input text filed be updated with dollar sign and with
    comma.
    Next when they hit "ENTER" key or click "Calculate ROI"
    button, all the input text fields on frame 2 as a result of
    calculations be updated with dollar sign and comma. I also need
    that once the comma sign is assigned then it would not add any more
    even if user presses the button. Can someone help me in
    this?

    If you want to Set the Comma when you Switch to next Text
    Field
    Use onKillFocus / onSetFocus Functions.
    to restrict multiple comma, Before Adding comma use
    myText.text =
    myText.text.split(",").join("").split("$").join("");
    So this will give you the value without Comma and Dollar
    symbol, Now add the Comma and dollar.
    or you need to use a Flag for onChange Event.

  • How to keep the Text Fields in Nested Subforms together?

    Please find the structure of nested subforms as below:
    --Subform 1
        --Subform 2 {Subform 2 is repeatable}
          Text Field 1
            --Subform 3 {Subform 3 is repeatable}
              Text Field 2
            --Subform 4 {Subform 4 is repeatable}
                  Text Field 3(Header)
                --Subform 5 {Subform 5 is repeatable}
                  Text Field 4(Data) 
    I want to keep the Text Field 2, Text Field 3 and Text Field 4 together.
    I am able to keep the Text Field 3 and Text Field 4 together by checking Keep with next and checking Allow Page Break. But checking Keep with next and checking Allow Page Break for Text Field 2 doesn't help in keeping all the three Text Fields together.
    Can anyone please tell me how do I keep all the three Text Fields (2, 3 & 4) together?
    Please mail me at [email protected] for any solutions. Thanks.

    It would be easier to answer by looking at the form settings.
    You can send the form to [email protected] so I can have a look at it.
    Thanks
    Srini

  • How do you auto-populate a text field based on entries in other text fields?

    I would like to be able to have a text field that populates as "Complete" or "Incomplete" based on whether all the mandatory text fields have been filled out or not.
    For example, if the "First Name," "Last Name," and "City" text fields are not filled out, the "completion status" text field will show "Incomplete" and once they are filled out, the "completion status" text field will turn into "Complete."
    How would I do this using javascript? I've searched the web for a tutorial, but most of the results seem to be dropdown-centric.
    Please point me in the right direction!

    Try the script below. I put this on the calculate event for Field1
    if(FirstName.rawValue == null || LastName.rawValue == null || City.rawValue == null){
    Field1.rawValue = "Incomplete"
    else
    Field1.rawValue = "Complete"

  • Auto-tabbing between input text fields in AS3

    Hello-
    I am having some trouble figuring out how to work auto-tabbing between input text fields when a user inputs a character. I have a series of text boxes with maxChar set to 1, and when the user inputs a character, I would like it to auto-tab to the next one. I'm putting together a crossword-style banner ad so the auto-tabbing will help tremendously.  All the input text fields are instanced on the stage as input1, input2, etc; not called in from a custom class.  Also, I've been working with AS3 for about 2 weeks lol!
    thanks!

    Awesome, thank you, that works nicely! Now I need to figure out how to capture individual keyCodes for each input and then come up with a conditional to check for right or wrong answers. I have a "check your answers" button all set up. I think I am almost there, possibly a syntax hiccup for me. Any advice on how to do that would be appreciated.

  • AS3: How to get height of a dynamically created text field

    I am importing text from an XML file and want the lines of text to display in separate text fields beneath each other. How can I set the y value of each succeeding text field so that there is some space (40 pixels or so) from the above field, regardless of the length of the text? Here is my current code. Any help would be greatly appreciated.
    var textArray:Array = new Array();
    for (var i:int; i <myXML.TOPIC[0].QUERY.length(); i++) {
    var textField:TextField = new TextField();
    textField.htmlText = myXML.TOPIC[0].QUERY[i].QUESTION;
    textField.x = 100;
    //below is my problem....I want the y value to be based on the height of all the previous text fields that have been created
    textField.y = 100+(40*i);
    textField.border = true;
    textField.width = 800;
    textField.textColor = 0x000000;
    textField.multiline = true;
    textField.wordWrap = true;
    textField.selectable = false;
    addChild(textField);
    textArray.push(textField);

    There's nothing wrong with the approach you took... retain it as is.  What I was suggesting is basically the same, just a slightly different angle that doesn't need the conditional....
    var currentY:Number = 100;
    for (var j:int = 0; j <myXML.TOPIC[0].QUERY.length(); j++) {
       textArray[j].y =  currentY;
        // text gets added somewhere in here
        currentY =  currentY+textArray[j].height+5;

  • Text Field layout/size issues

    Has anyone else noticed that when you add a text field component onto a layout, the view of it inside of JSC2 is not how it appears in browser? For example, I am staring at a JSC2 screen where the bottom of the line of text(label) aligns with the bottom of the text-field. However, once in the browser, the text field is a good amount larger (reader below) the label's bottom. From exploring, it seems like the text-field gains an extra grid size when translated from JSC2 to web. (My grid is set to 5 px, and the text-field only aligns once I make it 1 grid space too small). Is this the case? Possibly known bug, and is there any solution other then just make all of the text fields too small?
    Thanks

    I have a similar problem, and I think it is a bug to. The IDE display of a text field is about two times the size of the actual size of the text field displayed in the browser. I tried both IE 6.0 and Firefox and the result is the same, so it is not a browser specific issue.
    I have to set the columns attribute of the text field almost twice as big big in the IDE display to get half as much in the browser. Overall it is irritating since my design view looks like my text fields are over lapping other components when that is actually not the case when I deploy it.

  • Dropdown filling multiple texts fields

    Completely new to live cycle. I've designed a form that I finally successfully linked with a XML datasheet. I can easily incorporate the texts fields that my sheet is generating. Now what I want to do is turn one of those fields (PRODUCTS) in a dropdown so when the user selects a product, all the other text fields are filled with that line of the datasheet (DATE, PRICE, DESCRIPTION etc...). I have to work with xml cause the database of the products is constantly updated on an excel spreadsheet. I badly need help!
    PS: I succesfully created the dropdown wich links correctly with the XML data, but all the other fileds simply show the first line of the sheet, or multiple lines in the same field...
    Thanks in advance!
    Nicolas

    Paul,
    Thank you so much, that solved my problem (with a little bit of tweaking to your code). I had to pull the Value from the Dropdown List instead of the text because the text is not unqiue in our database.
    One simple question...Is it possible to display more than one field within the Dropdown List? For example, can I place the Company Name and the Contact name at the Company within the Dropdown list? This reason for needing this is that we service customers that have multiple locations and it'd be easier for the Service Techs to pick the correct customer if the Company Name and Contact were in the Dropdown List.
    One last harder question....Is there an easy way to sort the data displayed within the Dropdown list? I do not have the option of selecting "Sort Ascending"...Your insight would be greatly appreciated.
    Thanks again,
    SSCLadam

  • Invisible Text Fields/Print Button error

    Ok, so I'm creating a blank form for users to input data fields and then print them out on a pre-made paper form. I started out using Adobe Designer 7.0.
    While I was using 7.0, I made all of the Text Fields, and spent hours lining them up to print out correctly in their corresponding boxes on the pre-made paper form that we load into the printer. (Already tried scanning the form and creating a form that way, but the scanner is weird and scales everything incorrectly.)
    I upgraded to Adobe LiveCycle Designer ES today so that I could make Text visible on the form, but not visible when it prints, so that I can label each Text Field, otherwise it's just a blank template with random Text Fields all over.
    Well, after upgrading, I created the Texts prompts above each Text Field and I selected Visible (screen-only) for each one of them, hoping that once I printed the form out, those texts prompts won't print out on the pre-made paper form. But, to my dismay, they printed out even though I selected the option for them to NOT print out.
    So I was doing some reading and decided to add a "print button" to my form. I added the print button. Made it visible (screen-only). Printed out another form, and BAM. All of the hours I spent lining up those Text Fields went to waste because all of a sudden my Text Fields are all over the paper. I immediately removed the print button, assuming that was the problem, but for some reason my text fields are still all over the paper.
    I don't want to spend the hours and hours I spent lining them up again. It just took too long. Does anyone know what happened here? If so, how do I fix it?
    Also, how do I make it so that the Text prompts I created do NOT print when I print out the form?
    I'm sure this is all an easy fix for you experienced ones. I'm a noob... obviously...

    Thank you for the help, but I'm still not really sure what I should be doing here. I went to form properties, but didn't see any kind of settings that would fix what I'm having problems with. I'm using Adobe Designer ES 8.2.1 now, but for some reason when I make my text Visible (screen-only), it still prints out when I click print. This shouldn't happen and I can't figure out what's wrong. I've reasearched all I can, but can not find a solution.

  • Split imported XML data into multiple text fields

    I should first describe my final project because it is very possible that I am going about this entirely wrong!
    I am trying to create an interactive PDF file which is the floor plan of our office, when you mouse over the office spaces it would popup the info for the person in that office, in fact when you click on the office space it would show additional info like computer MAC and jack numbers
    I placed the floor plan as a layer and them created a second layer with no fill/no stroke rectangles over the offices and made them buttons (office01, office02)
    I then made text fields with the info for the people, one for regular info and one for extra info (office01-data, office01-Xdata) I made these text fields buttons as well and had them "hidden until triggered"
    These info fields are all on top of one another, as in the are all the same size and in teh same location
    Then I went to the office buttons and created events "On Roll Over" "Show/Hide Buttons and Forms" and changed the visibility of the corresponding info button.
    This works like a charm!
    I hope I am clear up to this point.... my problem now is I would like to import this data both regular and extra from an excel spreadsheet or an XML file.
    That way when we get new staff or people move offices or whatever I can update the spreadsheet or XML file, rerun my InDesign file and create a new interactive PDF
    I have created the XML file
    <staffMap>
         <staff>
              <name>John Doe</name>
              <computerName<gfth56df</computerName>
              <phoneMAC>00:08:00:AB:CD:EF</phoneMAC>
         </staff>
    <staff>
              <name>John Smith</name>
              <computerName<gfth06cb</computerName>
              <phoneMAC>00:08:00:11:22:33</phoneMAC>
         </staff>
    </staffMap>
    Created a new InDesign document
    Imported the XML and placed it in a text field
    saved as a template and closed it
    Reopen and import the XML data again... and it brings it all into the text field... wonderful and useful but not what I need.
    Is it possible to import the XML data into separate test fields, or into some other separate field that I can make into a button and show/hide?
    I may end up just entering all the data directly into InDesign as I know this will work, it just does not seem like the right way to do it.
    Thanking you all in advance 

    I am still looking to get some help with this.
    I would love to know if it is not possible or any ideas at all

  • Static text field line height problem

    When an FLA that was created in OSX is edited on a PC the
    line heights in static text fields are lost. This was a problem in
    earlier versions of flash however it was generally fixable by
    republishing from the platform on which the text was originally
    set. As of CS3 the problem may have gotten worse:
    1. I developed a flash project in OSX CS3. It included many
    static text fields with varying individual line heights.
    2. I sent it to a colleague who was adding some tracking
    tags. He was working on a PC.
    3. He did his bit and sent it back.
    4. In the authoring environment the text looked fine. But
    after republishing, all the static text fields lost their line
    height settings - that is all the lines within any given text field
    inherited the line height of the first line within that text field.
    5. Only text fields that were edited by my colleague were
    affected by this problem. Text fields that weren't edited are fine.
    6. It seems that the only way to get past this problem is to
    actually delete these text fields and create new ones. This would
    take about a week. Republishing doesn't work.
    Any ideas?

    NP
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Kim" <[email protected]> wrote in message
    news:ern9ua$54m$[email protected]..
    >I was missing a div. Sorry for wasting your time. Thanks
    >
    > Murray *ACE* skrev:
    >> <p style="line-height:2.5;">about, <span
    class="xlarge"><a
    >> href="#article">articles</a></span>,
    blog, css, contact, Copenhagen,
    >> <span class="large"><a
    href="#article">download</a></span>, <span
    >> class="large"><a
    href="#logo">logo</a></span>, design, <span
    >> class="large"><a
    href="#draw">drawings</a></span>, family, freelance,
    >> football, graphics, javascript, monarchy, mysql,
    news, <span
    >> class="smallplus"><a
    href="#article">php</a></span>, portfolio, <span
    >> class="xlarge"><a
    href="#reboot">rebooted</a></span>, redesign,
    <span
    >> class="medium"><a
    href="#logo">republic</a></span>, seo, services,
    spam,
    >> universality, usability, <span
    class="smallplus"><a
    >> href="#work">websites</a></span>,
    webstandards, <span class="xlarge"><a
    >> href="#work">work</a></span>, xhtml,
    xml</p>
    >>
    >>
    >
    > --
    > Kim
    > ---------------------------
    >
    http://www.geekministry.com

Maybe you are looking for

  • Close Web Dynpro Application on click of button

    Hi,      I have a Web Dynpro Appliaction which would be open in a Portal iView. I have a close button in the application. How do I close the application on the click of "Close" button. Thanks, Prasanna.

  • What tags can be used with Notes?

    I have been searching all over to figure out what typs of tags can be used when creating Notes for the iPod. I keep comming back to this document http://developer.apple.com/hardwaredrivers/ipod/iPodNoteReaderGuide.pdf. It is supposed to show availabl

  • Watch Dogs Not In Library

    Just purchased Watch Dogs Digital Deluxe edition. Received the email saying it is ready for download. Digital Library is empty. Have reset password, cleared browser history and tried in 2 different browsers. Still empty Library. How do I get this fix

  • Logs during starting of SAP Web AS

    Hi,   Could any one help me in locating the  folder structure where the logs would be when SAP Web AS is started ? Thanks ! Karthik

  • Sapbex.xla!toolsEdit error with BEx Analyzer

    I get 'sapbex.xla!toolsEdit' error when i try to run BEx Analyzer. Anybody has faced this problem. Thanks Arun