Dynamic Paypal button for PDF fill-in form

Hi there,
I need help with adding a Paypal button to a PDF fill-in form. The Paypal button should feed through the Invoice Number field (a text field) and the invoice total amount (also a text field) to Paypal and add this to the Paypal cart (not ‘buy now’, but ‘add to cart’ so that more transactions can be added after that)
I found this thread in the Adobe LiveCycle forum that does the same thing: http://forums.adobe.com/thread/339584;jsessionid=54D973B79E04C5B30F8B4BA56D95CE39.node0?ts tart=0
I’ve tried to add this Javascript action to the button in Acrobat but it doesn’t work.
Does anyone know what the correct Javascript should be to make this work in a PDF form?
Help is very much appreciated
Thanks

Since nobody else has answered, I will say that you might try the Acrobat Scripting Forum http://forums.adobe.com/community/acrobat/acrobat_scripting

Similar Messages

  • PayPal Button in Livescycle Fill-in form

    I have created a form in Livecycle Designer that calculates the total amount due after you have made your selections. I need to have that total amount on a PayPal Button. PayPal has their "Buy it Now" button in HTML. Is it possible to do this? Is anyone willing to help me out on this?
    I had no problem designing the form, but I am not good at XML and JavaScript.
    Thanks

    Hi Howard,
    I'm trying to use the code you provide here but I'm stuck on this part:
    // Append the item and amount parts of the url
    url = url + "&item_name=" + name;
    url = url + "&amount=" + cost;
    Here's what I've come up with:
    ----- form1.#subform[0].Header.Button1::initialize: - (JavaScript, both) ---------------------------
    // Get the item name and cost from a field on the page
    var name = form1.page1.TextField1.rawValue;
    var cost = form1.page1.numTotalMaterial.rawValue;
    // Construct the paypal url. Change the email address and currency code as appropriate
    var url = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=[email protected]&cur rency_co//www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=[email protected]&currency_co de=USD"
    // Append the item and amount parts of the url
    url = url + "&item_name=" + name;
    url = url + "&amount=" + cost;
    // Launch the web page. true means "open in a new browser window"
    app.launchURL(url, true);
    What do I have to change in the code lines?
    Thanks for your help
    Tamatoa

  • I am currently having trouble with an attached PDF fill-able form created in Acrobat being non savable in Reader

    Hello, I was wondering if you would be able to help me out?
    I am having trouble with my attached PDF fill-able form, I am creating a form that has a limit of one page so in order for more room in a certain field I have added a Hyperlink to an additional fill-able(secondary) form within the Parent document (primary fill-able form. The secondary form is inserted as an attachment into the Primary form. My problem is when I open this document up in Adobe Reader, the Primary fill-able form is savable but the attached Secondary form for which the hyperlink leads to is non-savable and is a must print only. Is there a way to make the Secondary form savable as well within the same document? or is there another way I could execute what it is I am trying to achieve?
    Trying to save other as extended reader has not worked, also if I save the attachment file as an extended reader first I am unable to attach a return hyperlink back to the Parent document,
    Help would be greatly appreciated please and thank you!

    I can't say for certain without looking at the actual PDF but it does appear that they created one large text box over multiple lines. For a fillable form it may have been smarter to remove the lines and create a box with smaller text that supports multiple lines.
    At any rate, nothing you can do about it with the free Reader (and depending on the security, maybe nothing with Acrobat either.)

  • PDF Fill-in forms with Digital Signatures - LDAP, Roaming ID's

    Hello, my organization is trying to be more "Green" by taking regular PDF documents that use to be printed, filled in by hand, signed and then routed... To a PDF fill-in form that contains a Digital Signature Block. I can easily and successfully create PDF fill-in forms, where Im running into an issue is with the Digital Signatures.
    I can easily create a Digital Signature that is stored on my local computer and sign documents then forward them via email on to the recipient. However, what we would like and have been failing and making happen is to set up a signing server where the signer can fill out the PDF form and then sign the document by pulling their digital signature from a Directory Server, in our case LDAP or Active Directory.
    From the information that I have found on the web I know this can be done without use of expensive third party applications. However, I have not found information on how to do this other then this simple 3 line instruction which did not work for us. - http://help.adobe.com/en_US/Acrobat/8.0w/Professional/help.html?content=WS58a04a822e3e501 02bd615109794195ff-7d96.html
    Any help on this topic would be greatly appreciated.

    Thanks for the reference to the digsig user guide. I've reviewed this documentation and the majority of it I had already tried however one TIP that is in this document that I hadn't seen before points to setting up a FDF file to import AD secure to easily import the ID's
    More specifically, I have configured LDAP and the Security settings in Adobe Pro and when attempting to connect to our LDAP server is when I run into the issue. I am not able to connect. Is there any additional information that you know of that can shed some light on LDAP configuration with Adobe PDF forms for digital id's?

  • I am currently having trouble with an attached PDF fill-able form...Help Please

    Hello, I was wondering if you would be able to help me out?
    I am having trouble with my attached PDF fill-able form, I am creating a form that has a limit of one page so in order for more room in a certain field I have added a Hyperlink to an additional fill-able(secondary) form within the Parent document (primary fill-able form. The secondary form is inserted as an attachment into the Primary form. My problem is when I open this document up in Adobe Reader, the Primary fill-able form is savable but the attached Secondary form for which the hyperlink leads to is non-savable and is a must print only. Is there a way to make the Secondary form savable as well within the same document? or is there another way I could execute what it is I am trying to achieve?
    Help would be greatly appreciated please and thank you!

    Here is the code, thought I had put it in the first time, guess not heh. Anyway, I converted the arrayList(accountList) to a String so that I could see the that element I am trying to index is in there, which it is. I also checked the file that i'm populating the arrayList from and it also has the element in it.
    public static void getAccountNumbers() {
              accountList = LoadStoreAccounts.readCollectionObject();     
              accountInfo = accountList.toString();
              JOptionPane.showMessageDialog(null, accountInfo);
              acctNumIndex = accountList.indexOf(accountNumber);
              acctIndex = String.valueOf(acctNumIndex);
              JOptionPane.showMessageDialog(null, "Index of accountNumber    is: " + acctIndex);

  • Attached secondary PDF fill-able form Non-savable

    I am currently having trouble with an attached PDF fill-able form...Help Please
    Hello, I was wondering if you would be able to help me out?
    I am having trouble with my attached PDF fill-able form, I am creating a form that has a limit of one page so in order for more room in a certain field I have added a Hyperlink to an additional fill-able(secondary) form within the Parent document (primary fill-able form. The secondary form is inserted as an attachment into the Primary form. My problem is when I open this document up in Adobe Reader, the Primary fill-able form is savable but the attached Secondary form for which the hyperlink leads to is non-savable and is a must print only. Is there a way to make the Secondary form savable as well within the same document? or is there another way I could execute what it is I am trying to achieve?
    I have tried to save the attachment as extended but that has not worked and also if done before inserting than the return hyperlink to the parent document will not connect because editing in not allowed.
    Help would be greatly appreciated please and thank you!

    You can't. Before Reader 11, you could prevent Reader users from saving by not Reader-enabling the form, but users with Acrobat, Reader for iOS, and some non-Adobe PDF viewers could fill-in and save. Reader 11 now allows filled-in forms to be saved even if the document does not include usage rights.

  • ANN 1-hr webinars: Buttons for PDF Navigation/ Interactive Checklists/ Cross-File Links & Bookmarks

    Free; no fluff, no hype, no nonsense; starting 9am PDT
    • Creating Buttons for PDF Navigation using FrameMaker Hypertext Markers
    Wed, April 16
    https://www3.gotomeeting.com/register/817461086
    • Creating Interactive PDF Checklists with FrameMaker-to-Acrobat TimeSavers + Form Assistant
    Wed, April 23
    https://www3.gotomeeting.com/register/886165534
    • Cross-File Links and Bookmarks in PDFs Authored with FrameMaker
    Thu, May 1
    https://www3.gotomeeting.com/register/911390886
    Shlomo Perets
    MicroType, http://.microtype.com
    FrameMaker/Acrobat/Captivate training & consulting • FM-to-Acrobat TimeSavers/Assistants

    The Bookmark Panel to the left of the pdf is not displaying - I have checked everything (and double checked under preferences to ensure that under Documents > Open Settings > Restore last view settings when reopening documents is Not checked.)
    Have reinstalled Acrobat and still am having issues. The only thing I did was open AcrobatLive and converted a doc to a fillable form - I am getting error messages with that now as well.

  • Protecting completed PDF fill-in forms from changes

    I have several completed PDF fill-in forms that I wish to make available on a website, but I do not want the viewer to be able to make changes to the forms.  Is there a setting that will turn off the fill-in function?

    You can either set the fields to read-only or flatten them. The latter can't be undone, unlike setting to read-only, so it may be preferable. For a convenient method of flattening, you can use the following free JavaScript-based tool: http://www.uvsar.com/projects/acrobat/flattener/
    or open the form in Acrobat, open the interactive JavaScript console (Ctrl+J), enter the following line of code:
    flattenPages();
    and with the cursor on that line, click Ctrl+Enter, or Enter on the numeric keypad. Be sure to save to a new file so you don't overwrite the original since this is not reversible.

  • Acrobat Pro 9 Mac**Making a pdf fill-out form non-editable when it is completed.

    HELP!!
    If anyone out there can help me I would greatly appreciate it.
    I see the forums are with LifeCycle but I need direction for the mac version of acrobat pro.
    I am creating a fill-out pdf form for distribution. I would like the person who receives the fill out form to complete the form,
    and click a "lock all fields" button or "form completed" button that will make all form fields lock/ non editable when emailed back to me.
    Where would I put this script? Can someone give me step by step direction for this button?
    I am a novice to this. I don't know how to run a javascript for the button or what is needed to get this completed.
    Can someone please help me.
    Thank you so much-
    Katy

    Maybe this will do the trick...
    http://forums.adobe.com/message/3813078#3813078#3813078

  • Submit button for PDF

    The submit button on my PDF form (Acobat X pro) no longer works. I created a submit button for a PDF form about two months ago and it worked then, but it is no longer working.  Applicants fill the form out and email it back to us as an email attachment.
    Is there a limit to the amount of forms that can be sent to us?  I would appreciate suggestions.

    You say it's Reader-enabled, but that you didn't do FIle > Save As ...
    This is the process that causes it to be Reader-enabled, though putting it through the Distribute Form process does as well.
    What Reader-enabling does is allow Reader to save a filled-in document. It otherwise cannot, though it can fill. print, and submit (form/comment data only). Reader 11 changes this though as it is able to save a non-enabled form, but not everyone will have Reader 11 so you shouldn't count on it being used.
    If you distribute an enabled form that was enabled with Acrobat (as opposed to LiveCycle Reader Extensions), then you are limited by the Acrobat License Agreement from using data form no more than 500 instances of the form that has been returned to you, including hardcopies. Removing the submit button would make no difference.
    A different approach though that will make everything more reliable is to set up the form to be used with Adobe's FormsCentral. Submitting by email is fraught with problems, but submitting to a web server as with FormsCentral eliminates all that. It allows essentially an unlimited number of submissions, though the data table will only show 5000 at a time. It makes it easy to get at the form data, which is more convenient than with Acrobat. It also allows you to generate a copy of the filled-in form for a particular submission if you ever want one. It provides the user some feedback when the form is successfully submitted, unlike email. When you distribute a PDF via FormsCentral, it Reader-enables the form and you can then distribute it via email, web site, or some other means. It's also very reasonably priced. It can be set up to send you and others an email notification whenever anyone submits a form. It can also send the user a notification that it was received, as long as they include their email address in a field on the form. No, I don't stand to benefit from you using FormsCentral, though I heard I might get a gift card for referring folks.   
    Seriously though, it really is a nice service that you should consider.

  • How to create PDF Fill in forms programatically ?

    Hi
    I am developing an application in .Net environment.
    I have a requirement to create fill in pdf form through my program (Text boxes, check boxes, Group radio buttons, etc), fill and save PDF forms and finally extract entered information.
    I have following queries:
    1. Do Adobe provide any component(dll, etc) that exposes APIs to create such type of forms ?
    2. What are the licensing requirements for these? (For form creater as well as users who fill PDF forms) (License costs ??)
    3. What specific versions of Adobe acrobat reader needed, if specific version required ?
    Please reply to these queries.
    Thanks in advance,
    Karan

    >-- Creation of fill in pdf form will be on single server. (So whats license requirement for the server ??)
    Ok, this puts important limitations on the project. The Acrobat SDK is
    a set of tools for automating Acrobat. Acrobat is not for server use.
    >-- Forms created by server will be used by many differnt users to fill and save forms. (So you mean the users filling the forms require to have Adobe Acrobat professional ??)
    Well, it depends what you want them to be able to do. There are three
    levels
    * Things which can always be done in Reader. For example: print a
    form; submit form data (not PDF) to an http or https server.
    * Things which can be done in Reader if forms are given a "magic"
    property called Reader Extensions. For Example: save the form, submit
    in PDF format. This has serious cost implications. You would need a
    separate server product to add these.
    * Things which can never be done in Reader.
    >-- We are creating AcroForm. (Whats version dependencies?)
    These should work with Acrobat/Reader back to version 4. However the
    magic of reader enabling only works with recent versions of Reader.
    >-- So do Adobe provide any component(dll, etc) that exposes APIs to create such type of forms ?
    Adobe's server/enterprise solutions are under the general banner of
    LiveCycle. There are lots of LiveCycle products, and unfortunately I
    don't know their relative capabilities. It's possible that they do
    NOT have a server product for making AcroForms, because much of
    LiveCycle is aimed at new-style XFA forms. But, on the positive side,
    since AcroForms are older techology there is a good chance you would
    find a third party product to plug the gap.
    Aandi Inston

  • Paypal button for jquery mobile app in DW CS5.5

    Using the jquery mobile app framework in DW CS5.5 and need help in using Paypal mobile.
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <input type="hidden" name="cmd" value="_xclick" />
      <input type="hidden" name="bn" value="webassist.dreamweaver.4_5_0" />
      <input type="hidden" name="business" value="[email protected]" />
      <input type="hidden" name="item_name" value="Odor Cat" />
      <input type="hidden" name="amount" value="19.50" />
      <input type="hidden" name="currency_code" value="USD" />
      <input type="hidden" name="shipping" value="5.50" />
      <input type="hidden" name="return" value="http://www.mysite.com/checkout_success.php" />
      <input type="hidden" name="cancel_return" value="http://www.mysite.com/checkout_failure.php" />
      <input type="hidden" name="undefined_quantity" value="1" />
      <input type="hidden" name="receiver_email" value="@hotmail.com" />
      <input type="hidden" name="mrb" value="R-3WH47588B4505740X" />
      <input type="hidden" name="pal" value="ANNSXSLJLYR2A" />
      <input type="hidden" name="no_shipping" value="0" />
      <input type="hidden" name="no_note" value="0" />
      <input type="submit" name="submit1" id="submit1" value="Pay with PayPal">
               </form>
    This form button will take the user to paypal for payment, but is not for mobile app.
    thanks for your help,
    -Jim Balthrop

    How do I get someone to respond to my question here?
    Let me try again.
    With DW CS5.5 when I try to insert a PayPal button into a table (which I always did with DW8) the table in Design View gets scrambled, making it unusable.  Please would one of you out there who is much more knowledgeable about DW than me try it and see if there is a solution?  If you create a new HTML page in Design view, create a table in it, place the insertion point inside one of the table cells, go to the code view and locate the insertion point there, then paste the PayPal button code at that point. Here's the code:
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="XSXQ9CUMUVLQC">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    Now go back to Design view and see how it looks.  If it acts the way it does for me, the table is no longer visible, but if you go to Live View everything looks fine with the table and the button inside it.  Of course, I can't design in Live View.
    PLEASE can someone out there help me.
    Many thanks.

  • On button click to fill out form on same page as report

    Hi,
    I have a report that contains a name that I want to pass in to a field in a form on a different region on the same page.
    My button located on the report is has its own column called ADD_LINK. Here is the button. <button id="apexir_btn_ADD" class="apexir-button" type="button" value="Add" onclick=""><span>Add</span></button>
    Once that button is clicked, I have the form region fade in. The region is called Add Tag to Employee, which has P4_ROWID, P4_EMPLOYEE_ID, and P4_TAG_ID.
    Once the region is displayed, I want the #NAME# to show in the P4_EMPLOYEE_ID.
    I did copy this form from another page, where I had it working before. It made more sense to move it to this page for interface purposes, so maybe that tidbit will help as well.
    If anyone has an answer to that, awesome. I am new so thanks for the help.
    Thank you.
    Jeremy

    Similar to that, except I have a button on the right-most column that I want to use. There is a button for each row, and I want that to send the name on that row into the form, so it is very similar. Also the region I am sending it to is hidden until the button is clicked, which I created a dynamic action to show it on click.
    ID Name Skills Add_Link Delete_Link
    1 Jeremy Java [Add] [Del]
    That's what 1 row of data would look like..
    So when the [Add] button is clicked the Employee_Add form should update the P4_Employee_ID with the name corresponding with the button on that row.
    Edit: It turns out that since my form item P4_Employee_ID was a popup LOV so when I changed it to a Display Only, it seems to have worked.
    Now I am just having trouble getting this form on the same page to submit the data, by clicking Create on the form. The name is showing, but then I select a Skill and then Create, and it doesn't update my table.
    It is probably because I am not getting a rowID in my form, but I am not sure.
    Thanks
    Jeremy

  • Coding for static fill-out form

    fill out form questionnaire?
    I am creating in Flash CS4 (AS3) a static fill out form for a website that I am involved in. The questionnaire helps to determine whether a person is suseptible to drug and alcohol abuse with either a postive answer (not likely to develop substance abuse) or a negative answer (likely to develop substance abuse)
    There are six questions on this form that MUST be answered either yes or no.
    I have created the form with all art and buttons and it is ready to implement in Dreamweaver but need the scripting to make work.
    The six YES buttons are assigned instance names of cb1, cb3, cb5, cb7, cb9 and cb11
    The six NO buttons are assigned instance names of cb2, cb4, cb6, cb8, cb10
    and cb12.
    When the participant answers all six questions either yes or no they will hit a Submit button (with an instance name of submit) that will direct them to a new web/flash page with appropriate answer.
    If the participant answers TWO or more questions with YES and hit submit they will be directed to a new page/doc in the website with the negative answer.
    If the participant answers ONE YES and hit submit they will be directed to a new page/doc in the website with a positive answer.
    If the participant answers ALL NO and hit submit they will be directed to a new page/doc in the website with the same positive answer as answering with ONE YES response.
    I assume this is a very complex coding problem. I am a beginner/intermidiate flash person with extreme novice understanding of coding. I know what stop(); does in AS3 and understand simple clickTag coding etc.
    Would appreciate any help with AS3 coding for this document.
    I usually find coding on forums like these and online blogs - but I don't even know where to begin looking.
    Thanks

    on the timeline that contains your buttons:
    var yesNum:int=0;
    var noNum:int=0;
    submit_btn.addEventListener(MouseEvent.CLICK,submitF);
    for(var i:int=1;i<=12;i++){
    if(1%2==0){
    this["cb"+i].addEventListener(MouseEvent.CLICK,noF);
    } else {
    this["cb"+i].addEventListener(MouseEvent.CLICK,yesF);
    function yesF(e:MouseEvent):void{
    yesNum++;
    e.currentTarget.removeEventListener(MouseEvent.CLICK,yesF);
    function yesF(e:MouseEvent):void{
    noNum++;
    e.currentTarget.removeEventListener(MouseEvent.CLICK,noF);
    function submitF(e:MouseEvent):void{
    if(yesNum+noNum==12){
    // take appropriate action based on yesNum and/or noNum
    } else {
    // error.  all questions not answered.

  • From Paypal Not Returning to Filled Out Form

    While testing my purchase form, everything seems to work with Paypal. However, when I select 'cancel and go back to filled out form' it goes back to a blank form. So, if customer wants to make a change, he must fill out the entire form again. Is there a known issue or am I doing something wrong? I don't know how to attach the form to this post, otherwise i would have

    Hi;
    Yes, it is a known issue and unfortunately the feature and it is not working.  It will change very soon but not for the better, for now the wording will simply say return to the form until we've fixed returning to the filled out form.
    Thanks,
    Josh

Maybe you are looking for

  • Not showing all data in a grid - a summary

    Hello all, I have a very simple spreadsheet (created from a template on an ipad and transferred back and forth to a Mac Book Pro) which tracks my weight loss, body fat etc. Each day (probably far too often but I'm eager at the start of a diet) I reco

  • A few post config questions on new setup

    Hi Group, Just a few post config questions. First, how can I confirm my controller is in fact associating properly with an NTP server?  On a typically cisco product, I could just do a 'show ntp associations' or a 'show ntp status'.  I cannot see a wa

  • Transfer files between server and clients

    Hi all i use oracle forms 11g r2 webutil i have some questions : 1- How i can choose picture from client side and save it on server ( in folder ) ? 2- How i can print the picture from client side? Thanks

  • Premiere Pro Constant crashing - can't get it to work

    Mac 10.5.4 CS5.5.2 The app has been sorta working for months.  Now, can't even finish an edit.  It won't let me navigate a sequence, play a clip, crash, crahs,freeze,crash. Have: Trashed Prefs. Rebooted so many times. Repaired permissions. Would real

  • How to kill/stop a report from InfoView/CMC ?

    Hi All, I have CRS2008 v1 environment running reports against Sybase database. Users run reports from Infoview. I would like to know what the best way to kill or stop a report that has been triggered from Infoview? Kill the spid from sybase or is the