How to hide objects in subsequent floating forms

Hello

I have a subform that has a button 'Add '.  When the user clicks the Add button, a new subform is added.  I, however, don't want to show this button 'Add' in the later forms.  I want to show in the 1st form only.  In addition, the user can add only max 3 forms.  So, as the formula numbers 3 sections, I want to disable/hide the button 'Add '.

Is it possible to do?  Could someone show me how?

Thanks in advance for your help.

Hello

For the first part, the easiest would be to take the button on the repeating subform. Perhaps place it just above the subform. Then, it won't appear in other cases. You can include a script in the initialize event, but this would not be the preferred route. SE how you get on with the key out of the subform and if you end up needing the script return to us.

To disable the button, you will need to script in the layout event: loan from the button. This is not the most effective, because the layout event: loan fires so often (see here http://assure.ly/nB0Bvz). If your form is not too long, could not feel too much of a drop in performance.

So, if your repeating subform is called myRepeatingSubform, which follows in the case of page layout: ready button, you should get close:

if (_myRepeatingSubform.count >= 3) {
     this.presence = "invisible";
}
else {
     this.presence = "visible";
}

Hope that helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • How to hide objects of façade behind other objects on the front panel

    Hello

    To put it simply I want to just hide certain objects behind other front and I need tho change an existing project. But I can't find how to put the one that I wnt forward by hiding all the others. So now, there are some face that should be hidden.

    Is there a menu item or button "move forward / back" as in many other programs?

    Thank you

    Martin

    "Menu button" isn't really the typical expression.  Toolbar button is most appropriate.

    Here's an image I posted in another thread, I've been in yeserday it shows.

  • How to hide objects outside the window of the scene?

    Using Flash Mx 2004. I created a few objects that are outside of my scene and slip into the stadium. The only problem is that they are visible when I publish the flash movie. In other words, I don't want to see them until they are in the stage space. Is there a way to make my objects disappear or be seen only in the stage area and not outside of it?

    Thank you

    Walter,

    Forget it, I thought about it. Works like a charm. Thanks again!

  • How to 'hide' a single stroke behind the other object?

    I'm struggling with something that shouldn't be this difficult!

    I'm planning a logo white T-Shirt only (to go on a dark green T-shirt)

    To simplify, let's say I have two ovals with no fill, just a white line.  A small oval overlapping (sur-haut of) the part of the edge of a larger (oval below).    I have

    Any advice on how to 'hide' the line which is "behind" the top object?

    As follows: http://i.imgur.com/ZghWTMa.jpg  

    Actually, I'm not completely sure yet.

    Response to Steve assumes silkscreen with a single opaque white ink. It will not work if the composite impression not opaque transfers or cut out the vinyl applied, or if you import the work of two-ellipse for combination of other works of art.

    Because you do not know:

    1. draw two circles with a stroke color and fill color (ex: feature black, white fill) on both.
    2. apply the weight of the desired race.
    3 object > path > describe stroke.
    4 pathfinder palette: merge.
    5 white pointer: select both within the regions and remove.
    6. you now have a single compound path; None of the objects that overlap and real 'holes' where you want the substrate to show through. Applies regardless of the fill color (white, etc.) that you need.

    But keep in mind what has already been said: white, unless it is defined as a spot color, does "not print." Think in terms of inks, not in terms of 'color '. In a program like Illustrator, 'white' normally means "no ink". And we must always know what printing method that you design.

    JET

  • How to hide the application programmatically?

    Hello

    How to hide the application by programtically?

    Thank you.

    Just to clarify this point, here's what you need to do to use the lines that I gave you:

    In the fieldChanged for the button method, you must run the lines that I showed you.

    This will put your UiApplication in the background.  The user will be able to bring to the forefront again by pressing the icon or choosing the form of application for the selector of the task.

    The user can in fact do roughly the same thing by pressing menu and selecting ' Application Switch, if it appears in the menu.  And that's roughly the same by pressing the menu key and then selecting another application in the selector of the task.

    If this isn't what you want, then please describe what you want again and why it's different from this.

  • How to hide the keyboard by programming?

    How to hide the software keyboard by programming in my code?

    In your form class:

    getVirtualKeyboard () .setVisibility (VirtualKeyboard.HIDE);

  • How to hide the credit card fields when PayPal is selected in the layout of catalyst fund business

    Who need to learn how to hide the fields of PayPal credit card is selected in the layout of the entry of catalyst business. Some old messages from Adobe (2012) on this subject has not provided clear solutions. Layout options page BC number of registration or the tutorials of customization that I could find. Can you please point me in the direction or there may be a few simple html, css, javascript that would do the trick. Thank you

    The script of BC for this form does by default. If it does not that this code may have removed or you have a form of script errorr there.

  • How to hide a menu if one of the values of it was selected but not others?

    Thanks looking for this forum, I was able to understand how to hide pull down and fields who have no digital information in them. IE, if the user selects. or if the conversion value is zero. The element show or print on the form.  What I can't find, it's how you do it if the values in the pulldowns are text? That is the drop down menu has three options "choose an item", "ITEM 1", "ITEM 2". It is default to "choose an article" and this way, I want to be hidden or the value null, but if the POINT 1 or 2 are selected. Then it shows/prints POINT 1 or 2 POINT in place.

    Thank you for your help on this issue.

    I thought about it

    and must give congratulations to George Johnson because of an answer he gave in 2008 told me the solution.

    http://forums.Adobe.com/message/1152008

    First of all, I assigned a calculated value for each of the text elements.

    So here is my script.

    Get the value of the field

    var v1 = + getField("Description1").value;

    If the value is not equal to 0, then use the value

    If (v1! == 0) {}

    Event.Value = v1;

    } else {}

    If the value is equal 0 empty then the value

    Event.Value = "";

    }

    Post edited by: AXNUCorp, due to a funky and paste

  • 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

  • What is the function to hide all pages in a form?

    Hello

    What function I could use to hide all pages in a form?

    For example: when a user click on a button, I want to hide all the pages of the form.

    Thank you.

    Hello

    This works because the script in parentheses () is re-run until the value of i is 25.

    The loop is built in three parts:

    var i = 1;     He declares the variable i and sets with an initial value of 1

    I have<=25;     this="" is="" a="" test,="" the="" loop="" runs="" until="" i="" is="" greater="" than="">

    i ++ which increase the value of i by 1 every time the loop is executed

    When you put is all together that...

    for (var i=1; i<=25; i++)
    {
         // script in here will run 25 times
    }
    

    If you use a hidden for the number of pages field, you must set this default value at design time (object > range of value). So the for statement would look like this:

    for (var i=1; i<=totalNumberPages.rawValue; i++)
    

    You don't need to change the variable i of all.

    Hope that helps,

    Niall

    Ensure the dynamics

  • How to hide temporarily inactive titles in Page view?

    How to hide a track layout once its regions have finished playing? In the screenshot below, the cursor is at 92 bar, and you can see in the window Arrange regions 'Nina' and 'Daddy' are finished playing. But they are still displayed in Page view. How to hide the display Page once they are done? In Logic 9 disappear automatically...

    several ways to do this... one way is to cut the section is based in the arrange window and use them gaps to show this gap as remnants or hide personnel. You can use regions muted in exactly the same way, if you choose...

    Below shows the two staves to measure 13...  They were cut out of the arrange window and I can have them appear in the staff or not based on the box fill up the gaps.

  • How to hide the names of the recipients when I send an email to many people?

    I'll send a message to a lot of people I know, and I think that some of them would rather not showing e-mail addresses. How to hide the?

    You use the BCC (blind carbon copy) field instead of the CC field to prevent one of the most complete list.

    Probably there is a button on the edit page to reveal this field.

  • How to hide the images used in imovie 10.1.2?

    I am a new user of iMovie and use the latest version. How to hide the photos that I already added to the film? Moreover, that mean the purple and orange lines on the photos? Thank you!

    You can not hide, but the orange lines at the bottom of the clips in the media pane show what parts of clips have been used in the scenario, if you can easily avoid reuse them if that's what you want to do.  The purple lines at the top of some parts of some clips show moved excessive (which cannot be stabilized).

    Geoff.

  • How to hide the menu item 'bookmarks '?

    Firefox 5.0.1
    At the menu bar: 'File', 'Edit', 'View', 'History', "Bookmarks", etc.
    How to hide the element of "bookmarks"?
    I have the add-on PLAINOLDFAVORITES installed and
    I forgot how with v3.6.18.

    Thank you very much

    Click the Firefox button and click on Add-ons -> Add-ons Manager, tab opens-> go to Control Panel Extensions-> select your add-on "Favorite PlainOld" , click Options

    Check and tell if its working.

  • How do hide you text on video?

    How do hide you text on video?

    In Final Cut Express, she uses a technique called Alpha matte, but I can't find anything like it in Final Cut Pro X (10.2.3).  Can anyone help with this?

    VVideo Inspector. Compositing. Blending mode. Stencil or alpha silhouette.

Maybe you are looking for