Auto complete text field drop-down list gets disoriented

Hello

I developed a page of connection with a field of user name and password, I made the username field to be 'Text with AutoComplete' and gave the sql code to fetch the result of falling down, while when I apply a style to overried the position of the region using the left and right drop-down list style attribute appers in the screen is not what I need. Can someone help me. I use Apex 4.2

Thanks in advance

Published by: eldho45 on December 10, 2012 20:42

Joel_C wrote:

fac586 wrote:

eldho45 wrote:

Thanks a lot for your concern

My concern is that the security implications to use AutoComplete on a connection user name. This allows the infamous capture user names for each user on the system to work their way through the alphabet by KeyDown keypress without effort.

Could be an internal site (i.e. not exposed on the web).

Makes no difference. Internal hacking/fraud is still hacking/fraud. And it is much more likely to succeed. The negative person on the inside knows the details of partners/children/animals-domestic/cars their colleagues who will be in their passwords.

In addition, I'm sure it'll be fine because everybody uses passwords to secure great Don't they?

...
pa55word
rangers1874
simplythebest
cfc1888
trustnoone
...

UM *.

sevco2012?

Tags: Database

Similar Questions

  • How to enable/disable readonly in text fields, drop-down list field?

    For example, I have a dropdown field named "DropdownField" and a field of text called 'TextField '.

    Within 'DropdownField', I have four choices: Option 1, Option 2, another, combination. When the user first sees the "DropdownField", they see 'Select Option.' When the "DropdownField' select Option, Option 1 or Option 2 selected, I want to 'TextField' to be a read only field. However, what other or combination are selected, I want them to be able to grasp things in the 'TextField', which makes is not readonly. Also, tell someone selects 'Other', but realizes that they have made a mistake, I want them to be able to select Option 1, and have the return of 'TextField' read-only.

    Currently I have the JavaScript code as a MouseUp on "DropdownField: action

    var getField.DropdownField = drop;

    var getField.TextField = text;

    If (drop.value! = 'Other' | drop.value! = 'Combination')

    {text.readonly = false ;}

    on the other

    If(drop.value = 'Other' | drop.value = 'Mix')

    {text.readonly = true ;}

    However, the JavaScript code above doesn't seem to work. Please let me know what I'm doing wrong!

    You must use the event to validate drop-down list and use a script like:

    var f = getField("TextField");
    
    if (event.value === "Other" || event.value === "Combination") {
      f.readonly = false;
    } else {
      f.readonly = true;
      f.value = f.defaultValue;
    }
    

    Also, set the option in the drop-down list "Value Commit selected immediately".

  • Mandatory text field / drop-down list under option RadioButton

    Hello

    I am working on a form with a set of option buttons: individual or joint.

    A drop-down list will become visible if the user clicks on the joint. How can I set this drop-down list to be mandatory when the 'joint' is clicked?

    And also - what would be the script as if I want to put a text field to become mandatory according to radio button clicked?

    Thanks in advance!

    Hello

    You can write the following script in the button click event

    to make the object TextField or DropDownList required and visible when clicking on the radio button and

    text field / dropdown list not to be mandatory when it is hidden.

    If (this.rawValue == 1)
    {
    TextField1.presence = "visible";
    DropDownList1.presence = "visible";
    TextField1.mandatory = "error";
    DropDownList1.mandatory = 'error ';
    }
    on the other
    {
    TextField1.rawValue = null;
    DropDownList1.rawValue = null;
    TextField1.presence = "invisible";
    DropDownList1.presence = "invisible";
    TextField1.mandatory = "disabled";
    DropDownList1.mandatory = "disabled";
    }

    Thank you

    Stéphane.

  • Can I get the units in the field drop-down list?

    Hello

    I have a requirement that I have to fill out the field list drop-down (its caption is "Size unit") with 2 entries, they are ft2 and m2 (2 should be superscript), so I went to the range of the object and tried to copy/paste "2 and2m pi" but, 2 does not come as a great script!

    Pls I want to know how to do?

    Thank you

    When you press Alt-Gr and 2 you get ².

    So, you can directly enter the value as a square foot in the drop-down list.

  • send several ID field of unique text through drop-down lists

    Hello

    It drives me crazy.

    I have x 3 drop-down menus 'Day' "Month" "Year" and I want to send these parts to a single rating marked with the id 'date' to compensate for a syntax correct date without refreshing or send the form. I use getelementbyid to send the onchange = "getAmount (this.id) request for drop-down list", but it sends only an id and when the next drop-down list is selected it replaces the previous selection, rather than putting all of this together in correct date format. "

    Here is the code I use, but it is clearly wrong: -.

    Each drop-down list: -.

    getAmount (this.id)

    and then the following javascript code to send the ID

    < script type = "text/javascript" >

    function getAmount (optText)

    {

    var salt = document.getElementById (optText);

    document.getElementById("date","['EventDayID_<?php_echo_$cnt1;_?>','EventMonthID_<?php_echo_$cnt1;_?>','EventYearID_<?php_echo_$cnt1;_?>']").value = sel.getElementsByTagName ("option") [sel.selectedIndex] .innerHTML;

    }

    < /script >

    and the input field I want to enter the full date: -.

    < input type = "text" name = "" id = "date" / >

    Is anyine knows how to handle this?

    Thank you very much

    Glennyboy

    You only need one identifying any...

    Change your Mysql in bulk or add check boxes used or unused:

    SELECT * FROM table WHERE IS NULL or IS NOT NULL column

    You can extend your

    SELECT * FROM table WHERE column1 = something AND column2 IS NOT NULL

    or

    you check every box before printing it, if (cb1! = "" or cb1 == "") {echo/print/do something ;}

    Thank you

    J

  • How to define the format of a field drop-down list text align at the top of the field instead of the Center?

    I have a form with the fields of data entry simple Acrobat 11. I have, for the first time inserted drop-down lists and most of them is single-line fields. However, there are a few examples where my field must be larger to mask unwanted background. (The field will define the colur to white background are data entry, but I did not write the script for this.) When a selection is made, it appears centered in the field and I need to be aligned to the top.

    I guess I can put a script on the Format tab, in the custom format script, but I don't know enough about Javascript to run on the syntax. I guess it would be a simple line or two of code. Can anyone help?

    You have no control over this. They are always vertically centered. You can use a separate field in the drop down menu, however, and control its background. I suggest to use a read-only button.

  • Show / hide the text box drop-down list database

    Hi all

    First time post here - wahoo!  :-)  Brand new user of LiveCycle, and so far I'm loving - very cool app!  I am a bit puzzled, however, and hoping someone can help...

    I am using LiveCycle version 8.05 and try to build a form that has a drop-down list with departments in our Organization.  If the user selects the elements 1-5 on my list, I want two other fields at autopopulated (one for the Admin Assistant) and one for Dept Head.  If however the user selects 'Other', I want a text box (it will be hidden the rest of the time) where the person will be able to type in the Department they work for.  For now, I'm only interested on getting the box 'Other' to appear; I'll worry about the other stuff later.

    Elsewhere in my form, I have a functioning drop-down list that displays a text based on the selection field; However, for some reason this logic does not work with the situation described above.

    My code for the working text field is (in JavaScript)

    var
    
    (sNewSel)
    case "1": 
    switch
    {
    
         TextField6.rawValue = "My text is in here";
    break;
    case "2":
    
    
    
    = "My second text is in here ";
    
    
    break;
    "3":
    
    case 
    
    = "My third text is in here.";
    break;
    TextField6.rawValue
    
    default:
    }
    break;
    
    
    TextField6.rawValue 
    
    
    sNewSel = this.boundItem(xfa.event.newText);
    

    After many fruitless hours yesterday, I got only to the extent where the code below; This was more or less copied right out of a post here.  When I click on the drop-down list, select 'Other', the text field is displayed.  I tried the definition of the text field to the times 'Hidden' and 'Visible' through properties of the object, but no luck.  I tried to use IF statements, subforms and anything else I could think of but am getting nowhere.

    var nSubLength = Subform1.nodes.length;
    var 
    sSelectField 
    for
    
    {if
    {switch (xfa.event.newText) 
    (case "6":
    Subform1.nodes.item(nCount).presence
    break
    default:
    Subform1.nodes.item(nCount).presence
    break
    }
    }
    }
    ;
    = "invisible";;= "visible";((Subform1.nodes.item(nCount).className == 
    "field") &(Subform1.nodes.item(nCount).name== sSelectField)) 
    (var nCount = 0; 
    nCount < nSubLength; 
    nCount++) sSelectField = fieldList.rawValue;
    = sSelectField.replace(' ', '');

    Any ideas?  This is very new to me, but I am familiar with other programming languages, and something this simple should not be difficult which leads me to think I'm missing something.

    Thanks in advance

    Chris

    It was easier to create a sample for you... Please see the attachment.  I think that's what you want.

    The code is on the change event of the DDList

    Paul

  • Fill in textedit with selection field drop-down list

    Hello, everyone!

    Thank you much for the help that you give me for a long time.

    I have never seek and find great solutions.

    But this time, I have found nothing.

    I need to fill a field of textedit from a selection in a drop-down list.

    Is there a way to do this?

    My fragment:

    var myP0a = myGtop.add("panel", undefined, "JOURNAL");
    myP0a.margins = [10,15,10,10];
    var myTEMPLATE = myP0a.add("dropdownlist", ["","",200,25], ["", "Journal 01", "Journal 02", "Journal 03", "Journal 04", "Journal 05", "Journal 06"]);
    myTEMPLATE.selection = 0;
    
    var myGdoi = myG1.add("group");
    myGdoi.add("statictext", undefined, "DOI:");
    myGdoi.orientation = "row";
    var myDOI = myGdoi.add("edittext", undefined, "000");
    myDOI.characters = 34;
    

    Based on the selection of myTEMPLATE, I want to fill in the myDOI field.

    Is this possible?

    Thanks in advance and sorry if this question is already answered in another topic.

    The selection of a drop-down list is a ListItem object (or null), therefore, you just collect the selection.text from the drop-down list in the onChange of the drop-down list manager:

    myTEMPLATE.onChange = function(){
        if (this.selection===null || this.selection.text.length===0){
            myDOI.text = "000";
            }
        else{
            myDOI.text = this.selection.text;
            };
        // and maybe more stuff here
        };
    

    or equivalently, in a shorter form:

    myTEMPLATE.onChange = function(){
         myDOI.text = (this.selection && this.selection.text) || "000";
        };
    

    Xavier

  • Data from the field drop-down list does not clear when the reset button is activated

    Acrobat Pro XI

    All field boxes are checked in the tab properties of the button actions... but when I click on the reset button of the form I created only the data in clear text fields, not any of the data that has been selected in a drop-down list.  What I am doing wrong?

    The 'rest shape' command returns the fields to their default values. If this

    value is not empty, that's what he'll be back.

  • Hide the fields to add fields drop-down list in the advanced search mode.

    On the drop-down list to add fields in the field of the advanced search displayed by an af:query, is there a way to hide some of the attributes? He seems to show all the attributes of the default VO.

    The fields must be visible on other pages that use the VO. Table Panel and search queries will only to display a subset of the fields in the VO.

    Assigning to the attribute Display tip to hide will not do; at least this seems to be the case, because if I do that, then, the field is not available on the data control to be placed on other pages.

    I guess I could create a separate VO just to the search page; but I try to avoid this, it invites excessive maintenance as the system grows. If no indication on how to hide a field VO on add fields while leaving the field to be displayed on other pages would be appreciated.

    Versions: JDeveloper 11.1.1.4, ADF business 11.1.1.59.23 components.

    Thank you.

    I wrote a blog post on this subject and a sample of http://tompeez.wordpress.com/2012/01/06/jdev-afquery-hide-some-attributes-from-query-panel-but-show-them-in-the-result-table/ here

    Timo

  • Connecting 2 fields drop-down list and have some appear field

    I've read about the binding of the two drop-down lists when you select something in the first box and then it adjusts the options in the second drop-down list box.  I love those who can use in the future.  I have a question a little.

    Can I have two lists that both selections control what fields appear below drop-down list?  For the examples list 1 to A, B and C list 2 has red, Orange and yellow.  I'll choose different combinations of the two and have different things to be displayed.  At Red and has fields 1, 2 and 3 show.  B and yellow display 1 and 3 and so on.

    Is this even possible or do I need to create different combinations all in one field and script the different responses that, I think I know how to do?

    Thank you!

    Hello

    The problem is that you are hiding the subform, BUT you try to assign to the presence of individual boxes in the subform visible. It won't work, because the subform itself is set to hidden.

    Look at the boxes to check and see if you can group them in series that are always hidden or visible. Then script against subforms and NOT the boxes. If you can not group the boxes then you will just have to refer to them individually.

    The textfield object was just a typo.

    Niall

  • How to influence the APEX 4.0 autocomplete text element drop-down list colors?

    Hello

    Could some body if you please tell me the model that I need to change?

    I use the 15 theme and the text with AutoComplete element has a very different color scheme, I would like to change, so that it would harmonize with the theme 15 colors. It's just that I can't find the model to change. TIA.

    Tamás

    Tamas

    There is no model for the AutoComplete element. His appearance is controlled entirely using CSS. Theme 15 includes a style on the theme of AutoComplete items: she descends to a generic schema that is specified in the apex_4_0.css style sheet:

    .ac_results {
      padding: 0;
      border: 1px solid black;
      background-color: white;
      overflow: hidden;
      z-index: 99999;
    }
    .ac_results ul {
      width: 100%;
      list-style-position: outside;
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .ac_results li {
      margin: 0;
      padding: 2px 5px;
      cursor: default;
      display: block;
      font: menu;
      font-size: 12px;
      line-height: 16px;
      overflow: hidden;
    }
    .ac_results li {
      margin: 0;
      padding: 2px 5px;
      cursor: default;
      display: block;
      font: menu;
      font-size: 12px;
      line-height: 16px;
      overflow: hidden;
    }
    .ac_loading {
      background: white url('indicator.gif') right center no-repeat;
    }
    .ac_odd {
      background-color: #eee;
    }
    .ac_over {
      background-color: #0A246A;
      color: white;
    }
    

    The best approach would be to use a tool to identify what web Inspector that each of these rules in the context of the use of the AutoComplete element and create your own theme-15-friendly style sheet to override this subset of apex_4_0.css.

  • Auto-complete text field

    Hello

    I work for a tent rental company and we must file a large number of licenses with local construction departments, so I'm at the mercy of the cities form designer. That being said, they often ask for much of the same information each time, that is to say: home owners name, address, etc. Is there a way to allow you to fill in once and did see on the remaining squares of the person in charge? It sounds simple, but I can't seem to find anyone else with this issue, maybe im just not ask the right questions. Your help is appreciated.

    Thank you

    Andrew

    If your conversion of forms to PDF forms wherever you need the same info, name the field exactly the same thing.  as long as the names of the fields are exactly the same everything that is put in one will be the same.

    example: If repeated name will be the same. However, Name1 and are not the same.

  • Change the caption of a drop-down list field

    Hi all

    I'm changing the legend of some field drop-down under certain conditions. The following is written on some other field drop-down list:

    If (this.rawValue == 'Ad Hoc payments')

    {    

    xfa.resolveNode ("form. PaymentDetails.ddlInvoiceFrequency.caption #text ") .rawValue group"TEST CAPTION";

    }

    But it seems to not work.

    Any help would be much appreciated.

    Thank you

    Vijay.

    Try with this:

    delete the caption in the palette of the subject field and type this in the case of change:

    If (xfa.event.newText is "Ad Hoc payments") this.caption.value.text.value = "TEST CAPTION";

  • How to change the color of the text on the user interface control, such as the drop-down list component

    Hi, I want to change the color of the text in drop-down list because I want to set background color.

    How to do this?

    Thank you

    He suggests as a feature on jira. or write a custom, component drop-down list does not support this.

Maybe you are looking for