How to hide all the empty fields on a page?

Hello

I want to hide all the empty fields but to exclude tables as it messes up the table. He hides this empty cell with borders and the table does not look right.

My script below works currently it hides all the empty fields on this page.

Is it possible to exclude on the tables?

Thanks to all in advance.

function hideFields (myParentObject) { }

var allChildElements;

var intNumElements;

var currentElement;

var j;

var temp;

//Get the parent all child element nodes

allChildElements = myParentObject.nodes;

//Total number of items in the object

intNumElements = allChildElements.length;

//Loop through all child elements

for(j=0; j< intNumElements; j++){

currentElement = allChildElements.item (j);

//If the element is another subform which we will call the new function recusively

If(allChildElements.item (j) .className = "subform") { }

//if (currentElement.layout = "table") {}

//else{

//}

other If(currentElement.className = 'subformSet') { }

//If the objects are fields, then we'll want to hide their

other If(currentElement.className = 'field') { }

//Check to see if the field is a button - don't count buttons

temp = currentElement.name;

if (temp.substring(0,6) !== "Button"){

If (currentElement.rawValue == "" | "") ( currentElement.rawValue == null) { }

currentElement.presence = 'hidden';

//Check Jugendherberge exclusion - boxes option

other If(currentElement.className = 'exclGroup') { }

/ / hide the exclusion group and not the individual radio buttons

If (currentElement.rawValue = "") { }

currentElement.presence = 'hidden';

{ } / / end of loop for

{ } / / end function

Hello

A table has a class name of the subform, but will have a property of page layout with the value of "table."  If you find one of these, then you sweep that subform.

But you code seems to have commented, that didn't work for you?

Concerning

Bruce

Tags: Adobe LiveCycle

Similar Questions

  • How to hide all the future updates to the Windows Mail Junk e-mail filter?

    Is it possible to automatically hide or ignore all future updates for Windows Mail Junk e-mail filter?

    I don't have, and never plan to use Windows Mail, and I'm not sure that I could never be convinced that I should, someday.

    Therefore, all the updates of Windows for this are very very little, but the update system keeps their important marking - so I have to hide them every time.

    Is there a technique to automatically remove this update until it is important to my system?

    I use Windows Vista Home Basic SP2.

    No, you can not hide all the future updates Windows Mail Junk Email Filter. But here is a workaround:

    1 configure automatic updates for the 'updates but let me choose... '. "setting.

    2. when an update of the Windows Mail Junk e-mail filter is available for your approval, thereafter, hide it.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • How to select all the text fields at a given time in Adobe Reader ms?

    I created a document that contains more than one text field I created with Acrobat Pro DC, I want to allow the user the ability to select all fields in order to change the text size/color and fonts at the same time... not having to go through the entire form and must make each field separately. To be a little more specific, the document is two pages with six place/lounge cards per page, designed for weddings and other events. Each place card has a field for 'user name' and ' number of table: my question is...» Is it possible to 'select all fields' in Adobe Reader? If I go to Edition > select all, the program selects all graphics and none of the text fields. Not exactly what I'm missing here and I can not find my answer online. Any information would be greatly appreciated.

    Thank you!

    Jodi

    In this case, you can only change the properties of the text selected within a field. Acrobat Reader cannot change the properties of the text field.

  • How to fill out the empty fields of a document downloaded from my email?

    I have the filliing problews in the blank spaces where my personal information is required.  It seems that I can read and save the document, do not fill the required spaces.  I need help

    Hi Atiimkwabena,

    I guess you are trying to fill out the PDF using Adobe Reader. (Correct me if I'm wrong)

    If so, this form can not be Reader rights enabled. Adobe Reader is a single PDF reading software is only meant to read and save a blank copy of the PDF. If you want to change something in the PDF file, then the creator has enable user rights (commonly called player to extend rights) so that you can save the completed PDF file. This can be done by Adobe Acrobat.

    I would ask you to kindly contact the author of the PDF file to allow the user rights and send it again.

    I hope this helps.

    Kind regards

    ~ Dominique

  • How to get all the users of the IOM, whose field Manager is not null or empty

    Hello world

    How to get all the users of the IOM, whose field Manager is not null or empty (using java code)

    Thank you

    Published by: user11205212 on January 18, 2010 12:38 AM

    Hey beginner,.

    I come to write this line where he can put his sql query... in the next post I provided the example sql also...

    Concerning
    VM

    Published by: user12280771 on January 18, 2010 22:11

  • How do I scan a document, fill in the empty fields and print the completed document?

    original title: download and information documents.

    My writing becomes very poor due to age.  How do I scan a document, fill in the empty fields and print the completed document?  What other software do I need to do?

    Hi Stuuser,

    I suggest that you use any third party editing program or Microsoft word document to edit any document, and then follow the links below for more information about scanning and printing.

     

    Add or remove a scanner

    http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-remove-a-scanner

    Scan a document or file

    http://Windows.Microsoft.com/en-us/Windows-Vista/scan-a-document-or-file

    Scanning: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/scanning-frequently-asked-questions

    Print a document or file

    http://Windows.Microsoft.com/en-us/Windows-Vista/print-a-document-or-file

    I hope this helps!

    Halima S - Microsoft technical support.

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

  • How to make all the fields on one page read only (for the recipient) without having to make each field read-only?

    How to make all the fields on one page read only (for the recipient) without having to make each field read-only?

    Hello Jmbtexas4,

    By default, you will need to individually click on the fields of the form and check the 'read only' and save it. From now on, it is not possible to select all together and make the changes.

    -Usman

  • How to remove all the pictures imported from my I phone 6

    How to remove all the pictures imported from my I phone 6

    Imported from the place where?

    If they were imported from your computer, you remove the same way that you put on there: by syncing with iTunes. to remove them, you need to synchronize an empty folder, or simply turn off the Photo in the form of synchronization option summary pane when the iPhone is connected.

  • Qosmio G30-126 - how to hide/show the top bar?

    How active hide/show the top bar on the upper side desk, but disappeared how can I return it again?

    You want to have some Flash cards on top of the desktop computer?
    This isn't a problem

    In all programs-> Toshiba-> Utilities-> settings for Flash cards, you can activate this option!

    Check it!

  • How can I prevent the text fields and drop downs changed after the form has been signed using a digital certificate? Thank you.

    Hi all

    How can I prevent the text fields and drop downs changed after the form has been signed using a digital certificate? Thank you.

    There is also a checkbox on the dialog box 'Sign' to lock document after signing.

  • How to hide permanently, the tool group

    How to hide, permanently, the tool Panel


    Hello

    This question for Acrobat Reader DC has already been fixed in the July update, please refer to this note of release hide the tools Panel in Acrobat and Acrobat Reader DC at all times.

    Kind regards

    Nicos

  • How to select all the values populated both of LOV

    Hi all.

    I developed a form containing fields in a table. I join these areas a LOV (which get values in the other table). Now, I have to select a value only once for each record.
    But my question is how to map all the LOV values to these fields at a time. If it is possible what exactly is the way.
    If this is not possible then what is the way to do that.

    Thanks in advance

    Hello!
    Try using this code.
    You will get a lot of messages, but you can discover what column could not be red:

    declare
    l_group recordgroup := find_group ( 'lov27' );
    l_result pls_integer;
    begin
    if
      show_lov --> show the lov and user selected a value
    then
      l_result := populate_group ( l_group );
      clear_record;
      for i in 1..get_group_row_count ( l_group ) loop
        message ( 'reading  personal no' );
        :bill_detail.personal_no := get_group_char_cell ( 'lov27.personal_no', i );
        message ( 'reading  name' );
        :bill_detail.name := get_group_char_cell ( 'lov27.name', i );
        message ( 'reading  desigantion' );
        :bill_detail.designation := get_group_char_cell ( 'lov27.designation', i );
        message ( 'reading  rank' );
        :bill_detail.rank := get_group_char_cell ( 'lov27.rank', i );
        message ( 'reading  basic scale' );
        :bill_detail.basic_scale := get_group_number_cell ( 'lov27.basic_scale', i );
        message ( 'reading  basic pay' );
        :bill_detail.basic_pay := get_group_number_cell ( 'lov27.basic_pay', i );
        message ( 'reading  basic pay' );
        :bill_detail.vendor_no := get_group_number_cell ( 'lov27.vendor_no', i );
        message ( 'reading  branch code' );
        :bill_detail.branch_code := get_group_number_cell ( 'lov27.branch_code', i );
        message ( 'reading  sr no' );
        :bill_detail.sr_no := get_group_number_cell ( 'lov27.sr_no', i );
        create_record;
      end loop;
    first_record;
    end if;
    end;
    
  • How to remove all the photos from my iphone 5?

    How to remove all the photos from my iPhone 5?

    1. Open the Photos app.
    2. Click on the photo or video you want to delete.
    3. Type > delete the Photo.

    Delete several photos

    1. Open the Photos app and press Select.
    2. Click on each photo or video that you want to remove.
    3. Type > delete Photos.

    Delete photos on your iPhone, iPad and iPod touch - Apple Support

  • don't type in the empty fields as search engines or login information

    Hello
    I installed firefox for android, but the problem is that noting happens when I try to type anything in the empty fields.
    for example, in google.com when I tap on edit search to write s.th. to perform a search, the QWERTY keyboard appears, but no letter is threre when I type!
    It also happens when in a forum, I want to enter my login details; new keyboard is displayed but no letter does when I type.
    but in the address bar, I can write without any problem.
    my camera is galaxy notes with android 4.0.4
    Thank you.

    Try turning off "Don't keep the activities" of the Android settings.

    • Press the home button
    • Press the menu key
    • Select settings
    • Scroll down to developer
    • Scroll down to 'Don't keep activities' and uncheck the box
  • How to add all the tabs open as I used to?

    How to add all the tabs open as I used to?

    You can go to bookmark all tabs by right-clicking a tab, or use the hotkey Ctrl + Shift + D

Maybe you are looking for