with two parameters of submit button

Hello

You are able to send two parameters in a submitForm by javascript? I would like to send the pdf itself over its xml to a servlet.

Thank you

See this class getDocuments method. You can get all attachments using Java code.

http://help.Adobe.com/en_US/LiveCycle/9.0/programLC/Javadoc/com/Adobe/LiveCycle/formsservi ce/client/FormsServiceClient.html

Thank you

Srini

Tags: Adobe LiveCycle

Similar Questions

  • HTTP vs event.target.submitForm Submit button

    Dear all,

    I have a problem that looks like, I need expert help to the resolve.

    I have designed a form with Acrobat, LiveCycle Designer ES 8.2

    The plan is people to fill out the form and submit it to a script on a web page.

    That is the problem.

    When I insert a normal button of HTTPSubmit. This medication works very well. All fields in th are sent, and I can treat them with my script.

    However, when I try to make a normal button and add javascript for the click event.

    event.target.submitForm ({cURL: "http://mysite/myscript.php", cSubmitAs: "HTML", cCharSet: "utf - 8"});

    The form is sent, but no fields are.

    As an example of the output of the APPLICATION of table in PHP.

    With the regular HTTP submit button, I get:

    Table
    (
    [familyname] = > 1
    [SubjectNumber] = > 2
    [Site] = > 3
    )

    So that the JavaScript file above, I get:

    Table
    (
    [form1] = > Array
    (
    [0] = >
    )

    )

    It looks that the JavaScript file I somehow can not present the actuall fields.

    Finally, let me tell you the reason why I still want to use Javascript instead of the regular HTTP Submit button.

    My plan is so people can actually change the location where to send the form.

    From what I've read if I use a single submit button, the URL must be hard-coded and cannot be changed (selected by the user dynamically)

    Whereas if I use javascript so I can easily have a text field where people can enter the site where they want to submit the form and use it.

    Thank you very much for your help

    Please let me know if you need additional information

    Concerning

    Tsvyatko

    Actually I think you can set the url of a "submit" button.  Try using the following FormCalc code:

    submitbuttonname.event__click. #submit. #target

    = the string entered by the user

    The string entered by the user must include "http://" in the front, e.g. http://www.google.com

    As long as the code above is executed before pressing the button submit, you should be OK.  I have not worked on the JavaScript syntax.

  • A form with several submit button

    Hello

    I have a very long form. What I would therefore like to add an additional submit button so that the user can only change the image if they want to.

    -is it possible to have more than one form on the page. If Yes, how can I determine which form is submitted isDefined ('form1'), isDefined ('form2') doesn't seem to work,

    -If there are two buttons in the form did you know which preses because both seem returns true when tested with isDefined)

    Thank you

    -is it possible to have more than one form on the page. If Yes, how do

    I determine what form is submitted isDefined ('form1').

    isDefined ('form2') doesn't seem to work,

    /quote

    Yes.

    If ' there are two buttons to the form how do I know who has been

    Preses as both seem to return true when tested with isDefined)

    /quote

    Give the buttons different name attributes. Check your action page

    with StructKeyExists (form, "name_of_first_button") and

    StructKeyExists (form, "name_of_second_button"), which one was pressed.

    Mack

  • PDF document with the "submit" button

    I created a PDF file with a "submit" button. Forms works perfectly when I use it on my mac. However, when I download the file to my website using MUSE, I can access it fine online, but the send feature will not work. I can fill it without any problem, it just will not submit. What Miss me?

    Thanks in advance.

    Presentation only works in Acrobat / Adobe Reader. It's a closed system. You cannot use the other PDF viewers as they are integrated into browsers.

    Mylenium

  • I made a form for my clients, I did this form with a button "submit" button, the button will save the form and send it, I did the URL to go to a different (different to mine) e-mail address but when I distribute the form and it is complete

    I made a form for my clients, I did this form with a button "submit" button, the button Save the form and send it, I did the URL to go to a different (different to mine) e-mail address but when I distribute the form and it is supplemented by my clients it send to my email address not the URL how to change this.

    No matter how you have configured the Send button when you use the feature distribute the form. There are some e-mail address is in your identity preferences (Edit > preferences > identity) and use it. If you can change the email address it or not to use distribute the form and the button send the value you want.

    One thing that happens when you use the feature to distribute the form is the form is enabled Reader, you can do separately, but you really shouldn't do if the form must be used by others. The dispenser a form must activate using their copy under license of Acrobat Reader.

  • 2 or more forms with "1 submit" button (Business Catalyst Forms)

    I am very new to Ajax and Java

    So I'll need a bit of hand holding on it.

    If it's too much to explain in a post on the forum, I'd be willing to pay someone to set up properly and to explain so that I can repeat on my own $50.

    But here's what I'm trying to do.

    Presentation of multiple forms with single submit button.

    I need to create many many forms, so rather than repeat the basics (details and company info)

    I would just be able to manufacture PARTS of form and then build forms much faster this way.

    The forms I created are for various applications.

    I use the personal and professional contacts as the first 2 examples, but I'm going ELSEWHERE, I also understand according to the form.

    So just keep in mind these are examples.

    The point is that each PARTY is a separate form.

    The reason clear to achieve is to save time, many similar applications that I need to do the construction.

    Example 1

    Form of home insurance

    SECTION A - personal information

    PART H - home (s) address

    PART F - personal fire and alarm information

    PART C - the previous insurance issues and cancellation insurance

    ----------------

    submit button: supports all 4 forms above

    Example 2

    The company insurance form

    SECTION A - personal information

    PART B – business contact information

    PART D - commercial address information (what to do if several addresses?)

    PART E - business and information fire alarm

    PART C - the previous insurance issues and cancellation insurance

    --------------------

    submit button: submit all 5 forms above

    So ideally, I would need the following requirements.

    1. present the single button

    2. present the code can handle 2 or more parts not the value # specific

    3. I would prefer if it was automated code (so I don't have to change the code every time, I can simply add the parts - and also long ID # or named it will work correctly)

    4. If there is a problem with any PART stop the entire form

    5-

    A question, I had barely know is how "combine" forms a single entity so that they can change it later if necessary?

    * as turn a case, or to award to each PARTY a hidden form variable link #.

    * This is probably best handled with a webapp, Yes?

    Thanks in advance for any help.

    It's all a bit above my level of understanding of right at this moment. So, if anyone can offer help or services.

    Please let me know. I have to get rolling on this ASAP.

    * main problems I have with BC forms:

    I did a lot of work with them recently, so I get a kick of the foibles, but there is always a ton of issues and roadblocks that I meet that requires a workaround solution.

    I wish I knew how to make dynamic British Colombia forms, because the BC is not a data source for multiple selection option, we must create a webapp connection to combine everything.

    Unless there is another way to combine multiple forms, I guess that's what about this discussion/issue together.

    So thank you once again.

    Are you ok with BC being unable to report on the data of the form? Rather than having the fields map to a client-server, you could serialize the form data (in JSON format, perhaps) and submit the entire form in a single field in a form BC, or an element of the Webapp.

    This would allow the form fields to be as dynamic as you can imagine. you will be not restricted to use only the form fields that have been declared in the admin.

    You have to take care around the diagram, because BC does not have an influence or support for that. It also means that when you want to display the data, you will need to go through your own deserializer. In addition, there are length limits to keep in mind.

  • Whenever I hit the installer and run it, it comes up with a window with two buttons, an asset and a button at home. A small circle rotates around on the screen. Nothing ever happens in addition. I tried it several times redownloading. What sh

    Whenever I hit the installer and run it, it comes up with a window with two buttons, an asset and a button at home. A small circle rotates around on the screen. Nothing ever happens in addition. I tried to re - download several times. What should I do? Here is a picture of what happens:CCFail.PNG

    See if the following can help:

    White screen

    https://forums.Adobe.com/thread/1249756

  • Send an active PDF form with a Submit button? (Acrobat Pro XI.)

    I created a very large active form of PDF with hundreds of fields with text boxes, drop downs, checkboxes, radio buttons, and I think that the kitchen sink. But for the life of me I can't understand how to create a Submit button that will send the completed form to an email address that is configured to print whatever it hits.


    I have read so many things about it that I'm completely confused. I need a script, is there a method through menus to Acrobat, Miss me or I'm barking at the Moon? You'll know more I could even say any help just get me going in the right direction. Thank you!

    Simply add a button and it is the mouse up action to "Submit a form" and use a type mailto URL and specify the complete PDF file is sent. If she needs to work with version 11 player, she should also be enabled for the drive: file > save as other > Reader Extended PDF > activate tools more

    Note that emailing is unreliable by report to be submitted to a web server, and it is difficult to secure, which is relatively easy with a web server.

  • working with 2 submit buttons in an html form

    I have 2 submit buttons on a form. I'll upload a file and save in a filepath in server when I click a Download"" button. I want to use this path in the code, when I click on another button called 'process '.  When I click on the process nothing happens with dump to the code below. Form sends to itself. Is there a better way to do it. Thanks in advance.

    < table width = "40%" border = "0" style = "" border: 1px solid black; ">"

    < name of the form = "uploadform" action = "processfile.cfm" enctype = "multipart/form-data" method = "post" > "

    < b >

    < td > < input type = "file" name = "FileContents" size = "25" >

    < input type = "button" name = 'action' id = 'action' = 'Upload' value >

    < table >

    < /tr >

    < b >

    < td align = "middle" >

    < input type = "button" name = "submitaction" id = 'process' value = 'Process' >

    < table >

    < /tr >

    < / make >

    < /table >

    < cfset variables.filepath = "" >

    < cfif isdefined ("form.action") AND form.action eq 'upload' >

    < cffile action = "upload" fileField = destination "FileContents" = "C:\test\" accept = "text/plain" nameConflict = "overwrite" >

    < cfset variables.filepath = "C:\test\#cffile.serverFile#" >

    < cfelseif isdefined ("form.submitaction") AND form.submitaction eq 'process' >

    < cfdump var = "#variables.filepath #" >

    < / cfif >

    The elseif excludes discharge. In any case, it is unnecessary. You should not test for form.submitaction and form.action, as they both exist or not.

    You could just do something like

    variables. FilePath: #variables.filepath #

  • Two sequences with different parameters?

    In the first Pro CS6, is it possible to use two sequences with different parameters?

    Yes, no problem.

    You can make as many sequences with different settings as you want.

  • help required with the "submit" button

    Hello

    I need a little help with the button submit. The user submits the form as a PDf to a servelt using the "submit" button. The form is validated at the side server. If errors occur the error messages are to be displayed to the user as part of the form.

    My approach was to have a present in the form of hidden field. After you receive the error messages the field must be filled with these messages and real visible.

    Problem with my approach:

    (1) how to send back data on the ground using the code of the servlet that we have?

    Unless you use a Web service, sending data top of the Servlet form can is not possible.

    Once the form sends data to the Servlet, the connection will be lost between the form and the Servlet.

    But if you use a Web service, you can intercept the response and display it to the user.

    Another alternative to the approach of the Servlet is, view another page in the browser with the response.

    If the user then sends is notified the result in a new window.

    Thank you

    Srini

  • How can I associate a button with two slices?

    Hello
    I need help please. How can I associate a button with two slices? or combine the two slices to make one cut or make a form of true polygon on the edges, it will make to the polygon, but it leaves the red lines and I cannot work under this installment... If you understand. Someone help please. Thank you very much.

    Two points.

    First of all, I see that you have forms stars in your image, but that does not mean that you need a star-shaped slice. You can use a little square that is centered on your star. That could make it easier to create your slices. All you have to do is drag lines of leaders in the left seat and superior, two pairs around each star and then drag a slice from one end to the other.

    Noting that brings me to my second point: images must be rectangular. If you want to change the L-shaped area, then you need to swap two images, not one only. This is perhaps why you cannot have the buttons under the threshold of upper sliding of your L shaped section. Because Fireworks needs to make a rectangular image, it is by default in an area that encompasses the range - area you can not the buttons in. It is the lock area non cut which still need to be part of the image, since the part will swap, too.

  • Double click with Submit button

    A submitButton on the page automatically manage / block the action of double-tap of the user?

    I have an application when a button "submit" cause transformation & agrees to occur.
    I want to assure you that when the user "double-click on ' button, it does not cause problems.

    Thank you

    Hello

    A submitButton on the page automatically manage / block the action of double-tap of the user?

    No, it does so...

    You can write the code below in the processRequest method of your controller to disable the button until the treatment of the moment happens after complete transformation you can still click "submit" button.

    OAWebBean body = pageContext.getRootWebBean();
    if(body instanceof OABodyBean)
    {
    ((OABodyBean)body).setBlockOnEverySubmit(true);
    }
    

    Please refer to this article for more details
    http://mukx.blogspot.com/2009/12/blocking-user-on-submit-action-in-OAF.html

    In addition, if you want to disable the button after the first click, then click on get a redirect to the event he same page and make this option off or to do use partial-page rendering.

    Thank you
    AJ

  • CP9: Multiple text entry boxes - 1 Submit button

    Hello

    I have several text entry areas (TEBs) and send button 1.

    Each TEB I have a:

    • input variable of text from the user - v_teb1 (associated with the ETB).
    • Variable for the correct answer - v_teb1_ans (do this way because I want to reuse the action advanced)

    I created an advanced action (assigned to the "submit" button) to check the entry of user against the answers.

    So if the answer was 'Home' or 'House' - how can I test for it - create two response variables - "v_teb1_ans_a", "v_teb1_ans_b".

    Is there an easier way?

    Also with "Validation of the user" are the "correct entered" used only with 'Success' and display the success, legends of the failure

    that is when submit button displayed for each TEB, auto-submit is enabled, the Enter button is used?

    Concerning

    Donal.

    Donal salvation,

    This is the problem with the validation of a TEB entry using a tip action, there is no way to disable the distinction uppercase / lowercase. It will be possible if you use JS to change the answer to all the capitals before checking it in.

    I do not understand your last question, sorry? Entered correct are used if you post a BER, but in your case the validation is made only after all the TEB were used, right?

  • 'Forward' and 'Submit' buttons in Quiz confusion

    Hi all

    Recently, I created course in Captivate with little Quiz at the end.

    And now, I received the comment by the user, but actually not sure how I can solve this problem.

    In fact, what he writes, is that he inadvertently used the "Forward" button / the appearance of the player instead of 'submit' to all questions, so in the quiz results, he scored 0%, and that's why to return back and redone the test again once, which was counted as 2 attempts. His question is: is it possible that you can bind these two buttons as well as others don't make the same mistake?

    Before the test, I also provided a slide with instructions which, after having chosen the answer user must submit to see the legend as your comments, but to navigate to other slides - next button.

    This is why I don't really understand how to adapt my classes to this comment by the user. Because the buttons 'Next' and 'Send' can completely separate functions.

    Maybe there is a possibility to freeze the Forward button (don't let don't not to go to the next slide), until the user has not confirmed the answer with the "submit" button?

    PS: if I understand it, "You must answer the question before you continue" legend works only when the user click on send selected unanswered.

    Please, suggest...

    Thank you!

    I recommend especially to hide the PlayBar during a quiz, just to avoid this kind of problems. You don't say which version are you using? Captivate the 6 and 7 have an option in Quiz preferences to hide the PlayBar during quiz.

    In regards to the button 'Next', that points stem to and other features of question slide, take a look on:

    http://blog.lilybiri.com/question-question-slides-in-Captivate

    http://blog.lilybiri.com/question-question-slides-part-2

    Lilybiri

Maybe you are looking for

  • When to send a certain number of photographs...

    When to send a certain number of Photos using Mail photographs, pictures all run with no space between them.  Is there a way to get in shape for spaces are created between each photograph?

  • A program seems to create thousands of files.

    It seems that a program called surveysavvy.exe of lute Research has been hijacked or is really a fake and it seems to create thousands and thousands of files xml of 2 K in length.  It slowed my PC to a crawl.  I need help. Thank you John

  • Problem when the API update for 10.2.0.1155

    Hi all I get error 'Change in API level' when I'm updating the API level. For more information please see the attached screenshot. Please suggest any solution for this its urgent. Thanks in advance.

  • VCS Cluster question

    Hey all,. We have two VCS highways in a cluster.  A VCS is on a tour of the Internet and the other is on a circuit separate from another provider.  The Internet provider for one sucks VCS for video, its only necessary as a backup circuit.  I put this

  • bootstrap. There is no such thing as CSS. Click on create to create a bootstrap.css file

    Newly downloaded Dreamweaver CC at the top of a new brand of the Mac desktop line and I run into this... bootstrap.css does not exist. Click on create to create a bootstrap.css fileNo idea what to do.