Floating Button Panel on the form

Hi,
I want to design a FLOATING Panel for the action buttons on the form. So if i scroll form up or down ,The panel should float on different pages but at the bottom of the page.
I am designing above action buttons: Panel so that user sees these functionalities on every page at the bottom where he scrolls.
Please let me know your ideas how do i do it.
Please let me knw if I could explain my requirement clearly.
Regards
Sunil

OK. I have a working example that you can find here:
http://www.fieldeffecttechnologies.com/AdobeForums/FloatingSubform.pdf
Here is the code I put in the docReady event of the Main subform (any object will do):
global.timer = app.setInterval(
"var curView = eval(this.viewState.toSource());"+
"yPos=curView.pageViewY>=0 ? (curView.pageViewY+4)*.655/curView.pageViewZoom:0;"+
"xfa.form.form1.pageSet.Page1.all.item(curView.pageViewPageNum).Buttons.y = yPos+\"pt\";",1000);//Change the refresh rate here (in milliseconds)
Every second the above code determines where the top of the form view is and based on the zoom, it determines the y coordinate for the 'floating' object to move. The .655 constant is what I've determined to be the relationship between the pageViewY's units and point units.
The object that this code is moving is a subform with buttons that is on masterpage Page1.
This particular code keeps the buttons at the top. It would take a little while longer to keep them at the bottom, since you'd really have to account for zoom and the page size. Probably getting the media box quads relative to the application window (haven't looked too far into it).
Also, there is a stop button to stop the timer with the same code in the docClose event of the Main subform:
app.clearInterval(global.timer);
delete global.timer;
Of course the annoying part is having the hourglass appear every once and awhile but unless the event model is updated in future releases to include scrolling, this is how it has to be done.
Hope this helps you and others. I had fun figuring it out.
Kyle

Similar Messages

  • Pressing escape button twice clearing the form

    Hello,
    I am using Jdeveloper 11.1.1.6 and noticed below issue only with IE browser
    - Developed a .jsff page fragment, created a taskflow and dragged taskflow onto the .jspx
    - Launched the form , and entered some attributes, by pressing twice 'Escape' button twice, clears the form
    Does any one have idea why form get's cleared by pressing twice button ? Appreciate your timely response
    Thanks in Advance.

    Thanks for your reply.
    The field values are getting clearing while swapping between the tabs.
    However, when i am hitting the button(first tab) "Get department Info" in the first tab the report is generated with the details..
    when i am going back to second tab and after comming back to the first tab, still i could see the report. i dont want the report to be visible when swapping between any tabs..
    Please help.

  • Dynamic table & More No of buttons addition to the form...

    Hi Friends,
    I have following issues with my form in webdynpro abap.
    1. I have created a main node called ZKPS_TEST and under that I have included three nodes and two attributes.
        the three nodes are as follows:
    TIME_DATA With cardinality 1..1 --> to upload a row
    TIME_SHEET_DATA with cardinality 1..n --> Dynamic Internal table rows
    TIME_COST_DATA with cardinality 1..n --> Dynamic Internal table rows.
    I have created an interface and mapped to the form.
    When I click on Insert Row Button i am getting a dump saying "Number of Elements of the Collection of Node MAIN.1.ZKPS_TEST Violates the Cardinality.". Please guide me how to solve this error.
    2. I have to create three more buttons onto the form as follows:
       a. Save button to save the entered data
       b. Submit button to submit for approval.
       c. Total button to validate the total hrs entered on the form.
       As the submit action is already used for Insert Row button. How can i create these three buttons and where should write code for the same.
    Please do the needful at the earliest.
    Thanks in advance.
    Regards,
    Phani Shankar.K

    HI Phani,
    Try this one...
    In ur form keep two buttons.. ADD and SUBMIT..
    in the *ADD* button's javascript code add the following,
    subformname.tablename.rowname.addInstance(1);
    status.rawValue = "ADD";
    in *SUBMIT* button's javascript code,
    status.rawValue = "SUBMIT";
    then, in ur *onactionsubmit*, add the following with ur code (hope u r following my previously posted code..
    data:  lt_eban type wd_this->elements_table,
              wa_eban like line of lt_table.
    * get single attribute
      lo_el_main->get_attribute(
        exporting
          name =  `STATUS`
        importing
          value = lv_status ).
    call method lo_nd_table->get_static_attributes_table
       importing
         table = lt_table.
    if lv_status = 'ADD'.
       append wa_table to lt_table.
       clear: wa_table.
    call method lo_nd_table->bind_table
       exporting
         new_items = lt_table.
    clear lv_status.
    elseif lv_status = 'SUBMIT'.
    lo_el_table = lo_nd_eban->get_element(  ).
    loop at lt_el_table into lo_el_table.
       lo_el_table->get_static_attributes(
          importing
           static_attributes = ls_table ).
           append ls_table to lt_table.
    endloop.
    endif.
    regards,
    *Surya*

  • How do I make a submit button that sends the form to an email address?

    I can see how to link to an email which then opens up an email someone could attach the form to. But I do not see how to make a button that automatically sends the form to an email address. Can someone provide assistance? Thanks!

    I have the same question. You'd thing this would be a no brainer requirement for a form.

  • How to create a submit by email button that emails the FORM AND DATA

    I have Adobe Acrobat Pro 8.  I've created a fillable form that can be fillable and saved in Adobe reader.  How do I add a submit by email button that will send me the form with the data?  Right now I am only getting the data.  I need the form with the data.
    Thank you in advance, Rob

    When you set up a submit form action, you have the option of choosing the form data (FDF, XFDF, HTML) or the complete PDF. Choose the latter. For this to work with Reader (prior to 11), the document has to be Reader-enabled, which you do by selecting: Advanced > Enable Usage Rights in Adobe Reader

  • Disabling submit button after resetting the form.

    Hi. I'm new to JSF/Richfaces and there's something I'd like to do that I just can't figure out.
    Currently, I have a form with various fields to be edited, and the standard Submit and Reset buttons. The Submit button is disabled until a user changes a value on the form, and then I enable it using an A4J event. My problem is that I would like to disable the submit button again if the user clicks Reset. I'd like this to be completely client-side if possible, which I understand would require some javascript to implement, but I haven't been able to come up with a solution that works. Does anyone know how I could do this (with an example, preferably)?
    It's a pretty simple scenario, but here's the button code anyway:
    <h:commandButton id="submitButton" value="Submit" action="#{dataBean.submitForm}"
      disabled="#{! dataBean.pageEdited}" />
    <h:commandButton value="Reset" type="reset">
      <a4j:support event="onmouseup" reRender="submitButton" />
    </h:commandButton>

    I see, thanks! I looked up another example on using the DOM (I told you I was new!) and created the following javascript function, and it worked perfectly. I like that it automatically re-renders the button too so I don't need an A4J event.
    function disableSubmitOnReset(){
      document.getElementById('main_form:submitButton').disabled = true;
    }Definitely as simple as I figured it would be. :P

  • How to disable a button once submit the form?

    Hi guys,
    I need to disable the button instantly once user submit their registration. Should I implement this using actionListener and ActionEvent? Pls help, Thanks !
    regards,
    kmthien

    Speaking about the client-side, you can use cookies to stop the submission.
    This is a simplest, but not too much intelligent example:
    <script language="javascript">
             function preventDoubleSubmit() {
                  if (document.cookie.indexOf('submitted')> -1)
                       return false;
                     document.cookie="submitted=yes";
    </script>Note, that clicking the Refresh (or Back/Forward buttons) user has no more chance to receive the next page in the normal page flow.
    Probably, the server-side way is more suitable for this situation. Search for 'postBack' on this forum. As I remember, it was a discussion here recently.

  • I filled in a PDF form. When finished, I could not find how to save the completed form. So I took a chance and used the phone's back button. A message popped up saying the form was saved and to go to the cloud to view it. What cloud?

    I tried all I could think of but found nothing. In addition, I checked the phone's memory and found the file with a created date/time only about 15 minutes old. When I opened it, I was at first relieved. The portion showing on the screen was filled in. Then I looked at the other 3 and ¾ pages. All fill spaces are empty! What's up with that? And where do I find the finished form in that illusive cloud?

    Form document will automatically be saved after closing the file. As far as cloud message is concerned, it seems your Mobile link setting has been turned on. When you pressed device back button after filling the form, it was saved to your Acrobat.com account. You can access this document by going to Acrobat.com tab present in left pane. Its a cloud storage area where you can upload/save any document.
    Thanks,
    Adobe Reader Team

  • Sending a email with the form attached but no submit Button

    Hi experts,
    I have designed a form in ABAP using the t-code SFP. i Have a button "accept", in the form.
    Now i am calling this form from an executable program and send it to mail with the form attached.
    I am successfully receiving the mail with the form attach.
    Now my requirement is when i open the attached form and click on ACCEPT button, again a mial shud be triggered with the same form attached but no ACCEPT button shud appear on the form.
    I am able to trigger the mail on click of the ACCEPT button and mail is also sent withj the form attached , but the ACCEPT button still exists.
    I have written the following code on click of the button.
    this.presence = "invisible";
    event.target.submitForm();
    Please some expert help me in solving this problem as soon as possible.
    Thanks and Regards,
    Madhu

    Did you get my point hwta i have mentioned? The steps which I have suggested will solve your problem.
    Please add one dummy attribute (One Char length) to the Form interface.
    In the form add one hidden field - SubmitFlag and bind this to the dummy attribute of the interface. Before submit set this flag to Y.
    On form Load check if Submit Flag is Y or not. if it is then hide the button agin.
    This will work fine for you.
    If after implementing this it will not work, send it to my Id [email protected]
    But first i will suggest to try yourself.
    Cheers
    Satya

  • How do I add a button to an existing form

    I have seen a few questions similar to this, but I am a total novice to customizing SBO.  This is the procedure as I understand it, please tell me if I am correct. 
    I have to have some application running (call it MyApp).  MyApp contains the code to catch the load event for the form I am intersted in, and add the button then let the form load.  Is that correct?  Then what do I need to do to capture the event caused by pressing the new button?  Ultimately, this exercise will add a button to the Activity form and then cause the screen to refresh when the button is pressed.
    I am NOT asking for someone to do this for me, but I see "pieces" of what I think I want to do in the examples and help, I just want to be sure I am heading in the right direction before getting mired down.
    TIA

    Hi Steve,
    For adding your button to a system form, your approach is correct (ie capture the load event of the form your want to customise and add the button using the UI API or by loading via XML). There is an example of customising a system form in the UI API samples from the SDK. There is also an article on how to use XML to load new controls that can be found here:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ebe72e9e-0301-0010-979e-d37dcd714600
    For capturing the event of the user clicking on your new button, what you need to do is trap the Item Pressed event for that form. I also recommend you look at filtering the events that your addon captures. This is good practice as a lack of event filtering can cause significant performance issues.
    Kind Regards,
    Owen

  • How do you Save a pdf form automatically to a designated folder using designated fields in the form?

    Hello,
    I am in the process of creating a “service excellence feedback” form.  The idea of this form is to have a blank form living in our company’s intranet page to be used by multiple departments that receive feedback and then have a chain of updated investigations and follow up to be documented within the same file.              
    The top portion is to be filled out by the department receiving the feedback. It collects all the pertinent data needed including the person giving the feedback’s First and Last name. Once the top portion of the form is filled out I want to have a “submit” button that will do; 
    1. Save the pdf automatically to a designated folder AND automatically save it under the last and first name that is entered in the form. So the form will be saved in the designated folder under “Smith, John.pdf”.  I have already figured out how to format the button to “save as” however I would like to eliminate the person filling the form out to have ANY responsibility to naming and saving the file to the correct folder. 
    2. After it is saved I want it emailed to a specific email address (which I have figured out.)              
    Once the steps above are completed and it is emailed an investigation will be performed by me and I will document my findings and then send it by another “submit” button which will save the document (writing over the previously saved version with this new version) and then emailed on to the next person to provide the next step of follow up. When the next person in line finishes they will hit another “submit” button that will again save the new version and send it back to me.  We continue this back and forth with a few more follow-ups performing the same save and send options.                  
    I need help in how to write a script/java to perform this task of saving. I have already figured out how to program the button to email the form.  Help please!!!  I am using Adobe Acrobat XI Pro

    It can also work if you certify the document and each user chooses to trust it to execute privileged JavaScript, which may be feasible in this setting. The method you'd use is doc.saveAs: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.524.html
    Also, read the following tutorial: http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • I am new to working with pdf.  I am trying to fill out a form that was attached to a web site.  I have a Macbook Pro.  I am just learning Acrobat.  How do I get the form to accept input?

    I am new to working with pdf.  I am trying to fill out a form that was attached to a website.  I have a Macbook Pro and I am trying to learn Acrobat.  How do I get the form to accept my input?

    If there are Acrobat PDF form fields, not jus a space for a form field, then you will have to add them. It would be better to ask the provider of the form to add the fields. If you cannot add the fields, then you can use the add text feature.
    Have you looked in the "Tools" panel for the "Forms" category?
    Try Acrobat Users Community Tutorials , http://acrobatusers.com/tutorials.
    See Adobe TV - Acrobat, http://tv.adobe.com/channel/how-to/acrobat-xi-tutorials/.

  • How to reset particular fields in the Form

    hi there
    i am using a reset button to reset the form, but it resets the whole form including data which is bound with XML.
    i would like to know whether i can reset particular fields in the form excluding the XML bound fields.
    any examples would be appreciated!!
    Thank you for your time

    Check the help at
    Scripting > Scripting Reference > Scripting Methods > resetData

  • Back button to re-edit form..."Current version of data..." error?

    I've noticed a fairly common error that my users are running into. Here is the situation...
    A user navigates to a form...makes modifications...saves the form...and is redirected to another page. Then, the user clicks the browser back button to re-edit the form...saves the form and gets the following error...
    "...Current version of data in database has changed since user initiated update process...."
    I am currently running v2.0...but I was able to also duplicate the issue within v3 (online...Customer Tracker sample application).
    Is there any way to catch the error to display a custom message?
    Or maybe some settings that I am missing to guarantee that when the user clicks the back button, the page is refreshed so it doesn't show the cached version with the old data?
    Or maybe there is another way to approach this?
    Thanks...
    Matt

    Matt,
    This is functioning exactly as it should... Imagine what could happen if it didn't work that way! People would overwrite other's information all the time.
    I think the solution you need is two fold: user training and app modifications.
    I know what you're thinking, user training, hah! But it's going to help as you make more of these kinds of web apps.
    As for app modifications there are two I can think of that may help.
    1. I don't know how the users open the app but if they click on a link then you can have the popup window open without tool bars and such (but they still have the backspace on the keyboard).
    2. Add a button on the page they are redirected to after saving the form. Make the condition of the back button "If item is not null" and put PXX_ITEM_NAME in expression 1.
    Then create the item you just put in expression 1as display as text (saves state). Set the condition to never. Now go to the page with the form, and create a process that sets PXX_ITEM_NAME equal to the value of the item used as the primary key for the form. Make sure the process only fires after an update is made.
    Then when the users get to the page after making a modification they will see a "back" button.
    The last step is to create a branch that will take the user back to the form if they click the button and populates the form item for the primary key.
    Let me know if this is making any sense or not.
    Dan
    Dan

  • Closing mxml container using a button on a PDF form

    i'm working on an adobe air application using flex builder. Inside this application I use the mxml container in flex to open a pdf form that is designed using livecycle Designer 8.2. I have exit buttons on the form that use the following code to close the form:
    var myDoc = event.target;
    myDoc.closeDoc(true);
    This code works just fine when the form is opened in acrobat reader but it doesnt work when it is opened from inside the flex container. Is there any way i can close the form and the container by clicking a button from inside the form.
    Thanks
    Karim Ainine

    Set the button's properties to "Visible but doesn't print"

Maybe you are looking for

  • Open Hub in BW 3.5

    Hello Experts, I need to dump all the data (with all the characteristics) of an infocube onto a table. For this, I am implementing it through an infospoke. I am selecting all the 42 infoobjects which are present in my infocube. However I am getting a

  • How to Create Forms

    I just started using Acrobat 8 Professional. And I have six Social Security forms I need to scan into Acrobat and make them into fillable forms right away. I have read the documenation but I still don't understand how to do what I need. 1. After I fi

  • How to disable remote wipe option for mobile devices

    Hi, I have integrated environment of SCCM 2012 R2 and Windows Intune. I am managing Windows phone, Android and IOS devices through this setup. I was trying find an option to disable remote wipe option in the SCCM Console. Only selective wipe should b

  • Bug(?) with StageOrientationEvent.ORIENTATION_CHANGE in air 3 .1.0.488 for android

    Hello, In my app on a certain view, when the user rotates the device, the layout is dependent on the dimensions of the screen (in pixels). So what I do is listen for the StageOrientationEvent.ORIENTATION_CHANGE event and in the eventhandler I check t

  • I need to reinstall iTunes10 after putting Windows 7 on my pc

    I am going to be doing a clean install of Windows 7 on my Toshiba laptop that presently runs Windows Vista 64 Home Premium OS. I was told by the Windows 7 Upgrade Advisor utility that I need to uninstall and reinstall my iTunes 10 software. Will it k