Hiding and UnHiding using Search Condition

HI All,
     I want to be able to hide all pages of the pdf document but keep my first page always visible. This page would have a one button. The user click on the button one javascript popup should come. In this popup i will be having some list(select) boxes, once i select some values and click on 'ok' button in popup window. It should do u filter on rest of all pages which are hidden and the pages which are satisfied the filter condition those pages should be visible. Is this possible? If possible please suggest me how can be do this.
Thanks in advance,
Prasad Sagala
[email protected]

Hi,
Yes, I used AcroDialog from Windjack Solutions. They have a 15 day trial of the AcroDialog software.
If you look at the click event of the button on the master page you will see the script from AcroDialog. This is specific to this dialogue window. Now if you scroll down to the very end you will see the script controlling the presence of the pages depending on which choice the user made in the dialogue window:
JSADMDlg1.strpop1 = "";
if("ok" == JSADMDlg1.DoDialog())
if (JSADMDlg1.strpop1 == "Page 1")
page1.presence = "visible";
page2.presence = "hidden";
page3.presence = "hidden";
xfa.host.currentPage = 1;
else if (JSADMDlg1.strpop1 == "Page 2")
page1.presence = "hidden";
page2.presence = "visible";
page3.presence = "hidden";
xfa.host.currentPage = 1;
else if (JSADMDlg1.strpop1 == "Page 3")
page1.presence = "hidden";
page2.presence = "hidden";
page3.presence = "visible";
xfa.host.currentPage = 1;
//console.println("pop1:" + JSADMDlg1.strpop1);
Using AcroDialog, you can develop your own dialogue window with how ever many choice you need and then script to change the form based on those choices.
In relation to the button on each page to bring you back to the start, a standard button on the second master page (Page2) with the following javascript in the click event will bring you back to the first page (page numbers are zero based):
xfa.host.currentPage = 0;
I hope that helps,
Niall

Similar Messages

  • Hiding and unhiding of Abap code

    hi friends
    can u please help me in hiding and unhiding of abap code(both hiding and unhiding are required)
    Regards
    Hemanth

    Hi,
    Please check this thread for hiding abap code....
    http://www.sap-img.com/abap/program-to-hide-abap-source-code-and-protects-it.htm
    Regards
    Guru

  • ITunes Store: Hiding and unhiding purchases

    I found a link to hide purchases in iCloud ( iTunes Store: Hiding and unhiding purchases).
    It says to "Click Purchased from the Quick Links section on the right side of the iTunes Store". However, I don't see the Quick Links section. Any ideas?

    Click on iTunes Store.  You will find it either on the left sidebar if you have that visible, or on the top right corner of iTunes if the sidebar is not visible.  You will then see Purchased under Quick Links as shown below:

  • Hiding and Unhiding an application GUI

    Hello,
    Is there any way to hide and unhide an application gui using KeyListener?
    We have an application that we can start up in "quiet" mode (ie not show the gui) and we would like to be able at some time to press a certain key combination (something like ctrl-s) and have the GUI display itself.
    I guess the first question is whether or not something like this is possible.
    We have a main line that instantiates the Gui class. So the GUI is not a part of the main class. ie in our main we have something like :
    import gui;
    class mainClass {
    public void main(String[] args) {
    boolean quietMode = false;;
    for (int i; i<args.length; i++) {
    if (args.equals("-q") {
    quietMode = true;
    Gui theGui = new GUI();
    theGui.pack();
    if (!quietmode) {
    theGui.setvisible(true);
    ... etc etc
    How would one attach a KeyAdapter or KeyListener, ensure the focus and enable the ctrl-s display gui functionality. Is this at all possible?
    We are running on Linux Red Hat 7.2 using JDK1.3.1_01.
    Thanks for any answers you may be able to provide.

    Sorry to say it is not possible because your listeners are registered in your app not your os
    I guess you have to use jni or something to access your os to read key/mouse inputs

  • FF4 freezes when loading default homepage, Google and when using search engines

    Whenever I open FF4, it will freeze/hang when loading the default homepage, Google.
    Same with the problem on other search engines, Yahoo!, MSN, Bing, etc.
    Search engines main problem.

    Do you have the McAfee Site Advisor installed? If so, remove it from your PC and try using any search engine with FF. Removing the Site Advisor worked for me, seems like FF 4 b10 isn't compatible with the Site Advisor.

  • Hiding and unhiding pictures (z10)

    Was trying to find how to hide and unhide pictures for the new z10.  The old ones i know could go through media manager/explorer, but can't figure out how with the new phone.   Any help would be appreciated.

    This a simple video I've found on how to do it and it works hope this helps you guys . http://m.youtube.com/#/watch?feature=em-upload_owner&v=etvP_C7Hpz4&desktop_uri=%2Fwatch%3Fv%3DetvP_C...

  • Hiding and Unhiding Control Objects

    Is there a way to hide/unhide a dropdown listbox based off the selection of another dropdown listbox?  For example, I have a timeframe dropdownlistbox that contains the values Yearly, Quarterly, Monthly.  To the right of the timeframe listbox are the Year, Quarter and Month dropdownlist boxes that I want to correspond with the timeframe selection. I have decided that the "To" and "From" Year dropdownlistboxes will always be present. However, in the case of "To" and "From" Quarterly and Monthly dropdowns, I would like them to be hidden until selected from the timeframe listbox. So, if Yearly is selected from the timeframe dropdown the user only sees the Year listboxes, and if Quarterly is selected the user only sees the Year and Quarter listboxes, and when Monthly is selected the user only sees the Year and Month listboxes.  Do you know how or if this can be achieved in WebElements without having to click a submit button?

    currently there's no way to hide controls based on on-click actions. however, you may wish to consider using the cascading controls wherein depending what the end user chooses for your first control, e.g. Year, the 2nd control shows values which correspond to the selection, e.g. year values. so the same control is used for the 2nd choice, just the values change up in that control. for quarterly or monthly values, the quarter or month is appended with the year in the same control. it's a bit more work.

  • Hiding and unhiding unused sections of a form

    I know I ran across something about this last week but am unable to find it.  I have a multi part form with sub forms.  Within these subforms, we have the option to add and remove lines within the tables, and that is working fine.  What I need now is for the form to allow the users the option to hide or unhide the entire section, if it is not pertinent.  A portion of the form is attached.

    Hi Paul,
    this script was very useful to me too, thanks!
    But I need a little more...: how to make the white space disappear after hidding the field so the field below move up? I use the check box to hide a subform. And the next subform doesn't move after clicking. What should I write after this:
    if (this.rawValue == 1) {Subform1.presence ="hidden" }
    else { Subform1.presence ="" }
    Thanks!

  • How to Split the string using Substr and instr using loop condition

    Hi every body,
    I have below requirement.
    I need to split the string and append with single quotes('') followed by , (comma) and reassign entire values into another variable. so that i can use it where clause of update statement
    for example I am reciveing value as follows
    ALN varchar2(2000):=(12ERE-3MT-4Y,4IT-5O-SD,OP-K5-456,P04-SFS9-098,90P-SSF-334,3434-KJ4-O28,AS3-SFS0-J33,989-3KL-3434);
    Note: In the above variable i see 8 transactions, where as in real scenario i donot how many transaction i may recive.
    after modification i need above transactions should in below format
    ALTR Varchar2(2000):=('12ERE-3MT-4Y','4IT-5O-SD','OP-K5-456','P04-SFS9-098','90P-SSF-334','3434-KJ4-O28','AS3-SFS0-J33','989-3KL-3434');
    kindly help how to use substr and instr in normal loop or for loop or while loop while modifying the above transactions.
    Please help me to sort out this issue.
    Many Thanks.
    Edited by: user627525 on Dec 15, 2011 11:49 AM

    Try this - may not be the best way but...:
    create or replace type myTableType as table of varchar2(255)
    declare
    v_array mytabletype;
    v_new_str varchar2(4000);
    function str2tbl
             (p_str   in varchar2,
              p_delim in varchar2 default '.')
             return      myTableType
        as
            l_str        long default p_str || p_delim;
             l_n        number;
             l_data     myTableType := myTabletype();
        begin
            loop
                l_n := instr( l_str, p_delim );
                exit when (nvl(l_n,0) = 0);
                l_data.extend;
                l_data( l_data.count ) := ltrim(rtrim(substr(l_str,1,l_n-1)));
                l_str := substr( l_str, l_n+length(p_delim) );
            end loop;
            return l_data;
       end;
    begin
      v_array := str2tbl ('12ERE-3MT-4Y,4IT-5O-SD,OP-K5-456,P04-SFS9-098,90P-SSF-334,3434-KJ4-O28,AS3-SFS0-J33,989-3KL-3434', ',');
          FOR i IN 1 .. v_array.COUNT LOOP
             v_new_str := v_new_str || ''''||v_array(i)||'''' || ',';
          END LOOP;
       dbms_output.put_line(RTRIM(v_new_str, ','));
    end;  
    OUTPUT:
    =======
    '12ERE-3MT-4Y','4IT-5O-SD','OP-K5-456','P04-SFS9-098','90P-SSF-334','3434-KJ4-O28','AS3-SFS0-J33','989-3KL-3434'HTH
    Edited by: user130038 on Dec 15, 2011 12:11 PM

  • Hiding and Unhiding Fields On The Selection Screen

    Hi Guys/Dolls
    I've managed to grey out and hide some fields on a selection screen within the AT SELECTION-SCREEN OUTPUT section but don't know how to re-instate them.
    basically on initial entry of the screen some fields are hidden but once I enter some pre-requisite data I need to display them but in a greyed out manner.
    I've done the first bit but don't know how to do the 2nd bit i.e re-display the fields.
    Any help would be appreciated.
    Many thanks in advance.
    Raj
    My code is as follows:-
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS: begcalsh LIKE t549q-begda MODIF ID pe4.
    SELECTION-SCREEN COMMENT (1) text-199 FOR FIELD endcalsh
    MODIF ID pe4.
    PARAMETERS: endcalsh LIKE t549q-endda MODIF ID pe4.
    SELECTION-SCREEN POSITION POS_HIGH.
    PARAMETERS: begrefsh LIKE t549q-begda MODIF ID pe5.
    SELECTION-SCREEN COMMENT (1) text-199 FOR FIELD endrefsh
    MODIF ID pe5.
    PARAMETERS: endrefsh LIKE t549q-endda MODIF ID pe5.
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
    * Grey out the parameters.
      PERFORM params_grey_in_out USING 'false' 'PE4'.
      PERFORM params_grey_in_out USING 'false' 'PE5'.
    * Hide the parameters.
      PERFORM params_show_hide USING 'false' 'PE4'.
      PERFORM params_show_hide USING 'false' 'PE5'.
    AT SELECTION-SCREEN.
      PERFORM params_show_hide USING 'true' 'PE4'.
      PERFORM params_show_hide USING 'true' 'PE5'.
    *&      Form  params_grey_in_out
    FORM params_grey_in_out USING value(iv_triggering_param)
                                     value(iv_screen_group).
    *this form activates fields with MODIF ID = IV_SCREEN_GROUP
    *if IV_TRIGGERING_PARAM eq TRUE and greys them out otherwise.
      DATA lx_input LIKE screen-input.
      IF iv_triggering_param EQ 'true'.
        lx_input = 1.
      ELSE.
        lx_input = 0.
      ENDIF.
      LOOP AT SCREEN.
        IF screen-group1 EQ iv_screen_group.
          screen-input = lx_input.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " params_grey_in_out
    *&      Form  params_show_hide
    FORM params_show_hide USING value(iv_triggering_param)
                                     value(iv_screen_group).
    *this form displays fields with MODIF ID = IV_SCREEN_GROUP
    *if IV_TRIGGERING_PARAM eq TRUE and hides them otherwise.
      DATA lx_active LIKE screen-active. "(1) type n.
      DATA lx_invisible LIKE screen-active. "(1) type n.
      IF iv_triggering_param EQ 'true'.
        lx_active = 1.
        lx_invisible = 0.
      ELSE.
        lx_active = 0.
        lx_invisible = 1.
      ENDIF.
      LOOP AT SCREEN.
        IF screen-group1 EQ iv_screen_group.
          screen-invisible = lx_invisible.
          screen-active = lx_active.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " params_show_hide

    hi u use this logic
       LOOP AT SCREEN.
          IF screen-group1 = 'GR3'.
            screen-active = 1.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-group1 = 'GR2'.
            screen-invisible = 0.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.

  • Hiding and unhiding arbitrary nodes in a scene graphs with animations

    Could someone point me out to how could I dissolve (or any other animation effect) an arbitrary node (with its children) in the scene graph when I click in certain label ?. And how could I show them, also with an animation, when the label is clicked again?.
    I am thinking in using a label since hyperlinks have always an annoying rectangle surrounding them. Is it correct to use a label for what I want ? if a hyperlink is better, how could I hide the rectangle that surrounds it by default ? (I think it means that the hyperlink has the focus).
    Thanks!

    The node disolves smootly, but then the space is suddently reclaimed once it has been dissolved. I would like that the node shrinks until it dissappears. For a resizable node (e.g. a layout pane or control)
    Use a Timeline. Adjust the maximum size of the controls to 0 as a KeyValue in a keyframe.
    http://docs.oracle.com/javafx/2/api/javafx/scene/layout/Region.html#maxWidthProperty
    http://docs.oracle.com/javafx/2/api/javafx/scene/layout/Region.html#maxHeightProperty
    http://docs.oracle.com/javafx/2/api/javafx/animation/Timeline.html
    For a non-resizable node (e.g. a Shape or Image), put it in a resizable node first, then adjust as above.
    You might also need to set the min size to zero to allow the node to disappear completely.
    Afterwards, I would like to put it back to its default preferred size when a certain event occurs.Store the current value of the max size before you start to adjust the Node's layout and restore the max size once done.
    Another alternative to the above is to adjust the Node's clip.
    http://saidandem.blogspot.com/2012/01/sliding-in-javafx-its-all-about.html

  • Pa30 to view only a selected infotype and still use search help prem

    Is it possible to use PA30 to have non-hr users see a custom infotype but none of the other standard infotypes?  I would like for the non-hr users to be able to use the Search Help PREM to find records for the custom infotype.
    Is this type of inquiry better served by creating a custom program?

    These type of requirements are served at the security level but instead going into so much complexity, it is a better idea to write a custom report for the requirement.
    Regards,
    Amit
    Reward all helpful replies.

  • Hiding and unhiding

    report scenario: screen 1 --> having radio button  if we click any radio button then it should reflect to 2nd screen
                              screen 2---> having back button and  accorden with sub source data in of radio checked one but in 2nd screen we have to hide radio button
    how to archive this scenario
    please help me..... umma
    thank u

    Hi Prithvi
    Use the Position insertion type for the Radio Button in screen 1 and then write a formula
    B1 ( Radio button destination) 
    If you need to go to the 2nd screen no matter which option/Label in Radio button is clicked, then write a formula in another cell say C1
    C1 = IF(OR(B1=1,B1=2,B1=3),1,0)  (Assuming Radio button has 3 options)
    Set the dynamic visibility of 2nd screen to status=C1 and key=1
    In 2nd screen add a Push button and push say 0 to C1
    Set the dynamic visibility of 1st screen to status=C1 and key=0
    You may have to manipulate the scenario based on your requirement. But you get the generic idea.
    Runali

  • Hiding and unhiding panels problem

    I'm writing a small app and this is my first time using Netbeans IDE. In
    the past I've always done it the old fashioned way, textpad. Anyway, the
    app has two panels on top of each other, called mainPanel and
    adminPanel. I have a menu item for switching to the admin panel. The action
    basically does:
    mainPanel.setVisible(false);
    adminPanel.setVisible(true);
    The mainPanel goes away, but the adminPanel does not come to the front.
    What am I missing or should I be doing it another way?
    Thanks,
    James

    I don't use NetBeans to generate my Swing code, and since you are learning Swing, I suggest that you do the same as I've found from my experience in the forums that it slows down the learning of Swing by months.
    NetBeans is creating an anonymous object as the cardlayout, and this won't work easily since as you know you need access to the cardlayout object to tell it to swap. You have two options:
    1) create a CardLayout object that is accessible to the class, a class field, and then set the base panel's layout to this cardlayout object, or
    2) extract the CardLayout from the base panel when you need it by calling getLayout() on the panel and then casting it to a CardLayout.

  • Hiding and unHiding MovieClips

    I have two images on top of each other and when you click on the smaller image the bigger image shows.
    but how do I get the image to go back to the smaller image when the bigger one is clicked.
    myTend.addEventListener(MouseEvent.CLICK,makeBig);
         function makeBig(event:MouseEvent):void
            if(myWater.alpha ==1)
                myTend.alpha = 1;
                myTendClip.play();
            else if (myTend.alpha == 1)
                myTend.alpha=0;

    If you want one to make the other appear and make itself disappear you should probably be using the visible property instead of the alpha property, especially if they sit one atop the other.  If you use alpha and they sit one atop the other, you are still clicking the one that is on top because alpha doesn't make it go away.
    Then you have to do what you say you want to do, make the clicked one disappear and the other appear...
    myTend.addEventListener(MouseEvent.CLICK,makeBig);
    function makeBig(event:MouseEvent):void
        myWater.visible = true;
        myTend.visible = false;
        myTendClip.play();
    myWater.addEventListener(MouseEvent.CLICK,makeSmall);
    function makeSmall(event:MouseEvent):void
        myWater.visible = false;
        myTend.visible = true;

Maybe you are looking for