Making a "Save As" button on a form

I need to make a "Save As" button on a form created in Designer 8.0.
This will go on a form that will be enabled for Reader 8.0, so user can fill in form, save filled form, and submit via e-mail.
I have tried to figure how to add a regular Button, and add a simple menu functionality like "Save As" but cannot.
I need step-by-step instructions for this, please... and I do not know much about scripting at all.
TIA,
Glenn Cauley

Have a look in the Help (index Script Editor => about). This should give you more insight into how the Script Editor is used.
For this example, you'd just need to select your button, make sure the 'click' event is in the 'Show' drop-down, select 'JavaScript' from the 'Language' drop-down and then paste the script into the script editing field.
Thanks,
Mike
Adobe Systems

Similar Messages

  • Save All button for dynamic form

    Hi All,
    I haven't used coldfusion for a while and I am a little stuck getting my head around a problem I have occured.  I have taken a project over from one of my colleagues so the coding is not my own. See code below....
    <cfif isdefined("btnSubmit")>
         <!--- DO INDIVIDUAL UPDATE CODE HERE --->
    </cfif>
    <cfoutput query="getList">
         <cfform name="fmUpdList99_#applicationid#" action="list99.cfm">
              Clear:       <cfinput type="Radio" name="result" checked="No" value="CLEAR">
              Match:     <cfinput type="Radio" name="result" checked="No" value="MATCH">
              N/A:         <cfinput type="Radio" name="result" checked="No" value="NA">
              <input type="submit" name="btnSubmit" value="Save" />
         </cfform>
    </cfoutput>
    Now this works perfectly if I want to click on a submit button per row and save each row individually.... But what the user wants is the option to have a save all button which loops through each row and does the update code for all rows (rather than individually) depending on what is selected in the radio buttons.
    Sorry if I haven't described my problem to well, its just I haven't used CF for a while now and trying my best to get back into it.
    All apprciate all the help you can give.
    Thanks,
    George

    How would I syntax it to use my variable:  #form["result"&ilist99id]# to use in conjuction with the method StructKeyExists ???
    What did you try, and what were the results?
    Did you have a look @ the docs:
    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7f bb.html
    Did they not make sense?
    This is the key text from the docs:
    Function syntax
    StructKeyExists(structure, "key")
    Parameters
    Parameter Description
    structure
    Name of structure to test
    key
    Key to test
    Usage
    This function can sometimes be used in place of the IsDefined function, when working with the URL and Form scopes, which are structures. The following pieces of code are equivalent:
    cfif IsDefined("Form.JediMaster")>
    <cfif StructKeyExists(Form,"JediMaster")>
    I suspect Ray Camden wrote this part of the docs... ;-)
    So given all that... how would you use structKeyExists()?
    The chief questions are:
    * which part of your variable is the structure?
    * which part of your variable is the key?
    Adam

  • Help with making an Email Submit button on a form!

    Im making a form using livecycle for the first time.
    Im trying to put on it a email submit button - i used email submit field and made the button. Then in the Objects Palette, in the box that says email address i put in the email address that i want it to be sent to. I then tried to email the form, and i received an email, but the attachment was just a bunch of codes, not the form. I want the email to come through with the PDF form.
    I searched on help and this is what i found:
    3.
    In the Control Type area, select Submit. Data will be submitted according to the settings in the Submit tab.
    4.
    Click the Submit tab and type the URL protocol in the Submit to URL box.
    To
    Use this URL protocol
    Example
    Submit the package to an ftp site
    ftp
    ftp://ftp.gnu.org/gnu/GPL
    Submit the package to a web server
    http
    http://myserver/cgi-bin/
    Submit the package to a secure web server
    https
    https://myserver/cgi-bin/
    Submit the package to an email address
    mailto
    mailto:[email protected]
    5.
    Select PDF from the Submit As list.
    I cant find where to change these options - can someone help?
    Thanks!

    Hi,
    The issue is that if the form is not Reader Enabled, then users with Reader cannot submit the form as a PDF.
    They can submit it as an XML file and then you would re-import this back into the form on receipt. It is an extra step, but it does have the advantage that the data being submitted as an XML file is very small.
    If you really need/want the form to be submitted as a PDF AND your users have Reader, then the form will have to be Reader Enabled.
    There are two options:
    Reader Enable using Acrobat Standard (version 9) or Acrobat Professional (version 8). This will give certain rights, like the ability for users with Reader to save the form and for the form to be submitted as a PDF. However there are licensing restrictions, see EULA.
    The other option is to Reader Enable the form using LiveCycle Reader Extensions ES2. This is a server product, which entails additional cost and a cost to Reader Enable each form. It is intended for processing large volumes of forms/large volumes of data.
    There is a summary here:
    http://assure.ly/gYyYc2
    So there are a couple of options.
    Form NOT Reader Enabled:
    Users cannot save the data they input.
    Data must be submitted as an XML file and processed on receipt.
    Form IS Reader Enabled:
    Users can save the data they input.
    Data can be submitted as a PDF (or XML file).
    Hope that helps,
    Niall
    Assure Dynamics

  • How to hide 'SAVE' button in adobe form layout

    Hi  Friends,
    I have a requirement to hide 'SAVE' button in adobe form layout .They dont want to save the form .
    Is there any way to achieve this .I have gone through scn ,but couldnt find the proper solution
    Thanks and Regards,
    Subeesh Kannottil

    Hi Subeesh,
    Are you talking about restricting the User from Saving the Adobe Form Output. 
    Regards,
    Sivanand Ala

  • Add button to PDF Form to save file to specific location

    I have a simple form that is completed daily by various supervisors. I have successfully added a button to the form to email the form which then sends the form to an email group. Now, I'm trying to add a second button to save the form to a network location. I'm looking for this to be a one-click type situation, where the button then saves the form to the specified folder on the network.
    Lets call our form "Form.pdf". I'd like the filename to be "Form - date - time.pdf" where date and time are fields on the form that are completed by the user. The location will always remain the same and will be a UNC path ie \\server\share\filename
    All users are using Acrobat X standard when completing the forms, will be connected to the network and will have permissions to write to the file share.
    This seems like it sohould be easy, but I cant figure out how to do it in Acrobat.
    Thanks in advance for any help.

    It's only possible if you can install a script on the local machine of each
    user. For more info, see this tutorial:
    http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • Created a PDF form on a PC, need save as button to work on Mac

    I have created a lovely fillable PDF form for my boss as a client would like to be able to have a rather large interactive PDF document, and the deciding factor on if we get this work is whether i can get this to work so i'm hoping you lovely people will be able to help me out on this as i haven't been able to find ANY documentation on this thus far. I have created a 1 page PDF as a test subject, which has a few text boxes, some check boxes, radio buttons, a list box and a combo box which all work great. I have also added a "Save As" button to my document (so I have set the buttons actions to Execute a menu item > File > Save As...) which works just fine on my PC. But when this button is pressed on a Mac, nothing happens. (Also my PDF form didn't look quite right on the mac, some of the formatting was off, text boxes and combo boxes were a bit squashed, but i think this is a seperate issue altogether which im sure i can figure out by myself) Now i think i know why this is happening, i believe it's because the button is set to go to "File > Save As" and im guessing the command to save on a Mac is different? or points to a different file location? (I'm not very clued up about Mac's...)
    So my question is this, is there any way to have a Save As button in my PDF document that will allow both PC and Mac users to save the fillable PDF form? (Oh by the way I have made sure that once i created my form I extended the features for reader to make sure that the form was savable once filled in.)
    Also, i know this is a completely seperate question, but if anyone had any answers on this it would be GREAT, When creating a text field in the form and coming out of form editing, the text field is shown as a horrible pale blue colour, which i know is there so that the user can tell that there is a form field there, but this pale blue really does NOT go with the aesthetic of the document. After digging around for a bit, i found out that the pale blue is a highlight colour which can be set in your preferences in reader or acrobat. Is there anyway that i could change this highlight colour for the document so that whomever opens the document on their PC / Mac doesn't have to see that horrible pale blue? Without them manually having to change their preferences in reader?
    Thanks in advance for all of your help,
    Danny.

    Double-check that the file is opened in Adobe Reader on the Mac and not in
    Preview, which is known to have various problems with it comes to forms.
    Regarding the highlight color: You can't either change it, or disable it
    completely.
    app.runtimeHighlight is a boolean that determines whether the form fields
    are highlighted, and app.runtimeHighlightColor is a color object that
    determines which color is used. Notice that these are system-wide
    preferences, so if you change them it will affect other documents as well.

  • How to Disable Save Button in interactive form via sfp

    Dear,experts
    My requirement is that Disable Save Button in interactive form via sfp .Is there any options to do this or write Javascript/Formcalc.Please help!
    Thanks
    Vince.

    I found a adobe documentation that says that If you want to disable some toolbar buttons, you will have to use application-level Javascript. Looks like it is not possible from ADLC
    Place the following Javascript code inside a .js file in
    %ProgramFiles%\Adobe\Reader 9.0\Reader\JavaScripts   to disable the toolbar buttons:
    // [File - Create Adobe PDF Using Acrobat.com], plus toolbar button
    app.hideMenuItem("WebServices:CreatePDF");
    app.hideToolbarButton("Weblink:CreatePDF");
    // [File - Collaborate], plus toolbar button
    app.hideMenuItem("Annots:FileCollaboration");
    app.hideToolbarButton("Annots:CollabToolButton");
    app.hideToolbarButton("CommentTask");
    app.hideToolbarButton("SigTaskButton");
    app.hideToolbarButton("SaveFileAs");
    app.hideToolbarButton("Save");
    Regards
    Sandy

  • SAVE AS BUTTON WITH JAVA SCRIPT FOR MOUSE UP EVENT

    Please any one help with complete code for "SAVE AS" button to auto save the acrobat form in a user specified path
    with unique name or incremental name.Please post only full script for MOUSE UP event.

    Thanks George but i need an example.my actual need is
    i have created a SAVE INVOICE button.i have set the action"Mouse up" to run a Java script.
    Now i need a scriprt for the same.
    If i press that SAVE INVOICE button.the fie should save on "C:\Users\MUNNA\Desktop" automatically
    with unique name and the name should not remain same for next Save.because it overwrites the previous
    file so please post an example pdf with same.

  • Add Subform dynamically,on click of Button, in Interactive form generated by Adobe Document Services

    HI,
    I have an XDP file designed by Adobe Designer 7.1 with the following hierarchy of elements:
    -form1(root)
    --Button
    --tmpForm (subform - Repeat subform for each data entry )
    ---ST (Text)
    Now, this XDP file generates an Interactive PDF form with Reader Rights enabled by the Adobe Document Services.
    On click of button, the following javascript is executed on client side:
    var df = _tmpForm.addInstance(1);
    df.ST.rawValue = "HI" ;
    xfa.host.messageBox( "Instances" + tmpForm.all.length ) ;
    On clicking the button, i get the length of the instances of the subform and the size increases on each click, but no element is added "visibly" to the pdf.
    But when i try to do the same by saving the XDP file as Dynamic PDF form for Acrobat 8.0,and open it using Adobe Acrobat PRO 8.0, it works fine.
    My question is,I s it not possible to add subforms dynamically in PDF's generated by Adobe Document Services with Reader Rights enabled?
    Or, is there something that i am missing?
    Please guide.
    Thanks.
    Regards,
    Siddhartha

    Hi,
    you can't change the behavior of the save button in the browser nor in Reader/Acrobat.
    You can add a custom button within your form which calls a custom script from a folder level script using the browserForDoc method.
    The browseForDoc methos is the only one whcih can change the name in the saveAs dialog.
    Here's an example., you can run from Acrobat console.
    You need to combine it with the solution from the other thread to make it work with your form.
    http://forums.adobe.com/message/2266799#2266799%232266799
    var oRetn = app.browseForDoc({
        bSave: true,
        cFilenameInit: "MyForm.pdf",
        cFSInit: "",
    if (typeof oRetn !== "undefined") {
        this.saveAs({
            cFS: oRetn.cFS,
            cPath: oRetn.cPath,
            bPromptToOverwrite: false

  • How to Save State on an Entry Form prior to Submitting the Form?

    I want to be able to save the values the user enters to fields on the entry form if they navigate away from the page and come back (without the user clicking the submit button for the form.) For example, one of the input fields has a goLink to go to another page to lookup a field value - when the user returns from the page, all other form field values are cleared. If the user does submit the form by clicking the command button, then all form field values are saved (if the user navigates from the page and comes back, all values are retained.) What I'm trying to do then is somehow save the values (passivate the state) for the field the user has filled in when the user navigates from the page without submitting the form. Any suggestions?
    I am using a read-only View Object with all transient values. The VO is configured to passivate state including all transient values. The initial row is created programmatically; there will only be one row for the VO used as an entry form. I am not using a backing bean for the values and would prefer not to use one, but would rather use the VO's capability to passivate state to save the data values. The question then seems to be how to force the VO to passivate state prior to the form being submitted.
    thanks
    Message was edited by:
    javaX

    "My hunch is that the real problem is that the fields are not being set into the bindings due to the use of immediate="true"."
    Yes. Now I see that is the real problem. Is there anyway to force setting the bindings from the input form field values if the user navigates from the page using a goLink, or commandButton with immediate="true" other than overriding the default FacesPageLifecycle classes?
    I'd prefer not to have to do that unless necessary, and, if I over-ride that method, then how could I get it to work normally when the user presses the commandButton at the end of the form and I do want all validation checks to be performed (immediate=false for the form's submit button; immediate=true only for lookup commandButtons used for certain fields)?
    Here's an overview of how I set the page up:
    1. create transient view object; all attributes marked as always updateable; passivate state=true for VO and all transient values; no key id field selected (will only ever be one row - just using VO to save values that will eventually be used to do an insert to the database);
    2. transient VO added to Application Module
    3. Add data control to .jspx page as an ADF Form (not an ADF Creation Form)
    4. Add code to AM to create the initial row for the input form
    protected void prepareSession(Session session) {
    super.prepareSession(session);
    insertTransientViewObjRows();
    private void insertTransientViewObjRows() {
    ViewObject transientvo = getViewObj1();
    transientvo.clearCache();
    transientvo.insertRow(transientvo.createRow());
    --- Entry Form .jspx pagedef.xml snippet ---
    <executables>
    <iterator id="MyIterator" RangeSize="10" Binds="MyView"
    DataControl="AMDataControl"/>
    </executables>
    <bindings>
    <attributeValues id="sponsorid" IterBinding="MyIterator">
    <AttrNames>
    <Item Value="sponsorid"/>
    </AttrNames>
    </attributeValues>
    --- Entry Form .jspx page snippet ---
    <h:form>
    <af:panelForm>
    <af:panelLabelAndMessage label="#{bindings.sponsorid.label}">
    <af:panelGroup layout="horizontal">
    <af:inputText value="#{bindings.sponsorid.inputValue}"/>
    // state will not be saved for other form field values if use immediate="true" when temporarily navigate away from page and return; don't want to validate other form fields here
    <af:commandButton text="Lookup Details"
    action="lookup-page" immediate="true"/>
    </af:panelGroup>
    </af:panelLabelAndMessage>....
    // state will be saved with immediate="false" when user submit forms at end of entry (need to perform validation of form's required fields here)
    <af:commandButton text="Continue to Next Step" immediate="false"
    action="nextpage"/>
    Message was edited by:
    javaX

  • Submit to SAP Button in Adobe Forms

    Hi,
    I have an adobe form and i have embedded it in to a Web-dynpro view.Now i have placed a "submit to sap " button on this form so that when the user clicks on this i save the contents of this form as an attachment.
    My Issue is that the control does not come back to my web-dynpro event handler after this button has been pressed.I have tried re-installing the ACF also but of no use.
    Regards
    Santosh

    Hi Santosh ,
    I do face the same problem. Did you solve your issue?. If so, please suggest me how to do it
    Thanks & regards
    Bala

  • How do I make a button onj the form which will submit and send the pdf as an email?

    how do I make a button on the form which will submit and send the pdf as an email?

    You can set up a button with a "Submit a form" action and use a mailto type URL to specify the email address you want the forms sent do. If you want to send the entire PDF, select that option and not FDF or anything else. The mailto URL should not include any spaces and the "mailto" part should be lowercase, like:
    mailto:[email protected]
    This will attempt to initiate an email using the users default email client. If the user does not have one set up or there is some other problem, the email might not get initiated. If it needs to work with Reader versions prior to 11, then the form needs to be Reader-enabled, which you do in Acrobat 11 by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools

  • Passing Parameters via a button to a form

    I have a form on a page based on a simple table with with the following fields
    Code, Name and Address
    I would like to put a button on this form which will then open a separate page which contains a form based on a different table which has the following fields
    Code, Notes
    When I click on the button I would like it to open the second form in edit mode if a record already exists.
    So I need to pass the value of the code field in form 1 to query in the record in form 2.
    I am very new to Apex and not sure how to do help much appreciated.

    Hi,
    As far as I know the default behavior is that if you pass the primary key to another form the record is opened in 'edit' mode, if you pass other fields than the PK to another form the form is opened in 'add new record' mode and the PK is generated when you save the record.
    So if you can do a lookup of the PK before you go to the second form and call the form with this PK you should be able to edit.
    Not sure if that answered your question though... :)
    Ciao
    Bas

  • Want to hide button in a form if it is in insert mode

    Dear Sir,
    i am just developing some portal database provider forms and reports, i am calling a from
    from one report using , and i just want to hide some button ex: save button in
    the form and display the update button only when i call that form in the query
    mode from the form using 3_d parameter , as both save and update buttons are
    displayed when i call in any mode which i do not want
    scenario :
    1- create a portal db provider report using sql query on some table ex: employees table
    2- include a link in that report to a form created on the same table ex: employees
    with passing of parameter emp_no
    ex: ''||emp_no||''
    3- if the call in the query mode using 3d parameter (&p_arg_names=_emp_no_cond&p_arg_values=%3D) using note 248297.1,
    when clicking on the link in the report on the emp_no the form appears with the
    emp information displayed on the form and both ( save and update ) buttons
    appearing
    all that is working fine
    is it possible to display the update button only without the save button on the form when this call in the query
    mode happens???
    note : i want the save button to be displayed only without the update button if i am running the form in the insert mode ( directly not from
    report call)
    please help ASAP. as it is urgent need
    best regards
    Ahmed Hussein

    Usually, when you use a url like the example below to go to a portal form, the record will be queried up in the form, the Insert (Save) button will be hidden, and only the Update and Reset buttons will be shown. If you follow a url to the form without the "&p_arg_names=_EMPNO_COND&p_arg_values=%3D" in the url, it brings up the form in Insert mode with the Insert (Save), Query, and Reset buttons being shown and the Update button hidden.
    To troubleshoot, double-check the URL in your report to make sure it is passing all the parameters with the correct p_arg_values for moduleid and COLUMNNAME (e.g. EMPNO). Here's an example:
    http://your.portal.com/portal/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=012346789&p_arg_names=COLUMN_NAME&p_arg_values=123&p_arg_names=_COLUMN_NAME_COND&p_arg_values=%3D

  • Two buttons in Adobe Form

    Hello,
    I am using Netweaver 2004s SP10. Does any body know how to incorporate two buttons in a Adobe Interactive Form. I want to insert approve button and reject button with different actions for each button.
    Moreover, How can we remove the toolbar buttons in the adobe form at runtime. since they occupy a major portion of area. How to reomve the print, save, all these buttons.
    Thanks, any help is appreciated.
    Sunita.

    hi Sunita,
    as far as i have seen it...
    we have two types of buttons that are accesible in WebDynpro.
    GOTO interactive form->edit->Library tab->web dynpro tab
    1).Submit to SAP and 2).Check.
    these two buttons and their corresponding events and actions are available in Web Dynpro when the form is available online(ONLINE scenario).
    you can change the text on these buttons to ur requirement like "APPROVE" or "REJECT" in the form editor.
    now these two buttons in the form will just act like buttons in Web Dynpro layout.
    in the properties of the interactive form you can see events for these....
    now you can go to implementation and write as desired code.
    the code for rejecting and approving the form...
    (You must be knowing that the contents of the form are available in the ONLINE scenario in the corresponding CONTEXT attributes of the form for use in dynpro
    ie when online you can modify the contents of the Form by working on dynpro Context attributes like getAttribute(), or setAttribute(). )
    regards,
    -amol gupta

Maybe you are looking for

  • Safari crashes all the time. please help!

    Here's my report: Process: Safari [3432] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 3.2.1 (5525.27.1) Build Info: WebBrowser-55252701~1 Code Type: X86 (Native) Parent Process: launchd [77] Date/Time: 20

  • Net weight of the material is not copying from contract to sales order

    net weight of the material is not copying from contract to sales order? plz help me

  • Ever had a stable G5 with 8 gig of RAM?

    Has anyone ever had a G5 run nice and stable with 8 gig of RAM? I have purchased 16 gig in memory and tried every stick independently and they are all good. BUT put 8 gig in the machine and its unstable. Remove the last two mem slots and stability re

  • How to track keystrokes

    Hi, I would like to know how to create an background application which can track keystroke as we are creating an application which records the ppt slide change time. And this log we are going to use it for another javaFX application. Thank you in adv

  • Invoice receipt date

    *Hi,* *While posting an invoice I get a pop up asking the vendor invoice date before saving the invoice.Please let me know why and where this is coming from?I have an issue with this pop up that the incoming invoice is stuck in 64 status because of t