Hide the caption only when the content of the field is empty for an Adobe form field

Hi all

We try to hide only the caption of a field if the content of the field is empty.

(a) the following code allows you to hide all cru (the entire field including the legend). What we should change the code to hide the legend?

-------------------------------------------------------

If (this.) RawValue is nothing)

{

This.Presence = "hidden".

}

-------------------------------------------------------

(b) another option would be to use the conditional formatting-> change of text in the caption to the text color white, if the content of the field is empty to make it invisible on print.

Are there options available ALD or code that must be used to achieve one of the options above?

Thank you in advance!

Kind regards

Roy

Modify the script to:

If (this.) RawValue is nothing)

{

xfa.resolveNode("this.caption.value.#text").value = "";

}

Tags: Adobe LiveCycle

Similar Questions

  • Hide the fields password and the Password Confirmation

    In IOM (9.1.0.2. BP12) I need to hide the password and Confirmation of the password that I managed to do by editing the tjspGenerateCreateUserForm.jsp the fields. Now my problem is that I can't create the user because these fields are mandatory. I added these lines below the JSP, but IOM still complains about the missing fields.


    < div style = "display: none" >
    < input type = "text" name = "value(Users~Password)" value = "12345." readonly = "true" styleClass = "Fields" > "
    < / div >
    < div style = "display: none" >
    < input type = "text" name = "value(Users~ConfirmPassword)" value = "12345." readonly = "true" styleClass = "Fields" > "
    < / div >

    I have commented out or change this part in the FormMetaData.xml file, but that will affect all users, and this requirement is only for some users.

    Any ideas?

    Thank you
    Jani

    You can do one of the following:

    -Write an adapter before insertion that always generates the password, so you don't have to provide anything of the JSP. It works for all users.

    -Do not hide the field password make it readonly and also provides a value with it. This could be done in the same JSP as follows:

    *
    MaxLength = "100" styleClass = "Fields" tabindex = "1" / >

    Thank you
    Sunny

  • Hide the fields in a form

    hide the fields in a form is called what? How can I go to the masking of fields in a form that have a button, the user can click on to make the visible fields to fill?  Thanks, Nick

    The seal is a sample that hides more see the shape of void. The same syntax applies to a field.

    Steve

  • How to hide the field element of text based on true or false cases in the oracle apex

    Hello

    I have a set of text field in the oracle apex:

    1. Order number
    2. Revision number

    When we open the report, the review must be hidden.

    Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.

    If he enters the number of duplicate order, the revision number should be hidden.

    Help, please.

    Hi 2932464,

    2932464 wrote:

    Hello

    I have a set of text field in the oracle apex:

    1. Order number
    2. Revision number

    When we open the report, the review must be hidden.

    Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.

    If he enters the number of duplicate order, the revision number should be hidden.

    Help, please.

    Give you an example of how to do to get there.

    Step 1. Create three elements of the Page

    (1) P1_ORDER_NO - text field

    (2) P1_REVISION_NO - text field

    (3) P1_ENABLE_DISABLE_REVNO - hidden, protected value - no.

    2 create dynamic Actions 3

    (1) disable the revision on the loading of the page number

    Event - loading of the Page

    Action - disable

    Fires when the result of the event is - real

    Selection type - point

    Point - P1_REVISION_NO

    (2) check the number of duplicate order

    Event - change

    Selection type - item (s)

    Article (s) - P1_ORDER_NO

    Condition - is not null

    Action - to execute the PL/SQL Code

    Generate in front of false action - not checked

    Fires when the result of the event is - real

    Fire on page load - disabled

    Stop execution on error - checked

    Wait for the result - verified

    PL/SQL - code

    declare
    l_count number;
    begin
      select count(*) into l_count
        from emp
       where empno = :P1_ORDER_NO;
    
    if l_count > 0 then
      :P1_ENABLE_DISABLE_REVNO := 1;
    else
      :P1_ENABLE_DISABLE_REVNO := 0;
    end if;
    end;
    

    To present the page = P1_ORDER_NO

    Page referred to return = P1_ENABLE_DISABLE_REVNO

    (3) enable and disable the revision number

    Event - change

    Selection type - item (s)

    Article (s) - P1_ENABLE_DISABLE_REVNO

    condition - greater than or equal to

    value - 1

    Action - disable

    Fire on Page Laod - disabled

    Generate the opposite action of false - verified

    Selection type = item (s)

    Article (s) - P1_REVISION_NO

    Hope this helps you,

    Kind regards

    Jitendra

    DER_NO

  • Hide the field to the page output?

    Hello

    Is there a code to hide a field when you leave a page in Acrobat format?

    I have a button that displays a field when the field is clicked it closes. But if the user does not click on it and let the page remains open.  For example, I'm on page 6 document, and click on the button to display the field. Then I moved to page 7 and then I go back to page 6 and it is always open.

    I'm trying to figure out how to close the field when you leave the page if the user does not close it.

    Thank you

    Mark

    Open the Pages panel on the left and right click on the page. Select the Page Properties, Actions, Page Close, and "Run a JavaScript", then enter this code:

    this.getField("Field_Name").display = display.hidden;

  • 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

  • Hide the menu setting not showcased by Adobe Reader

    I defined in the menu document properties to hide, hide toolbar and hide window on initial view orders, but when I open the document in Acrobat or Reader bar menu shows always.

    Thoughts?

    Have you checked the initial view in the document properties?

    You can hide the menu bar when you don't hide the toolbars and window controls.

  • Need to hide, obscure, hide the field entry, but not the field itself

    Hello

    I did it just now and I used the UGLY way. I had the user to enter in their value, and then on the calculation and the field trip, I changed the value of * asterisks. That sucked because I had to save the entry in an additional variable and it just made my code a big mess. I know there is a better way to do it via script format or typo (I hope!), but I can't wrap my head around how things work. Can someone please help me understand?

    I need to take the value typed into a field and simply hide to hide the value of any person who could open the form later.

    Thanks in advance.

    Properties - tab field Options (make sure you check spelling, Multiline, allow the rich text formatting and comb are not checked to activate it).

  • To hide the field of tabular form

    Dears

    I want to hide the tabular form by JScript field in the APEX. can anyone help me in this matter.

    Concerning
    Kamran

    Hello

    Please see API javascript $x_Hide
    http://download.Oracle.com/docs/CD/E14373_01/apirefs.32/e13369/javascript_api.htm#CHDDAGFE

    Kind regards
    Jari

  • Disable / hide the "Historical Record" Option for the end user

    Dear people,

    Is it possible to 'Turn OFF' / 'HIDE' option "Historical Record" form according to the level of responsibility/user/site.

    All form = Help Menu = historical Record (Option)

    Or is there an option to HIDE Menu "help" for all users or user or site level or level of responsibility?

    Thank you.

    Configuration:
    R12: 12.0.4
    DB: 10.2.0.3
    Multi node

    Kind regards
    Taj

    Hi Mohammed,.

    In my view, there is no option of profile to hide the "Historical Record". This can be achieved through CUSTOM.pll (using "SET_MENU_ITEM_PROPERTY").

    See the following document for an example on how to hide from the CUSTOM CODE in the Help menu.

    Note: 1068804.6 - How to hide the "CUSTOM CODE" Option in the menu of the USER GUI
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=1068804.6

    Note: 1005502.6 - HOW to REMOVE THE MENU 'WINDOW' Oracle FORMS MENU CUSTOM?
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=1005502.6

    Note: 744065.1 - Sample Code to customize Applications CUSTOM library
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=744065.1

    Kind regards
    Hussein

  • Error code 1711 - an error occurred when writing information on the installation disk. Check of course make disk space is available during the installation of updates for java, adobe, iTunes

    Original title: Error1711

    Hi all

    I apologize in advance if this question has already been asked. I could not find if it has.

    I got ill of updates on some installation programs, java, adobe, iTunes. When I try to install the update, I get an error saying that there is not enough disk space. This computer is 1 month with a 1Terabyte HD, running Windows 7 x 64. I have 882 GB of free space.

    I feel that it is probably a mistake with the TEMP files, but I am unable to find the location of the file. I ran system restore, CCleaner and disk cleanup all to nothing does not. I don't know why I can't find the C:\Windows\System32\Installer file, but I can't.

    If you can help point me in the right direction, I would be very grateful.

    Thanks in advance,

    Hi GoGreen83,

    As MVP TaurArain mentioned that the problem is related to the Windows Installer, I suggest you try the following steps:

    Step 1: Unregister and then reregister Windows Installer

    1 registration of Windows Installer. To do this, click Start, type run, click Run, type msiexec /Unregister in the Open box, and then click OK.

    2. reregister Windows Installer. To do this, click Start, type run, click Run, type msiexec /regserver/regserver in the Open box, and then click OK.

    Step 2: Auditor of file system (CFS) scan to fix all of the corrupted system files. To do this, follow the steps mentioned in the link below:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Now check if the problem is resolved

    Deleting temporary files

    Disk Cleanup should take care of temporary files, Temp location C:\Windows\Temp

    Click Start > type Temp in the search box and press on enter, clear the contents of the folder

    Similarly, type folder under search and delete temporary files

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to hide the fields keyflex segment by using customizations

    I was hiding key flex fields segments by using customizations, I tried to put A | B and bounced Apache but still does not work, HELP please. I would like to hide 2 segments in four.

    Thank you

    The developer guide: Flexfields - Flexfields keys:

    List of key Flexfield Segment

    You can fill the list property if you want to show some, but not all of the segments in your flexfield. If you leave this property empty, all segments are returned. The syntax is similar to that described for descriptive flexfields, only you use the structure codes to replace context values. The format is:

    structure code1. name of segment1 | name of segment2... | structure code2. name of the segment4 | segment5' name...

    Segments in a certain code of structure are separated by a single pipe "|", while the data of a different structure codes are separated by a double hose, ' | '. The following example lists the segments to a single code of structure:

    Point FWK Flexfield | Reference of the manufacturer. Product family | Product

    -Anand

  • Hide the field of web application in detailed view

    Hello

    Is there a way to hide empty us fields of application in the detailed view. Work on a boat with a certain fields ad site and want to exclude field if the client adds no info.

    http://uGuru-autodealer-au21.BusinessCatalyst.com/boat-listings/43-custom-timber-trawler

    I understand that java can do that, but I'm not fluent with it.

    Thank you

    Hi, Valentino,.

    Just 2 questions to cover:

    S ' ensure you reference jquery

    -Make sure that you change detail available to the respective webapp so that it actually contains the elements table, you are using a list: http://screencasteu.worldsecuresystems.com/AP/2013-12-02_1257.png

    Here's a working example:

    http://screencasteu.worldsecuresystems.com/AP/2013-12-02_1251.swf

    Kind regards

    Alex

  • If then statement - hide the field 0 and counting! Help!

    OK, I try to have the Cap RATE: to do a number of things. On the side of first note, in the Privileged Postion there drop down there has 4 options, 1 fixed, 2 ch, HELOC 1st and 2nd HELOC. I'm figuring the CEILING using the APOR , if the Position of privilege claims fixed 1st or 2nd set only. So that the calculation of the ceiling RATE should read something like this, IF (States ofPrivilège Position : Fixed 1st or 2nd set then ADD (fixed 1 IF add 1.5% IF the 2nd ch ADD 3.5%) rate APOR (users will enter rate APOR).)

    EXAMPLE:

    Position of privilege: 1st set

    APOR: 3.48%

    (because it is the 1st ch)

    + 1.5%

    CAPP RATE = 4.98%

    EXAMPLE 2:

    Position of privilege: 2nd set

    APOR: 3.48%

    (because it is the 2nd ch)

    + 3.5%

    CAPP RATE = 6.98%

    Also, I want the CEILING to be TRANSPARENT or WHITE if there is no rate entered MRPS because it's to RATE FIXED ONLY.

    Capture.JPG

    Any help is greatly appreciated!

    Ok

    This can be done easily with a FormCalc script in the calculate the rate ceiling field event.

    Assuming that the other fields are named LienPostion and MRPS, the script looks like:

    if (LienPosition eq "1st Fixed") then
              APOR + 1.5
    elseif (LienPosition eq "2nd Fixed") then
              APOR + 3.5
    else
              APOR
    endif
    
  • Calculation of fields must hide the fields of $0 and 0% so bad

    Adobe Live Cycle Designer 8.0

    I have my front DIR % calculated by dividing (TotalDebts/TotalIncome * 100) and make it appear as a percentage (either 26 percent OR 31% de.26 ou.31 instead. I need to appear blank if there isn't anything current. Ditto for "DIR" and "Conn % to Inc. I also have another with exactly the same problem, but it calculates an amount of $0. How would these 0 show empty when no calculation is currenlty happening?  I am trying to have them appear as white so if need I could print it on the entry form and hand and do NOT have 0% appear.

    Capture.JPG

    This is the option to view model. Try to put "null {} | zero {} | NUM {zz9 '%'}' as your view model. It should work.

Maybe you are looking for

  • fraudsters GSX

    Hello.. I just want to know how can I know a person or a company who claims they use GSX account from what I see there are scammers as using GSX to scam people.

  • image library

    picture library does not open when I click on it... a box Monte States photo library - ms "is not working anymore..." How can I fix this i have hundreds of photos out there not to mention the songs

  • TL2000 discs double - CF-

    Hello We plan to buy TL2000 FC - LTO5 with double Tape Drives, trying to get it started I noticed there are two FC ports at the rear of the chassis TL2000. Do I have to connect the two FC ports with LC connectors to my SAN switch or will an FC port?

  • Hardware problem? Sounds returns if I tilt the screen to the bottom...

    I have a Dell Inspiron 700 m, bought in Sept 05 and the sound suddenly disappeared a week ago.  As I was closing my laptop to leave on hold (with music is still playing) the sound appeared all of a sudden!  That's when I realized that the sound is tu

  • The traffic is not correctly distributed through each link of etherchannel.

    Dear team, You can all have a clue on below. I have a cisco 3560 and created the port-channel switch and assign the port two to Po1 switch is connected to the HP VC. The question is highly uses a single port and on the other port no traffic is there.