Problem with comparing text item with hidden item

Hi all,
I have two items, one text field which has a user name and other item which is hidden which also has a username input from a file.
I want to compare these two items.
But when both items are text fileds am able to compare, but when one is made hidden unable to compare.
Please help on this......
thanks,
Srini

Hi Srini,
As long as you understand that the user can change the value of ANY field, even it is hidden, then I would suggest something like:
1 - Hide your existing Login button. On the button definition, in "Button Display Attributes" add the following into the Attributes setting:
style="display:none"2 - In the Login region's Region Footer, create a new button:
<input type="button" class="t12Button" value="Login" onclick="javascript:checkNames();">(Note that I have used a class name of "t12Button" - change this to match your current theme)
3 - Underneath that, add in your javascript:
<script type="text/javascript">
function checkNames()
if ($v('field1name') == $v('field2name'))
  doSubmit('loginbuttonname');
</script>Then, when the user clicks the new Login button, this triggers your javascript. This checks that the values for field1name and field2name match. If they do, if fires the normal submit for the page (the same as if you clicked the original Login button)
Andy

Similar Messages

  • Problems Typing into Text Items

    I HAVE PROBLEMS WHEN I'M TYPING STRINGS INTO TEXT ITEMS, IT IS WHEN TYPING SPACE BAR BETWEEN THE WORDS THE CURSOR MOVES FROM THE BEGINNIG OF THE TEXT. I SET THE PROPERTY KEEP CURSOR TO "YES" AND THE CURSOR MOVES FROM THE LAST OF THE TEXT, IGNORING THE SPACE BAR.
    IT ALSO HAPPENS WHEN I'M WORKING WITH DATETIME ITEMS.
    ANYONE CAN TELL ME HOW TO SOLVE IT ?.
    THANKS.
    null

    If u r using Oracle Developer 6 then you need to apply the patches . The latest patch is Patch6a.
    These patches will fix the bugs u have reported plus many more in Forms 6.
    Thanks.
    Thiru

  • Problem with hidden items and Internet Explorer

    Hello,
    I have discovered a very strange behavior of my Page in which are a few hidden items!
    In a region six hidden items produces an empty row! But this empty row is only be displayed in Internet Explorer! In Firefox everything looks fine!
    Does anybody have done the same experiences about that?
    Is there a solution for this problem?
    Regards,
    Tim

    Tim,
    I have discovered a very strange behavior of my Page
    in which are a few hidden items!
    In a region six hidden items produces an empty row!An empty row where? In a report? In a form?
    But this empty row is only be displayed in Internet
    Explorer! In Firefox everything looks fine!Although hidden items are 'hidden' they're still part of the HTML and consume space within the HTML source of the page. Is ApEx just putting these items inside a td tag that shows up in the browser? Maybe you could post an example on apex.oracle.com.
    Earl

  • Problem with Hidden variable

    I have written a combobox onchange method as shown below:
    <td class=TableContentText width=220>               <html:select property="toType" size="1"           styleClass="SearchTextboxStyle"                    style="width:150px;" onchange="if (this.selectedIndex==0)
         {this.form['userID'].style.visibility='hidden';           this.form['groupID'].style.visibility='hidden'};          if (this.selectedIndex==1)               {this.form['userID'].style.visibility='visible'}     else {this.form['userID'].style.visibility='hidden'} ;          if (this.selectedIndex==2)                              {this.form['groupID'].style.visibility='visible'}          else {this.form['groupID'].style.visibility='hidden'} ;">          <html:option value="" >Select</html:option>               <html:option value="Users">User(s)</html:option>          <html:option value="Group">Group</html:option>     <html:option value="All Users">All Users          </html:option>                         </html:select>     </td>
    i have a combo box and a text box to be displayed on selection of the correspondign values:
    <td>
                             <html:text property="userID" size="25"
                                  styleClass="LoginTextboxStyle"
                                  style="visibility:hidden;" />
                                  <html:select property="groupID" size="1"
                                       styleClass="SearchTextboxStyle"
                                       style="visibitlity:hidden;">
                             <html:option value="" >Select </html:option>
                             <c:forEach var="group" items="${groupAll}">
                        <c:set var="currentGroup" value="${group}" />
                        <bean:define id="gid" name="currentGroup" type="String" />
                        <html:option value="<%=gid%>"><%=gid%> </html:option>
                             </c:forEach>
                        </html:select>
                        </td>
    but the problem is when i access the JSP for the first time i get the combobox with the list populated...its not hidden

    Welcome to SDN Tom.
    the stt.
    var name = document.getElementById('name').value;
    is to set the element (name) value to variable name.
    you cannot just give the javascript variable anme in the value field. if you want to set the value for a input field thru javascript consider the following example.
    <input type = "hidden"
    name = "NAME_LAST"
    id = "NAME_LAST"
    value = "" />
    <script>
    document.getElementById('NAME_LAST').value = 'ABC' ;
    </script>
    the above script would set the value for the input field as 'ABC'.
    if you want this to happen on particular action.(say a button click then make a javascript function like below and call it on click of a button.
    <script>
    function setVal()
    document.getElementById('NAME_LAST').value = 'ABC' ;
    </script>
    <input type="button" name="b1" onclick=setVal();"/>
    for more reading on javascript you can refer to
    www.w3schools.com
    www.htmlgoodies.com
    Regards
    Raja

  • I just upgraded to OSX LION and have a problem with "hidden" files

    Okay first please take it easy with me, This is my first iMac and I've had it only 3 days, Everything was working fine until i upgraded to OSX LION, Now I have a problem "Hidden" files on an external hard drive which were visible before the upgrade seem to have vanished.
    Does anyone know what's happened - Did the upgrade delete them somehow (The drive was not connected during the process) or does LION simply hide "Hidden" files, I certainly hope that's the case because there were quite a few files annd I would hate to have lost them permanently.
    Obviously if they are just hidden i would appreciate anyone telling me if\how I can see them again.
    THANK YOU in advance for your help.

    First WOW what a quick response, are Mac users always this quick to help each other out - Never got such a rapid response in all my PC using years.
    Second it is an NTFS drive, Other non-hidden files are still there and still accessible it's just the "hidden" ones that have vanished. As I said this is my first ever Mac so I can't figure out how to unhide them if that is at all possible and if that is in fact what has happened here.

  • Problem with hidden objects when moving layers, groups or artboards

    Hi there,
    I am using Illustrator CS5.5 on a Mac.
    Sometimes, after moving stuff around (groups, layers or artboards), I notice that hidden objects didn't move with everything else.
    Does somebody knows how this can be if no objects are locked ?
    I cannot make this happen on purpose with a simple example and it is really annoying not to be sure that everything was moved properly.
    Thanks
    R.

    Emil,
    A little misunderstanding here.
    Like you say, clicking on the target to select (targeting objects) : this is exactly what I do.
    So, SOMETIMES, when I select a group (not a layer) which contains hidden objects by clicking on its target in the layers panel, only the visible objects get selected (i.e. : only the visible objects get a full square at their right in the layers palette and the group gets a small square) AND the group is NOT targeted at all (i.e. : the target of the group is not highlighted, only the targets of the selected (visible) objects within the group are highlighted).
    Then, if I move the group, only the visible objects are moved because only those are selected.
    Problem is that I don't know why but when doing this (targeting objects), SOMETIMES this result in selecting everything within the group BUT SOMETIMES it result in selecting only the visible objects withtin the group.
    I don't know what triggers that difference in behavior.
    R.

  • Crystalreportviewers javascript, problems with hidden components

    I've been struggling for the last 5 weeks to get the crystalreportviewer working in my webapp.  It is SO close, but I feel like I'm missing something related possibly to the use of the crystalreportviewer (of class com.crystaldecisions.report.web.jsf.UIReportPageViewer)
    The basic problem is that while the viewer is shown on the webpage, the toolbar and report content are not.
    By using FireBug2, I can find the report content and force it to display.  I can do this by changing "visibility:hidden" to "visibility:visible" in the below body tag, generated by the SAP BO provided javascript:
    <iframe id="bobjid_1406231767316_iframe" width="100%" height="100%" frameborder="0" tabindex="0" aria-labelledby="bobjid_1406231767316_h2" margin="0" style="display: block;">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <body>
    <style>
    <div id="OFGCrystalViewercridreportpage" class="crystalstyle" style="width:652;height:861;position:absolute;visibility:hidden;" name="OFGCrystalViewercridreportpage">
    </body>
    </html>
    </iframe>
    I even know the code that creates the iFrame, found at line 160 of ReportPage.js in /crystalreportviewers/js/crviewer/
    However, I don't know how to find the code that sets the content within the body tag, which comes in as a parameter to the iframe-constructing function from somewhere else.
    Similarly, with the toolbar, I can find the html using firebug, and by changing "display:none" to "display:block" and then offsetting the next division down a number of pixels, I can see the toolbar, with the zoom, export, print buttons.
    So...I can make them display by manipulating the webpage the BO Javascript creates, but how do I get them to display by default?
    Jeremy

    I've been struggling for the last 5 weeks to get the crystalreportviewer working in my webapp.  It is SO close, but I feel like I'm missing something related possibly to the use of the crystalreportviewer (of class com.crystaldecisions.report.web.jsf.UIReportPageViewer)
    The basic problem is that while the viewer is shown on the webpage, the toolbar and report content are not.
    By using FireBug2, I can find the report content and force it to display.  I can do this by changing "visibility:hidden" to "visibility:visible" in the below body tag, generated by the SAP BO provided javascript:
    <iframe id="bobjid_1406231767316_iframe" width="100%" height="100%" frameborder="0" tabindex="0" aria-labelledby="bobjid_1406231767316_h2" margin="0" style="display: block;">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <body>
    <style>
    <div id="OFGCrystalViewercridreportpage" class="crystalstyle" style="width:652;height:861;position:absolute;visibility:hidden;" name="OFGCrystalViewercridreportpage">
    </body>
    </html>
    </iframe>
    I even know the code that creates the iFrame, found at line 160 of ReportPage.js in /crystalreportviewers/js/crviewer/
    However, I don't know how to find the code that sets the content within the body tag, which comes in as a parameter to the iframe-constructing function from somewhere else.
    Similarly, with the toolbar, I can find the html using firebug, and by changing "display:none" to "display:block" and then offsetting the next division down a number of pixels, I can see the toolbar, with the zoom, export, print buttons.
    So...I can make them display by manipulating the webpage the BO Javascript creates, but how do I get them to display by default?
    Jeremy

  • Connection problem with hidden SSID

    At my work they have several Cisco Aironet 1200 Access points (AP). The AP have two SSID's. One SSID is visible and the other SSID is hidden. Both are secured with WPA TK-IP. Both work fine on laptops etc. I must use the second hidden SSID to connect to the internet.
    I have successfully installed/configured the hidden SSID on my iPhone 3G but it is an half working solution.
    Every time i want to use Wifi (hidden SSID), the iPhone 3G only uses 3G for internet.
    Only when I go to Settings on the iPhone 3G, --> Wifi and wait a few secs the hidden SSID is visible and the iPhone connects perfectly. Then I press the home-button and I can use for example Safari or Mail over Wifi.
    When I put the iPhone 3G to sleep en lets say use the iPhone 10 minutes later I only can use 3G for internet. No Wifi is visible.
    In other means, the iPhone don't start the hidden SSID Wifi connection by itself
    The only way to work with the hidden SSID is going true settings, --> Wifi. Then the iPhone 3G finds the hidden SSID directly. Then when the iPhone stays on i can use WiFi (with the hidden SSID).
    Is there an solution so that the iPhone 3G automatic connects tot the hidden SSID when I use the iPhone?
    (I have erased the network settings via Setup. This don't solve the problem. Have iPhone 3G with firmware 2.2, problem also with firmware 2.1)

    Have you tried it with other hidden wifi networks (if possible)? Does it properly auto-connect to visible wifi nets? I have 2 wifi nets configured on my iPhone, one hidden and the other not. The iphone remembers both and automatically connects as soon as I walk close enough.
    My 2 networks are configured with WPA2, MAC filtering, and reserved IP addresses for each device (no IP renewals).
    I don't know specifically how the iPhone works but maybe it's trying to remember a previous IP and its causing a conflict because the work wifi is using DHCP. I also heard MAC filters on routers/switches can cause problems (though mine doesn't). I'd suggest asking some IT guys at your workplace how their security set up.

  • Icon bounce notification problem with hidden dock

    Hi: I think this has been reported on macosxhints for the mail app, but I'm seeing it in other applications too. Specifically, I have Adium setup to notify me via a bouncing dock icon on new messages. I also have a hidden dock.
    I've noticed that on new messages, initially the dock icon bounce will be visible. But if I mouse over the dock area to unhide + hide the dock, the bouncing will no longer be visible (it is still bouncing, and I can unhide the dock to confirm - just not visible when the dock is hidden anymore). If I click on the dock icon to check my message, any subsequent messages from Adium result in the dock icon bounce not being visible with the dock hidden. Once again, it is bouncing, just not visible.
    As described in http://www.macosxhints.com/article.php?story=20090330170041769, there are certain ways to avoid this, or even to recover from this, but I end up missing my IMs pretty often.
    Any ideas? Thanks!

    Thank you Barry. I wonder if anyone else has the answer to that question. I have many different view options for different folders, and it would be a pain to have to reset each one of them.

  • Problem with hidden tabs working in CS5 from a converted page maker file

    I have run into some glitches with InDesign CS5 trying to convert my clients Page Maker file. I can open up the file but one of the most confusing issues is that it is not converting Page Maker’s tabs into an editable tab in InDesign. When I change the missing font to the font I am using for the layout design it creates these strange tabs. If I try to backspace to get rid of the tabs it will delete words on the previous line. When I reveal the hidden characters, no tab marks appear. I believe this might be because InDesign does not recognize the script Page Maker used to create it’s tabs? Does anyone have any recommendations for me?
    (above is a screen shot that shows the strange tabs)

    Those aren't tabs, they're a left indent on the paragraph coupled with a negative first line indent.

  • Problem with Hidden Fields

    I have generated an JSPX page using JHeadStart then i added a hidden field to the page and bind it to a back bean.
    i set the value of this hidden field in the page load event of the page.
    the problem is that when the page is submitted (e.g commit action) the value if the hidden field is returned to null, although the page still in the exits and i didn't navigate to another page ????

    In that case, can you please create a test case based on the HR Schema (see http://www.oracle.com/technology/products/jdev/tips/muench/jhstutorial/index.html#setuphrschemaanddata)?
    Also include a non-JHeadstart test case in which the problem does not occur, based on the same HR Schema (possibly in a different ViewController project based on the same Model project).
    Please e-mail both to idevcoe_nl "at" oracle "dot" com,
    * removing the WEB-INF/lib folder from the web root (public_html) before zipping, it makes the zip much smaller
    * renaming the .zip file to something like .zipped before attaching it to the e-mail (otherwise our mail server will not process it)
    * including detailed steps to reproduce the problem, and how to see that it works OK in the other test case.
    Thanks,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • How to delete text item in delivery

    SAP Expert,
    I am facing one problem in deleting text item from the delivery. In one case our store person have inserted taxt item by mistake in delivery. In the delivery there are two schedule lines one is of Tan and another is of tatx (which is by mistake inserted by him) he prepaired bill for the delivery and System split the delivery in two invoices, later on he cancelled the invoice of Text item Which value is 0. But now the delivery is showing pending in VF04 though we have invoice the 1st schedile line. After this I tried to delete the text itm by going to vl02n but system is not alowing me to delete the schedule line. error is document can not deleted. where as system is also not allowing thtough t-code vl09n after cancelling the invoice.
    I need experts help to solve this problem. I wan to cleare the delivery from t-code VF04.
    nikhil

    Dear Thanks doe the prompt reply.
    here the delivery is only one and system have created two invoices. I have cancell the invoice of 0 value by using t-code VF11, after this I tried for vl09 to reverse the goods movement but system is not allowing me becouse for the same delivery we have created two invoices and one is cancell.
    so dear friend tell me is it possible for me to reverse the one schedule line from the delivery by using vl09n.
    nikhil

  • Problem with text/HTML item in 9.0.2

    Hi
    When I add a text item in Portal 9.0.2, the built in HTML editor makes changes to the HTML as entered.
    Is there a way to prevent this?
    Regards
    Harry

    Hi
    The changing of relative to absolute is the one that bothers me. I think it also added line breaks, which caused problems with gaps appearing between images.
    The other one I remember is adding <tbody> tags to a table.
    I would prefer it if one could prevent the editor from making any changes in the HTML whatsoever. As an option maybe.
    Is it possible to create a simple HTML item as a shared component that one could drop into any page?
    Regards
    Harry
    What changes are you seeing?
    I know that the editor converts relative links to absolute links (a bug has been logged for this and the issue is mentioned in the release notes).

  • Problem with multiline text item return on query

    Hi there, I am a beginner in ORACLE, here when i write a query i engaged a weird problem,
    LOOP
    FETCH CSR_ODR2 INTO :ORDER_RECORD.OREDER_RECORD_NO,:ORDER_RECORD.BILL_NO,:ORDER_RECORD.ACTUALO_WEIGHT,:ORDER_RECORD.OPERATION,:ORDER_RECORD.PLACE,:ORDER_RECORD.TRANSACTION_DATE,:ORDER_RECORD.ORDER_NO;
    EXIT WHEN CSR_ODR2%NOTFOUND;
    END LOOP;
    this is the cursor version, I also tried SELECT statement, but have trouble about return more than 1 row.
    :Order_Record is a detailed-form with multiline text items,while execute this cursor, it always rewrite the 1st line and wont go to 2nd line, I wanna get some help about how to display different records in different line in a text item.
    btw, i tried next_record,next_item,next_field, but none of them works, the query is based on the record i filled on the master form, and show related record in detailed-form
    Kyle
    Edited by: user12234866 on 13-Jun-2010 00:32

    DECLARE
    CURSOR CSR_ORDER IS
    SELECT T.ORDER_DATE,T.WEIGHT,T.CUSTOMER,T.DRIVER_NO,T.INVOICE_NO,T.LICENSE_NR_TRUCK,T.PRODUCT,T.PRICE_PER_TON,T.TRAILER_NO
    FROM TRANSPORT_ORDER T
    WHERE T.ORDER_NO=:TRANSPORT_ORDER.ORDER_NO;
    BEGIN
    OPEN CSR_ORDER;
    LOOP
    FETCH CSR_ORDER INTO :TRANSPORT_ORDER.ORDER_DATE,:TRANSPORT_ORDER.WEIGHT,:TRANSPORT_ORDER.CUSTOMER,:TRANSPORT_ORDER.DRIVER_NO,:TRANSPORT_ORDER.INVOICE_NO,:TRANSPORT_ORDER.LICENSE_NR_TRUCK,:TRANSPORT_ORDER.PRODUCT,:TRANSPORT_ORDER.PRICE_PER_TON,:TRANSPORT_ORDER.TRAILER_NO;
    EXIT WHEN CSR_ORDER%NOTFOUND;
    END LOOP;
    END;
    DECLARE
    CURSOR CSR_ODR2 IS
    SELECT O.OREDER_RECORD_NO,O.BILL_NO,O.ACTUALO_WEIGHT,O.OPERATION,O.PLACE,O.TRANSACTION_DATE,O.ORDER_NO
    FROM ORDER_RECORD O
    WHERE O.ORDER_NO=:TRANSPORT_ORDER.ORDER_NO
    ORDER BY OREDER_RECORD_NO asc;
    BEGIN
    OPEN CSR_ODR2;
    GO_BLOCK(':ORDER_RECORD');
    LOOP
    FETCH CSR_ODR2 INTO :ORDER_RECORD.OREDER_RECORD_NO,:ORDER_RECORD.BILL_NO,:ORDER_RECORD.ACTUALO_WEIGHT,:ORDER_RECORD.OPERATION,:ORDER_RECORD.PLACE,:ORDER_RECORD.TRANSACTION_DATE,:ORDER_RECORD.ORDER_NO;
    EXIT WHEN CSR_ODR2%NOTFOUND;
    END LOOP;
    END;
    thats the stuff i wrote here to execute

  • Problems with IE and text item

    Hi,
    I have a problem with IE (v6.0) when I add an text item to a region. IE puts 2 records with the same content into the DB (table wwv_text), Mozilla only 1.
    The Problem is, if I change the text of the item with IE, Mozilla, doesn't show the changes made, due to the fact, IE only changes one of the two records and Mozilla reads exactly the other one.
    But if I add a text item with Mozilla, only one record is stored in the DB.
    Is this a portal or IE bug?
    PS: I have disabled version control on the entire page group.

    hi dorian,
    is it possible that you add an item in a different language if you are using internet explorer. in this case 2 records are created. one for the base language and one for the translation. this also explains that you do not see the edited version of the item in the other browser - in case you are using a different language.
    a good technote related to this topic:
    http://www.oracle.com/technology/products/ias/portal/html/cm_main_10g_translation_tech_note.html
    just an idea...
    regards,
    christian

Maybe you are looking for

  • Logical operations on binary columns

    We need to store approx 200 bitfields so we thought we'd use a binary datatype. We can set the bit fields easily using     set bitfield = bitfield  | 1     set bitfield = bitfield  | 2     set bitfield = bitfield  | 4 However we don't want to hard-co

  • 14 weeks to get a phone line installed - £10 compe...

    I moved house on 28/07 and after a huge amount of problems with Orange and after managing to cancel my account with them I ordered BT Broadband and Evening & Weekend Calls on 07/08/12. I get 3 emails confirming my order, thanking me for choosing pape

  • Building Small Network with Interconnected 2960Xs - No Connectivity

    I am trying to create a network with a client connected to a 2960X, which connects to a second 2960X switch, which connects to a server. I have setup the switch connected to the client with an IP address of 10.0.1.1 for its vlan1. The second switch h

  • License of Database Mobile server

    Hi all Can any one of you give me the information about the license fee for oracle database mobile server. How is Oracle database mobile server different from SQLite-sync?? Thanks in advance Regards

  • Apple Script/Program start through link on HTML page

    Dear Apple Gurus Probably I'm asking something silly, but I don't know any other way to solve my problem. I have to do some training videos about the finder and system tools. To have it easy, I would like to ad some buttons to the project where you c