Current Position:Home > Hiding A Specific Textbox

Hiding A Specific Textbox

Update:11-30Source: network consolidation
Advertisement
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!

The Best Answer

Advertisement
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;
  • Hiding A Specific Textbox Update:11-30

    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 ne

  • Hiding a specific HD from the desktop Update:11-30

    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 hidd

  • Permanently Hiding a specific File Extension in Finder Update:11-30

    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, -temhawkIt doesn't seem to be possible. I will have t

  • Hiding one specific column element in specific row  of a report table Update:11-30

    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····

  • PROBLEM ABOUT HIDING SPECIFIC KIND OF POSITIONS TC ME23N Update:10-11

    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 spa

  • TextBox - text alignment Update:11-30

    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 cartridge

  • Javascript Text Alignment in TextBox Update:11-30

    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 th

  • How do I select the entire text when the focus is moved to one TextBox? Update:10-11

    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

  • Cursor in a specific text box Update:11-30

    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 thi

  • HELP! Just upgraded to latest iTunes and some Preferences are missing??? Update:11-30

    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 re