Hiding A Specific Textbox

Hello,
So, I'm creating a radio button that will have options on the top that change the type of form you're filling out. For example, if you click "Closing Account" then the box "What date will you stop working?" and the text field next to it will be visible. However, if you click "Opening Account", then the previous text box "What day will you stop working?" and the text field next to it will disappear. The problem I'm having is that the text field has an ID, but I don't know how to find the ID of the specific textbox. Here is what I have:
getField('CloseDateField').display = display.hidden;
This works fine for the text field next to the textbox, but how do I select the textbox to make it disappear as well whenever it doesn't have an ID. As in, what field is getField() supposed to select when the textbox doesn't have one? I hope my question makes sense. If it's confusing, please ask how I can clarify. Thanks in advance!

All fields have a name. You can find out what the name of a field is by right clicking on a field, choosing properties, and looking in the General tab.
For example, if a text field's name is "Text1", the script would be:
getField('Text1').display = display.hidden;

Similar Messages

  • Hiding a specific HD from the desktop

    Hi there,
    Is it possible to hide a specific HD from the desktop?

    the only way to do this is to hide it from finder completely, not just from the desktop. (It can remain in the sidebar though). to do that run the following terminal command
    chflags hidden /volumes/"drive name"
    put the drive name in the command. KEEP the quotes. then log out/in and the drive should be hidden from finder and the desktop.
    to reverse the effect change "hidden" to "nohidden" in the command.
    another option is to hide all drives from the desktop and put aliases to the ones you do want there back on the desktop. however all new external drive you attach to the computer will be hidden from the desktop too unless you make aliases for them as well.
    Message was edited by: V.K.

  • Permanently Hiding a specific File Extension in Finder

    Hello peeps,
    is what I'm asking for possible? What I have in mind is having it so that all images (png, jpg, etc.) in the Finder don't show their file extension. Is there a way to do this?
    Thanks, -temhawk

    It doesn't seem to be possible. I will have to hide my extensions manually, although that is easy and quick in most cases.

  • Hiding one specific column element in specific row  of a report table

    Hi Apex People!
    I have a report table showing something like this:
    Make Reservation····Movie·········Time·······Available Seats
    Link·······················Terminator·················>12
    Link·······················Terminator·················4
    Link·······················Terminator·················>12
    Link·······················Terminator·················sold out
    What I want is to hide the first column link when the screening is sold out:
    Make Reservation····Movie·········Time·······Available Seats
    Link·······················Terminator·················>12
    Link·······················Terminator·················4
    Link·······················Terminator·················>12
    ·····························Terminator·················sold out
    How can one do that?
    All I tried so far let me hide all Links, but not the one from the rows, with available_seats =0...
    Thank you
    Johann

    Johann,
    You could use a CASE statement in the select from the report to hide the first column dependent on the value in the Available seets column.
    Or you could grey it out using a style tag.
    Have a look at this link which talks about conditional formatting which is what you are wanting to do
    formating values
    Chris
    Message was edited by:
    tiffer

  • PROBLEM ABOUT HIDING SPECIFIC KIND OF POSITIONS TC ME23N

    HI all:
    I would like to hide automatically the positions of a purchase order when I go to transaction me23n and I try to visualize it.
    The type of positions referred are the next:
    I prefer not to se the positions whose field LOEKZ is different to space.
    What do you recommend me not modifying the standard?.
    Is there any specific user-exit?. I've tried many of them but you have to check the header or the item detail.
    Or is there any badi?
    I've tried looking for some bodies used in the transaction but for example in method:
    IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM . It is used only when you introduce a modification in the table control 1211 of transaction me23n
    Thanks in advance.
    Jose Luis.

    Hi Friend,
    To cater this specific requirement, hiding a specific field whenever some condtion mate is to be handled through enhancement spot
    This kind requirement i got in SD, no Exit or BADI is going to help you, enhancement spot (is behave like exit or BADI provided to enhance standard SAP prorgam without changing that; SAP provided this from 6.0 onwards) is the only way.
    Try to find any enhancement spot in standard SAP program which meets your requirement.
    Regards
    Krishnendu

  • TextBox - text alignment

    Hello,
    How can I align the text in a TextBox (to the right). I couldn't find any attribute and also nothing in CSS.
    thanks!!

    As I said in my question, I cannot use anything specific to Apex, because this procedure is also used in some pl/sql cartridges, and so needs to use pure javascript. I found a workaround..not a very polished way but still works fine. I created a table with 2 columns and 1 row. In the first column I put a textbox containing on the “$” and in the second I put a textbox with the amount value. I’m hiding the “$” sign textbox when there is nothing in the amount box. I made the “$” sign left justified and contents of the amount textbox right justified. I made the textboxes without border, and so the table itself actually looks like it is a textbox! Works for me at the moment.
    Thanks everyone for the pointers.

  • Javascript Text Alignment in TextBox

    I have a textbox item, P1_MY_AMT, which contains amount value in "$9,999,999.55" format. I have a function that takes user input (numbers) and formats it with a dollar sign, and commas and returns the formatted value to the textbox. I'm using the onBlur event to display the value to the user.
    What I need to do is align the "$" to the left side of the textbox (left justified), and the amount to the right of the textbox (right justified). I have to do this strictly using javascript, and cannot use any built-in stuff from Apex, since this function will ultimately be also used in another html based app.
    Any ideas on how I can achieve this?
    Any help is appreciated.

    As I said in my question, I cannot use anything specific to Apex, because this procedure is also used in some pl/sql cartridges, and so needs to use pure javascript. I found a workaround..not a very polished way but still works fine. I created a table with 2 columns and 1 row. In the first column I put a textbox containing on the “$” and in the second I put a textbox with the amount value. I’m hiding the “$” sign textbox when there is nothing in the amount box. I made the “$” sign left justified and contents of the amount textbox right justified. I made the textboxes without border, and so the table itself actually looks like it is a textbox! Works for me at the moment.
    Thanks everyone for the pointers.

  • How do I select the entire text when the focus is moved to one TextBox?

    How do I select the entire text when the focus is moved to one TextBox?
    There are three TextBoxes.  I use <TextBox TabIndex="1"/> to set the order they are selected.  When I enter one specific TextBox, I would like to have the entire text selected ... one key stroke removes all of the text in that TextBox.
    bhs67

    I do it the following way:
    1.  Override the OnStartup for the application.  Use the following code: (VB.NET)
    EventManager.RegisterClassHandler(GetType(TextBox), TextBox.GotFocusEvent, New RoutedEventHandler(AddressOf TextBox_GotFocus))
    2.  In the event handler use this code (again VB.NET)
    Private Sub TextBox_GotFocus(ByVal sender As Object, ByVal e As RoutedEventArgs)
    _theTextBox = CType(sender, TextBox)
    If setFocusTimer IsNot Nothing Then
    RemoveHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    End If
    setFocusTimer = New DispatcherTimer
    setFocusTimer.Interval = TimeSpan.FromMilliseconds(10)
    AddHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    setFocusTimer.Start()
    End Sub
    Private Sub setFocusTimer_Tick(ByVal sender As Object, ByVal e As System.EventArgs)
    setFocusTimer.Stop()
    _theTextBox.SelectAll()
    End Sub
    What this does is register a handler for every textbox in your application.  This will execute when the GotFocus event is raised and will allow you to do whatever (in this case select all) you want.  A great way of handling things at the application
    level.
    Lloyd Sheen

  • Cursor in a specific text box

    Hi,
    I would like to know how to automatically set the cursor in a specific textbox (in the front panel) when my window is loaded.
    I tried with the keybinding control (home for example) so if I type home key it goes there but I want this cursor in this specific textbox without typing anything.
    Thank you in advance.
    Sebastien

    Use the KeyFocus property for the control. Right-click on the control, select Create->Property Node->Key Focus. Change it to write and wire a "True" Boolean constant. Do this at the start of the program.

  • HELP! Just upgraded to latest iTunes and some Preferences are missing???

    Hi folks. First post here.
    I have a Dell Desktop that's provided by my company as my own office computer.
    I don;t have access to updating or downloading programs, as all of that is handled by the corporation from a remote loctaion.
    The other day I requested they upgrade me to the latest version of iTunes, as mine was a couple of years old.
    They did so, and I am now getting used to the new version.
    Here's my problem: some of the functions I had grown acustomed to seem to be missing. If they are included in my version, I sure can't find them nor can figure out where they're hiding!
    Specifically, I cannot find anyway to manually select what format I'd like to import music files into, nor can I choose the parameters on how I'd liek to convert existingt files.
    For instance, I have some large MP3 files (192 KPS), that I need to convert to 128 KPS versions for the purpose of e-mailing them at a smaller size. I cannot change the parameters on this.
    If I hit "Convert to MP3" while on a selected file, it automatically does it at 160 KPS, which I assume is the default.
    In the older version of iTunes, I'd just go to Preferences, tab down to Advanced, and there I'd be offered a chance to select all sorts of options (WAV, AIFF, various compression rates of MP3, etc...).
    Now, although iTunes Help tells me that's still where I'd find those controls, when I go to Preferences and select "Advanced", I get only the most basic functions, none opf which mention Importing or Converting whatsoever.
    They're not visible, but grayed out - they're not even there!
    What am I missing?
    How can I locat these controls?
    I need to have the option of changing the manner in which I import or convert files regularly to fit different needs, and I can't fathom that I'd be able to get much use out of iTunes without that ability.
    If ANYONE out there can help me with this, or has experienced a similar problem, please let me knwo. This is driving me crazy...
    Best,
    Peter

    *I cannot find anyway to manually select what format I'd like to import music files into, nor can I choose the parameters on how I'd liek to convert existingt files.*
    Edit>Preferences>General, click the "Import Settings" button.

  • SRM 7.0 Hide options from application monitor

    All,
    we have a requirement from our client to give a set of users access to the shopping cart monitor in SRM 7.0 which is part of the SRM administrator role. We have achieved this by copying the standard portal role and hiding unwanted iviews/roles etc, and only leaving the application monitor visible. This works fine, however, the client also wants to hide two of the options in the application monitor app itself. Currently users have the following 3 options on the left hand side tree
    Shopping cart monitor
    Business partner change monitor
    Contract distribution
    They only want shopping cart monitor to be available to this specific set of users. I can hide the other two using config, but that change is reflected in the SRM Administrator role as well. Is there any way of hiding these specifically for a set of users?
    I'm a bit new to SRM 7.0 so not very familiar with it yet. I would imagine this can be done using authorizations or a new WD fpm configuration? Any ideas?
    Many thanks
    Dion

    Note 1074659 seems to solve the issue. It's for SRM 600 but works for SRM 7.0 as well.
    [https://service.sap.com/sap/support/notes/1074659|https://service.sap.com/sap/support/notes/1074659]

  • Long, unwieldy Podcast name in iTunes

    Hi there,
    When someone clicks on the "subscribe" button on my site (barrycooper.com) and iTunes opens, the Podcast name is shown as http://www.barrycooper.com/barrycooper.com/Media/rss.xml
    How do you make this something more user-friendly, eg barrycooper.com?
    I've used the Inspector to change the episode/podcast name, but still to no avail. Anybody have any clue what I'm doing wrong? Thanks in advance for your help.

    If you add a podcast page, a specific textbox on the main page is used as the title of a podcast.
    When you delete the textbox, the rss feed has NO title. iTunes will display the URL of the RSS feed.
    With the Darkroom Theme, there is a large textbox at the top that says *Evan's world* and a smaller one that says *Travel Podcast*. In this case *Travel Podcast* will be the title of your podcast.
    With other themes other textboxes will be used as the title. With the Doodle theme the small text *About my podcast* in the side bar is used as the title.
    Your [listen podcasts|http://www.barrycooper.com/barrycooper/listen/listen.html] has no textboxes, only the podcast items.

  • How to get textbox text inside Repeater based on specific row dropdownlist selection using JavaScript

    Hi All,
    I have dropdownlist and textbox controls inside repeater control. Suppose when i select specific dropdownlist i want get the value of selected item and mean while i want to get the textbox text which in the same row.
    <script type="text/javascript">
    var ddlType;
    function ddl(ddl) {
    ddlType = ddl.value;
    alert(ddlType);
    </script>
    <asp:Repeater ID="RepterDetails" runat="server"
    onitemdatabound="RepterDetails_ItemDataBound"
    onitemcommand="RepterDetails_ItemCommand" >
    <ItemTemplate>
    <tr>
    <td>
    <asp:DropDownList ID="ddlTypeName" runat="server" onchange="ddl(this)"></asp:DropDownList>
    </td>
    <td>
    <asp:TextBox ID="txtCode" runat="server" Text='<%#Eval("otaRoomTypeCode") %>' />
    </td>
    </tr>
    </ItemTemplate>
    </asp:Repeater>
    Using the javascript i got the selected dropdownlist selected value, how to get the textbox text which is in the same row.
    Please give me advice and please find the repeater control screenshot.
    Thanking You, Nagendra.

    This forum if for C# issues, please move your post to asp.net forum:  http://forums.asp.net/
    Thanks
    Fouad Roumieh

  • Hiding Options in Context Menu for Specific Roles

    Hi SDN,
    We have navigation iview assigned to some of the users. There appears context menu and the items in it. We need to remove some of the options like copy, move for the specific users.
    How to achieve this specific requirement of hiding few of the items in context menu of KM Folders and files for specific users or roles?
    Thanks in advance
    Regards,
    Ganesh N

    Hello!
    In Portal KM, set Permissions on folders for this users (Group of users) - Read.
    Other way - you can edit Ui Commands of Layoutset - which is used in iView,then create copy of iView (not delta link) and delete commands you don't want to show, then assigne iView to your specific role
    Best regards, Ivan
    Edited by: Ivan Kalahryu on Dec 16, 2008 10:05 AM

  • DPS6: hiding attributes for entries not matching a specific objectclass

    I'd like to be able to hide some attributes, but only for entries not matching a given objectclass.
    DPS 6 allows data hiding rules to apply to a specific subset of entries, but the subset can not
    be defined thanks to a negative filter such like (!(objectclass=MyAuxiliaryObjectClass)).
    If I hide the attributes at the view level, then it takes precedence over any "allow rules", so I don't see how
    I can achieve this.
    Any idea ? support plan ?

    Just to add some more details, I've tried to use a virtual ACI in order to define my filter but there's no "targetfilter" support in DPS, and with different other ACI combinations, it can not work because there's no implicit deny ACI in DPS:
    Even with only "allow dpsaci's" , attributes not specified in those dpsaci's are still allowed by the viewable-attr parameter of the view. Moreover, if I use the viewable-attr/non-viewable-attr view parameters, then the not explicitly allowed/explicitly denied attributes defined at the view level take precedence over the dpsaci's .

Maybe you are looking for