Hide / show text field

Hi, I created the text box as hiring date: which is the column in the database.
I would like to show the hiring date if the empno exists in the database, otherwise do not show.
How display the date of hiring only when the empno is exists in the database.

Please help fix.

Thank you

Hello

Is this report, tabular, normal form or another region type?
If it is normal, because it's simple game field is conditionally EMPNO element is not null.

And always mention your Apex version

Kind regards
Jari

Tags: Database

Similar Questions

  • Hide/show the fields based on textbox

    I wonder if there is a way to hide certain fields based on the question of if a user enters a value in a text box and then reappear if the value in the text box is removed and the field becomes white.

    I have two scenarios where I would this happen

    1. I have a "Non-registered" check box and a text field 'blood pressure '. If the user check mark the box "Not registered", the field of blood pressure is hidden (I managed this already). If the user unclicks the box, the field of blood pressure again (even once, I did already). Otherwise, if the user enters a value in the 'pressure' I would 'Unregistered' area to disappear. I got this as well with this code: (placed in the form of javascript Action, mouse upward, event)

    this.getField("Not_Recorded").display = event.target.value = "Off"? Display.visible: display.hidden;

    I don't know if it's the appropriate script that I use, but he did not hide the field "unregistered". The problem is, I would 'not registered' to hide if a value is entered in the field of blood pressure and reappear if this value is then removed (i.e., the user changes his mind or made a mistake and wants to not click saved instead). I don't know if it's feasible or just way too complicated for me to do.

    2. in the second scenario, I have 2 text fields where the user must enter a value for weight in pounds or kilograms. There is a text box for a value of lbs and a text box for a value in kg. If the user enters a value for books, I'd like to field for kgs be hidden, but still, if they delete this value so that the lbs field becomes empty, I would field for kgs reappear.

    is this feasible or is there another way I might be able to do this?

    For the first, I would not hide the check box for the reason you give. In addition to hide the text field, it must reset it so that any value that the user may have entered is not retained when it is hidden.

    If you really want to show/hide the check box depending on whether there is an entry in the text field, you can use the validation script customized for the text field:

    var f is getField ("unregistered");.

    If (! event.value) {}

    f.Display = display.visible;

    } else {}

    f.Value = "Off";

    f.Display = display.hidden;

    }

    For this script start working, you change the value in the text field.

    For the second problem, what I do, is to have a single text field and two boxes to tick to indicate lbs or kg. If you want to stay with the configuration you have, you can clear the other text field with a custom validation script:

    Script for weight_lbs custom validate field

    If (event.value) getField("weight_kgs").value = "";

    Do the same for the other text field, but change the domain name in the script. This will allow only one field to be filled at the same time and do not bother with the masking.

  • Hide a text field, unless a certain option is selected in a menu drop-down

    Hello

    I am working on a form and need to hide a text field, unless an option is selected in a drop-down list box. There are nearly 30 options in the dropdown menu, but only to trigger the text field.

    I tried this script on the field of text under "calculate":

    Event.Target.Display = (this.getField("Dropdown1").value == "Other")? display.visible:display.hidden;

    but it doesn't seem to work. I have looked for alternatives, but impossible to find exactly what I'm looking for. Any help is greatly appreciated.

    The first two characters (backslash) make this line of code one comment, so if you remove it should work.

  • Hide/show text when field null and not null

    I discovered how only display a field in a query using Dreamweaver 8, PHP, and MySQL when the value of the field is zero in showing this:
    http://www.Adobe.com/cfusion/webforums/Forum/MessageView.cfm?forumid=12 & catid = 189 & ThreadID = 1005921 & arctab = & highlight_key = y & keyword1 = see the % 20region

    However, how can I put text next to the field data when there are data in the field? Therefore, 1) hide textes_ data when the value in the record field is zero and 2) show text data and when the fields of records is not null.

    I tried to put the text with the echo, but then the text is displayed without the data from the field when the field is null.

    The code I have so far is:
    <? PHP if (! is_null ($row_rsProperties ['US_List_Price'])) {echo $row_rsProperties ['US_List_Price'] ;}? >

    rsProperties is the recordset and US_List_Price is the field

    Thank you!

    dulcey1 wrote:
    > I tried to format the text with the echo, but then the text is displayed
    > without data field when the field is null.
    >
    > The code I have so far is:
    >
    > $row_rsProperties ["US_List_Price"] ;} ?>

    The is_null() function checks a NULL value. I suspect that your
    the fields are empty instead of NULL. Change the code to do this:


    "Text". $row_rsProperties ['US_List_Price'] ;} ?>

    --
    Adobe Community Expert David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Hide/show a field

    I'm puzzled. I created a box, and I "Mouse Up" to show a hidden field. But when I uncheck the box, the field is still visible. I'm very novice and could use some advise. Thank you!

    Using a checkbox to show/hide fields can be done, but don't not using a mouse event like that it will be a permanent change.  Instead, you can use two buttons, one to hide a specific field and the other to show.  Alternatively, you can use a checkbox and script a bit to work.  C1 is the name of my box and text 2 is the area I want to show or hide. I also gave my box an export value of 2 just arbitrarily.  By placing the script in the field calculate Text2, it will determine if the checbox is verified through tests to see if it has a value of 2, it will have only if verified.  If it isn't then the field is hidden if it is not, then field is visible.  It's a start.

  • How to hide/show a field based on the data from more than 1 field?

    Hello.

    I'm trying to hide/show a based on the data of field2 and field3, Field1

    in fact using dynamic measurements I can only hide/show Field1 Field2-based, but I need a combination, for example:

    If field1 = 'A' and field2 = 'B', then see the field3, other hide field3

    y at - it an easy way to do it.

    I use Application Express 4.2.4.00.08

    Thanks in advance

    Dynamic action

    On the changes

    jQuery selector: #P1_ITEM_1, #P1_ITEM_2

    Condition: JavaScript

    $v ('P1_ITEM_1') == 'A' & $v ('P1_ITEM_2') == 'B '.

    Real Action: show item 3

    Action of false: hide item 3

  • Hide/show several fields via the Radio button

    Hi all

    I use the script below on an option button to hide and display a field on a form. I also want to use the same button to control another field named 'instructions for lbl_dynamic' The Acrobat forms book I use as a guide does not address the hiding and showing of several fields at the same time. My attempts to add the second field have failed. How can I change the script to control two fields instead of one?

    Thanks in advance for any ideas on that.

    var lst_dynamicFld = this.getField ("lst_dynamic")

    If (event.target.value == 'Yes') {}

    lst_dynamicFld.hidden = false

    }

    else {}

    lst_dynamicFld.hidden = true

    }

    'hidden' is obsolete, which means that in the next version of

    Acrobat/Reader, your script could no longer works if you use it.

  • Displaying a value hidden with static text in the field "show text".

    Hello
    I've sifted through a lot of search results and could not find an answer, so I hope someone might be able to help.

    I have a hidden value that contains a date that I extracted from my database. I also have a "Show text" field shows that under certain conditions. I want to show the hidden value in my screen as text with another text field.

    For example, if the value of the hidden field is "10/11/09" I want to show a message that says "database was updated on 10/11/09".

    Advice on how to proceed would be appreciated!

    Thank you

    You can change the "Source" to "SQL query" Type and specify a query similar to

    Select "database update on | : The double HIDDENFIELDNAME

    CITY

  • buttons radio and the presence of the text field

    New on LC and JavaScript and tries to show/hide a text field on radio button (outside the Group), select by using the presence property. Two buttons in the exclusion group (I'll call them 1 and 2), by default the text field presence should be hidden (not displayed and not take place on the layout).  I have set the default value for the '2' radio button group and want the text field to display (and have the focus, but I got this little) when the value changes to '1' to the click, then disable and hide again if you click on '2 '.  Any advice would be greatly appreciated.

    Thanks in advance.

    You can use this script to the click event of the exclusion group:

    Form1. #subform [0]. RBL::click - (JavaScript, client)

    If (this.rawValue is '1')
    {
    TextField1.presence = "visible";
    }
    on the other
    {
    TextField1.presence = 'hidden ';
    }

    Who should do it, because rb1 has value 1, and rb2 has a value of 2. RBL is exclusion group.

  • Radio button of the available text fields

    I have Radio buttons affect you yes and no, I want to make sure if yes is selected the three text fields are available and necessary, but if none is selected then three fields are not available.

    Help, please.

    Place the following code in the MouseUp event of two radio buttons. This code assumes that the value of the key to Yes is 'Yes' and text fields named 'text1', 'text2' and 'Text3 '. Change depending on your situation. If the Yes button is not selected, the text fields are hidden and their values are reset. If so, the fields are displayed.

    You really should put the function as a function called in a JavaScript script at the level of the document and call it from events MouseUp, but you should get the idea.

    (function () {}

    An array of names of fields for text fields
    var f_names is ['text1', 'text2', 'Text3'];.
    var i, f, disp, bReset;

    Whether to show or hide fields
    and to restore or not
    If (event.target.value = 'Yes') {}
    DISP = display.visible;
    bReset = false;
    } else {/ / no is selected}
    DISP = display.hidden;
    bReset = true;
    }

    Show/hide the text fields and reset if indicated
    for (i = 0; i< f_names.length;="" i="" +="1)">
    f = getField (f_names [i]);
    f.Display = disp;
    If (bReset) f.value = f.defaultValue;
    }

    })();

  • Question of FACT while hiding the text field

    Hello

    Code written in the way: trying to hide the text field by ticking a box (box is to have fire action)... when the user activates the box to check, capturing fire action and hide the text field...

    Question: but when the action of fire box is drawn, no code executes methods processformdata and processformrequest of my custom controllers but throwing error saying forces de FACTO fields are required and my box is checked, but field text is not hidden.

    If required: here, if DFF fields mandatory error throws then box must be unchecked.


    Note: required fields in FACT have not yet entered. If entered and then clicking on the check box text box will be hidden. the problem is only when de FACTO mandatory fields are not entered and trying to hide the text on the checkbox fields.


    Required resolution: have to skip the mandatory FDF check GOLD fields when a FDF survey error then the box should not be checked (automatically unchecked)


    Thanks in advance...


    Kind regards

    RAM

    Hi AJ,.

    implemented in the other direction...

    Fact FDF mandatory configuration option and run the mandatory audit of de FACTO on the presentation page.

    now it's completely works well...

    Thanks AJ.

    Kind regards

    RAM

  • show or hide text fields based on another text field value

    Hi, I have 3 text fields totals. by default, first text field is visible & other hidden two. what I want to do is if enter all the values in the first text box, other two text fields should automatically visible. Likewise, if I remove the value in the first text box, and then two other fields should automatically hide again. so thanks for giving me a java script for that. also I need javascript for hidden text fields. This script should check the values in the first field work and text (visible or hide). Thanks in advance...

    As the custom field the validation script enter this code (of course, set the names of the other fields as required):

    if (event.value=="") {
        this.getField("Field2").display = display.hidden;
        this.getField("Field3").display = display.hidden;
    } else {
        this.getField("Field2").display = display.visible;
        this.getField("Field3").display = display.visible;
    }
    
  • JavaScript in a text field to show/hide a field calculated

    Thanks for your help. Here's the situation. I created a form with text, number fields (currency) fields and calculated fields. Fields display calculated the monetary symbol (even when there is nothing to calculate) and this is a problem for our users who want to just print the form and fill it out by hand (because the monetary symbols get in the way.). So I wanted to write a script would make it calculated fields hidden unless there is actually something is entered in the first text field (EmpID). That's what I came with (TotalCompensationRow1 is a calculated field.):

    var TotalCompensationRow1Fld = this.getField ("TotalCompensationRow1")

    If {(event.value)
    TotalCompensationRow1Fld. display = display.hidden
    }

    else {}
    TotalCompensationRow1Fld. display = display.visible
    }

    Somehow, I think I make it much more difficult that it should be. Thanks again for your help.

    Another approach would be to change the formatting of the displayed field. When using a percentage or a monetary symbol, can not suppress the display of the "0.00"or "0.00%". " But if one use the number format with no currency symbol, you can remove the display "0.00".

    Validation of currency format:

    var nDec = 2; set the number of decimal places; number & percent;

    var sepStyle = 0; style of thousands separator; number & percent;

    var negStyle = 0; negative style; number only;

    var currStyle =""; always null; number only;

    var strCurrency = ""; currency symbol; number only;

    var strCurrencyCurrency = ' $'; currency symbol; number with the currency symbol;

    var bCurrencyPrepend = false; prefix of currency; number only;

    var bPercentPrepend = false; percentage of prefix; percent only;

    Console.println (Event.value);

    If (event.value == 0 | event.value == "") {}

    Event.Value = "";

    AFNumber_Format (nDec, sepStyle, negStyle, currStyle, strCurrency, bCurrencyPrepend);

    } else {}

    bCurrencyPrepend = true;

    AFNumber_Format (nDec, sepStyle, negStyle, currStyle, strCurrencyCurrency, bCurrencyPrepend);

    }

    Validation of the percentage format:

    nDec var = 1; set the number of decimal places; number & percent;
    var sepStyle = 0; style of thousands separator; number & percent;
    var negStyle = 0; negative style; number only;
    var currStyle =""; always null; number only;
    var strCurrency = ""; currency symbol; number only;

    var strCurrencyCurrency = ' $'; currency symbol / / number with currency symbol;
    var bCurrencyPrepend = false; prefix of currency; number only;
    var bPercentPrepend = false; percentage of prefix; percent only;
    If (event.value == 0 | event.value == "") {}
    Event.Value = "";
    AFNumber_Format (nDec, sepStyle, negStyle, currStyle, strCurrency, bCurrencyPrepend);
    } else {}
    AFPercent_Format (nDec, sepStyle, bPercentPrepend);
    }

  • Show/hide text field

    Hello

    I have the Group of option buttons, five choices, and by choosing No. 5, I want a text field become visible.

    Someone at - it an idea how to make this happen?

    Kirstine

    You will write the code on the change event of the RadioButtonList method (look in the hierarchy) where radio buttons are grouped. The group object will hold the value currently set for the RadioButtonList method. You can test to see if the group is set to 5 while you bring up your field. Make sure that each RadioButton has a unique value when it is turned on. Something like this:

    If (this.rawValue == 5) {}

    FieldName.Presence = "visible".

    } else {}

    FieldName.Presence = 'invisible '.

    }

    Paul

  • Hide/Show/activation/deactivation of a field conditions is adjustable in the source PDF file in Acrobat before downloading/creating a widget?

    Normally, I put all the fields, check boxes and option boxes I need using Acrobat before downloading/creating a Widget, but were never able to determine if/when in acrobat that you could potentially affect hide/show/toggle conditions.  In this way, if I ever need to make any changes to the PDF source and produce a new widget, I don't have to redo all the settings of the conditions if these fields does not change in any way.

    You can add text fields (or checkbox and radio buttons) and name these fields using the tag text, but without the brackets syntax.

    Document help Cloud | Form creation | eSign services

Maybe you are looking for

  • Fingerprint reader not working not

    HI, I just recently to upgread my laptop operating system from windows 7 to Windows 8. Everything works well except for my fingerprint reader, his work not at all. I had downloaded and installed all the drivers from the Web site below, but it still d

  • Problem with the game screen

    Affter upgrade to Windows 7 since vista, all my games not in mode full screen. I mean it's empty on both sides. Not fully occupied. I distressed some games, but others still have problem. Especially fifa 10. Please help me

  • the administrator help

    My grandmother made me a dell windows xp at a yard sale, I did not not administrators or the password, how can I connect like her?

  • Password change email, how to?

    How to change the password by e-mail

  • After the system recovery, works is no longer installed on the computer

    Had to give up the drive to restore my computer. I got work on computer before I dropped in drive, but now I don't have him. Please help as this is an important program that I need to have. Thank you