Controlling submit button manually

Hi
I have a button which is made as submit type and submit it as PDF and a url was given which is working as per the requirement.
Now the new requirement is the Submit URL should get dynamically change based on the some value in the pdf, so can i control the url manually and also it should act like a submit button(like firing of validations etc).
I tried xfa.event.target="url"; but that button doesn't act like submit button then after.
Pls help.
Thanks
Abhiram

You can modify the URL of the submit button through code. Of course you woudl do this before pressing it.
The command woudl be
submitButtonName.event_click.submit.target = "new URL "
Paul

Similar Messages

  • Can you stylise the Submit button and can you manually place it

    Hello
    I have a large pdf document with the form in the middle of it, are you able to style the submit button and are you able to manually place it on a specific page when using FormCentral?
    Kind Regards
    Eugene

    Hi Eugene,
    There is a 500 field limitation, regardless of what subscription level you have. Please see: Maximum Number of Fields Reached
    Best,
    Sara

  • Controlling action on Submit button

    I have a page with fields for data and a submit button,when I click the submit button the data will be passed to another jsp page from where the updation or insertion takes place based on the condition,When this process is being done if the submit button is clicked repeatedly it is misbehaving.Any Idea as how to stop the action on the submit button once the control goes to the next jsp page.

    with some javascript you can disable the submit button just after the first time it was clicked, like this :
    <form name="xxx" action="yyy" onSubmit="this.submitButton.disabled=true" >
    regards

  • Manually created submit buttons & mandatory fields

    Hi,
    I included a Submit & an Email button in some of my forms.  I've set them up as Regular buttons and coded them myself to do what I want eg:
    if(xfa.host.messageBox("Please save this form before emailing or data will be lost","Save Form",1,1))
        app.execMenuItem("SaveAs");
    var sEmail = form1.Pg2.PtESF.Mgremail.rawValue;
    var sSubject = ("Permit to Train Request by " + form1.Pg1.PtASF.FirstNameFld.rawValue + " " + form1.Pg1.PtASF.LastNameFld.rawValue);
    var sBody = "Please approve the Permit to Train Request as attached.";
    event.target.submitForm({cURL:"mailto: "+ sEmail +"?subject=" + sSubject +"&body=" + sBody,cSubmitAs:"PDF",cCharset:"utf-8"});
    If I set them up as Submit buttons, they don't try to run the script more than once.  I assumed this was because I had the code built in with the Submit option and it ran that as well as my own code.
    So I changed the button to be a Regular button and then it worked perfectly - except for one thing.
    It no longer validated the mandatory fields.
    Can anyone tell me what's built into the Submit button (that I can't see), that I need to reproduce in my script for my regular button?
    Thanks,
    Peta

    Hi,
    The Submit buttons validate the from behind the scenes.
    You can use execValidate() in an if statement, and if passes then execute script.
    See an example here for execValidate():
    http://assure.ly/hM2A5y (see last button)
    http://assure.ly/flbjXB
    Both of the above examples use validationState and cancelAction so are targeted to Acrobat/Reader version 9.1. Please note that execValidate() can be used in earlier versions:
    http://assure.ly/lZhrSS
    http://assure.ly/dYQFb4
    Hope that helps,
    Niall

  • Email submit button doesn't work with Thunderbird

    I created a LiveCycle (v8.2.1) form with the email submit button. Works fine if the sender is using Outlook. If their using Thunderbird, it does not. I installed Thunderbird on my system (normally I use Outlook) and set Control Panel/Internet Options/Programs email to use Mozilla Thunderbird as the email program. When I click the Email button on my LiveCycle PDF form, I get a message telling me: Select an Email Client. The "Desktop Email Application" radio button is checked and that should be fine; the explanation for this button indicates that it should be checked "if you currently use an email application such as Microsoft Outlook Express, Microsoft Outlook, Eudora, or Mail.". I leave that checked, since I am using an email application and click OK. After 20-30 seconds, I get a message with the title bar: Microsoft Office Outlook "A program is trying to access e-mail address information stored in Outlook..." Allow|Deny|Help. I click Deny. After a minute or so, an Outlook "New" email window appears with the appropriate information from my LiveCycle PDF form. Right content, wrong email client. Since Thunderbird is my "default" email application, where is LiveCycle coming up with Outlook? What do my customers do who don't use Outlook?
    I hope someone has a good solution.
    Thanks.

    When you click the submit button, do you get a window that has the title "Select Email Client"and has the options of "Desktop Email Application" and "Internet Email"? If not, does anything at all happen?
    Note that Mac users must have Acrobat or Reader installed and be viewing the PDF in Acrobat or Reader for it to work. Many (most?) Mac users have the Preview Application as their default PDF viewer, and it does not support many interactive features such as form submissions. Although some third-party PDF viewers for Windows support form submissions, many do not.
    For those that do not use PDF viewers that support form submissions, they will have to manually attach the document to an email message.

  • Submit Button for PDF Fillable Form

    Hello -
    I am using Acrobat 9 Pro.
    I am developing a fillable employment application for our HR department.  Initially, I thought we could add the option to "submit" the form via email.  However, now I am rethinking this due to a few issues.  The first issue being security of sending it through email.  The other issue is that when you click on the Submit button it brings up various options depending on if you are on a Mac or PC and depending on what email client you are using (desktop or webmail). 
    Is there any way to send a form via email without it bringing up the option to choose desktop email or webmail and going through all of the prompts?  We want to make it user-friendly but also follow best practices.
    Is it a better practice to have the applicant fill out the form, print it and then fax it to HR? I am looking for suggestions and solutions that have worked well for others.
    Many thanks!!

    Since you will likely have no control over your user's email client, there's little you can do to ensure the process goes smoothly. Not only is email generally unsecure, it is also unreliable. Some users might not even have a functioning local email cleint, and instead use a web based email system, in which case they have to manually attach it to an email that they initiate.
    What is more reliable and easily secured is submitting to a web server, which can do the job of storing the form data (or complete forms) or emailing them. This is a bit more complex since the server has to be programmed to process the incoming submission and return a response, but it really is the better approach.
    Faxing or mailing a printed copy is always an option and it can at least cut down on errors due to bad handwriting or inconsistencies (e.g., checking both the Yes and No check box for a question).

  • Have a window pop up after email submit button is clicked

    Is there a way to have a pop up occur after a user has pressed the email submit button? I need to have a reminder pop up as the form is submitted. Thank you in advance!

    Have you gotten an answer to this question yet?
    Here's what I did:
    I created a regular button with the following script on the "click event"
    EmailSubmitButton.execEvent("click");
    Then created another button (EmailSubmitButton)with the Control Type set to Submit; Submit to url should be: mailto:[email protected]; and Submit as PDF (if you want the actual form to come back to you) or XML (if you just want the data).
    Then I added a script under the EmailSubmitButton's PreSave Event, which states:
    app.alert("Your Form Has Been Submitted.");
    I distribute my form using the Adobe 8 Wizard and it works great.
    I would like to add a script that closes the form after submission. The script I found is
    app.execMenuItem("Close");
    This script is placed on the next line following the above app.alert message under the EmailSubmitButton. It works fine if you send the form manually via email, but Adobe has an error message when I try to distribute it.
    If anyone can help me with this issue. I would really appreciate it.
    Thanks,
    Jen

  • Submit button not triggering in adobe form : webdynpro abap

    Hi All ,
    I am a beginenr in Webynpro Abap . I am trying to catch a submit buttion from a Adobe form developed in webdynproabap .
    I have 2 fiels along with the submit button ( of type submit to SAP )
    I have written the code in the view action onsubmit and the the java script in the form is also there .
    form is of type ZCL
    I am not able to trigger the event. what can be the issue . should i do anything more ..
    i tried with the  2 type of submit button one is hanging other one there is no reponse .. can any one let me know what can be the reason .
    Regards
    Abhilash

    Hi
    I have the below code in the script. I have hardcoded the breakpoint in the event code as see below .
    containerfoundation_JS.sendmessageTocontainer(event.target,"submit"," ", " ","","") .
    in the event I have the code .
      DATA lo_nd_hsr TYPE REF TO if_wd_context_node.
      DATA lo_el_hsr TYPE REF TO if_wd_context_element.
      DATA ls_hsr TYPE wd_this->Element_hsr.
      DATA lv_pernr TYPE wd_this->Element_hsr-pernr.
    break-point.
    navigate from <CONTEXT> to <HSR> via lead selection
      lo_nd_hsr = wd_context->path_get_node( path = `ADOBE.HSR` ).
    @TODO handle non existant child
    IF lo_nd_hsr IS INITIAL.
    ENDIF.
    get element via lead selection
      lo_el_hsr = lo_nd_hsr->get_element( ).
    @TODO handle not set lead selection
      IF lo_el_hsr IS INITIAL.
      ENDIF.
    @TODO fill attribute
    lv_pernr = 1.
    set single attribute
      lo_el_hsr->set_attribute(
        name =  `PERNR`
        value = lv_pernr ).
    I activaated the trace also I am getting the error
    "SAPWD_ZciWrapper_setMessageHandler (55) : Set message handler for control.."
    I serached OSS . I got note 1223121 which says to run report FP_CHK_REPORT ..still it is not working .

  • Re: [iPlanet-JATO] Submit Button in TiledView

    John,
    Please clarify,
    1. You are putting this page together manually? (writing your own JSP and
    ViewBean/TiledView classes?)
    2. What is the exact location of the button?
    Is it below the TiledView but still in the ViewBean (as the traditional
    First/Next/Prev/Last buttons are? )
    Or
    Is it literally within the tiled view itself (in a column, and the button
    is displayed repeatedly like any other row member?)
    I ask because the latter is a very rare situation, usually people use HREFs
    in such cases?
    ----- Original Message -----
    From: Craig V Conover <craig.conover@S...>
    Sent: Monday, January 22, 2001 10:21 AM
    Subject: Re: [iPlanet-JATO] Submit Button in TiledView
    Was this originally an ND project? I don't have the sample you need, butuntil someone else posts a sample, try this: if you have an ND5 Studio,
    mimic sample in ND and migrate it and see what is generated.
    ----- Original Message -----
    From: john.teceno@b...
    Sent: Monday, January 22, 2001 10:00 AM
    Subject: [iPlanet-JATO] Submit Button in TiledView
    Hey Guys,
    I have a submit button that appears in a TiledView. When I click
    the submit button, it loops back to the same page. Should I be
    delegating the event through the ViewBean to the TiledView? And if so,
    could you give me a code snippet to show me how?
    Thanx,
    John Teceno
    Back Bay Technologies
    eGroups Sponsor
    Get 3 CDs for ONLY $9.99!
    [email protected]
    [Non-text portions of this message have been removed]
    [email protected]

    John,
    Please clarify,
    1. You are putting this page together manually? (writing your own JSP and
    ViewBean/TiledView classes?)
    2. What is the exact location of the button?
    Is it below the TiledView but still in the ViewBean (as the traditional
    First/Next/Prev/Last buttons are? )
    Or
    Is it literally within the tiled view itself (in a column, and the button
    is displayed repeatedly like any other row member?)
    I ask because the latter is a very rare situation, usually people use HREFs
    in such cases?
    ----- Original Message -----
    From: Craig V Conover <craig.conover@S...>
    Sent: Monday, January 22, 2001 10:21 AM
    Subject: Re: [iPlanet-JATO] Submit Button in TiledView
    Was this originally an ND project? I don't have the sample you need, butuntil someone else posts a sample, try this: if you have an ND5 Studio,
    mimic sample in ND and migrate it and see what is generated.
    ----- Original Message -----
    From: john.teceno@b...
    Sent: Monday, January 22, 2001 10:00 AM
    Subject: [iPlanet-JATO] Submit Button in TiledView
    Hey Guys,
    I have a submit button that appears in a TiledView. When I click
    the submit button, it loops back to the same page. Should I be
    delegating the event through the ViewBean to the TiledView? And if so,
    could you give me a code snippet to show me how?
    Thanx,
    John Teceno
    Back Bay Technologies
    eGroups Sponsor
    Get 3 CDs for ONLY $9.99!
    [email protected]
    [Non-text portions of this message have been removed]
    [email protected]

  • 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

  • I can't submit (button is gray)

    Everything is all right, (I think) Settings destination, targets, ... But I simply can not submit.

    Hi there,
    My first post. I had the same problem - when I clicked on submit in Compressor the drop down box appeared and in the Cluster box it said "none" and the submit button was greyed out. I've fixed mine and it works perfectly now. Here's how:
    Go to System Preferences and select Sharing. A box appears with your computer's name at the top and a list of things you can share. Select File Sharing and to the right, it will say something like: FTP Access:On with a message underneath which contains your computer's IP address e.g 10.6.4.3. Make a note of this number.
    Open Compressor and go to Compressor > Preferences. The Preferences Dialogue Box appears and at the bottom it says: Enter IP addresses or ranges for manually selected computers. Click on the + button at bottom left and then enter your computer's name and the IP address you noted earlier. Online will probably appear under status.
    Next time you start a job in Compressor and click on submit the drop down box will now say This computer in the Cluster box and the submit button will no longer be greyed out - BINGO
    this is what I did and it worked for me. Good luck.
    Fingers Lee

  • I want to have users submit the form in PDF format but it doesn't work using the email submit button

    Hi all,
    I have a form that I want to be returned to a specific email address as a PDF File. This is so that reservations people can open the pdf, and extract the information from it. Keeping it as a PDF will allow them to easily read and use the form.
    When I use the "Add and Email Submit button" approach, as outlined in the "How to" area, everything works fine, except that the format of the submitted file is in xml, not Pdf which is what I need it in.
    I then tried adding a Button to the document from the Library, and set it's "Control Type" to "Submit". This provided me with the submit sub-tab, where I set the "Submit Format" to PDF. In the "Submit to Url", I entered the following - "mailto:[email protected]" (without the quotes)
    The first approach works, but is not in the PDF format that I need (I believe).
    The second approach keeps giving the following error when one selects the submit button - "This operation is not permitted".
    We use Lotus Notes (yes, I know...not my favorite either, and it may be the problem here).
    Any help that might be provided is greatly appreciated!!
    Rob

    Thanks, but, using the "free" version of Reader, there is no opportunity to open nor import the xml data - the menu options do not exist - there is no import listed.
    If we try to open the xml file directly, then we get an error - something to the effect of "unsupported file type, or the file is corrupted".
    I just noticed in my Pro version that there is the command File ->Form Data ->Import Data to Form... command. Is this what you are referring to?
    What do you recommend? Perhaps the easiest thing to do would be to purchase a few copies of Acrobat Pro for the reservations people to use? I was hoping that the free version of reader would do it, but perhaps not?
    Thanks again,
    Rob

  • Using the Submit button to Email

    I was previously using Frontpage and I have just recently
    started using DW so a lot of this is still new to me. I did get the
    DW8 for dummies book which is helping a lot, although I know being
    a member on a forum like this will help much more. So any help is
    very much appreciated.
    I am new to this site and did a quick search but I wasn't
    able to find what I was looking for.
    I am basically planning on creating an order form using basic
    radio buttons and name, address, contact info, etc... fields.
    I wanted to have a button on the batton (like the submit
    button) that a customer could click on after filling out the
    specific fields and then the whole page/order form (with its
    contents) would be emailed to me.
    Could the "Submit" be used to do this? I know in the DW 8 for
    Dummies book it mentions that the Submit button is for credit card
    processing companies to send the info and then come back with the
    results, but I just want it to email the completed page/order form
    so the credit card can be processed in the office.

    > Why isn't it as simple as entering in a
    "mailto:[email protected]" type of
    > thing? Or is it?
    It is that simple. However, it is very unreliable. For it to
    work, the
    visitor filling out the form has to have a properly
    configured email client,
    that works with the webpage form. That leaves out people
    using webmail
    services and those using public computers. And- most
    computers will put up
    a warning screen that the form data is being sent by an
    insecure method and
    give the person a choice to send or cancel.
    >
    > Everything I seem to read talks about downloading a
    specific cgi-bin type of
    > thing depending on what my hosts' server has.
    Setting up a form processing script can be very simple.
    First step- check your hosting's support/FAQ section for info
    about forms
    and scripts.
    if your hosting has a control panel or CPanel, look there for
    a
    pre-installed script and instructions on using it.
    The free kaosmailer extension at
    http://kaosweaver.com will create
    the
    scripting for you, within dreamweaver, for your choice of
    asp/php/coldfusion. (pick the one your hosting supports)
    A php script is phpformmail at
    http://boaddrink.com
    An asp script is at
    http://www.brainjar.com/asp/formmail/
    A cgi/Perl script would be at
    http://nms-cgi.sourceforge.net
    (but it would
    be my last choice, a php script would be far easier to set
    up)
    Any further specifics totally depend on what scripting method
    you can use on
    this hosting, and on what script you want to use.

  • On submit button type - There was a problem connecting to the server.

    Hi,
           Please give me a solution for server connection issue. I am new to the adobe live cycle designer ES4.
    I created a web form use of adobe live cycle es4 v.11.0 to retrieve the data from web service method. So, I created the WSDL type data connection in data view menu to invoke the .asmx?wsdl service and connection is established successfully. Then, I dragged and drop a button from object library window to invoke the service method and changed the type as submit button. In the submit button URL, I given the web service url as eg. http://<localhost>:<port>/Web_serive.asmx?wsdl. Finally, I saved it has a PDF file.
        When I click the submit button, a pop up window is openning as 'preparing for submit..' and 'Receving data..' and finally, it shows a pop up error message as 'An error occured during the submit process. There was a problem connecting to the server'. I tried all possiblities and if any bad english grammer, sorry for that.
    Please give me a proper solution for this issue.
    With Regards,
    G. Prabakaran.

    After trying these suggested actions several times success has not been reached.
    I understand you are getting unable to connect to server error message on your printer. I would first unplug router and printer for about 1 minute. I would plug router up first then printer. I would then try to enable web services. If not successful and you get same error message. I would follow these steps.
    1. Obtain your printer's IP address
    a. This can be done by pressing the wireless icon on printer.
    2. Enter the printer's IP address in a browser.
    3. Select the network tab at the top of the page.
    4. On the left select networking.
    5. Select Network Address (IP)
    6. Select Manual DNS Server
    a. Manual Preferred DNS should read 8.8.8.8
    b. Alternate DNS Server should read. 8.8.4.4
    7. Select apply you might get a warning just select okay.
    8.  Try again to access ePrint.
    Let me know how it goes.
    I am able to print wirelessly to the printer, print through eprint, scan, and copy things. The only thing that is not working is the printer itself connecting to the hpeprintcenter.com.
    Kyle

  • How do you customize a submit button in comments module?

    Hi,
    I want to create a customized submit button for the comments module. Right now, the submit button shows up as a css button, i.e. an ugly gray square:
    http://www.graeagle.com/_blog/Graeagle_World/post/Artistic_Musings_in_Graeagle/
    I have a button here http://www.graeagle.com/images/btn_submit.jpg
    that I would like to swap out with the current css button.
    Alternatively, I would be happy with just the factory system button for the OS.
    I have looked at the modulestylesheets.css file and it appears the 'cat_button' style controlled the submit button.
    I have tried to modify the css, yet nothing changed.
    The issue seems to be only with the comments submit button since I have successfully changed the button on all my web forms for this site.
    I have searched the KB but have found no real guide. So, I would most certainly appreciate a step by step approach since I'm coming up empty.
    Cheers,
    Michael

    Hey Liam,
    Thanks so much! The thing I neglected was changing the code on the Blog Details Module Template. So, from your links, I added new css code to my modulestylesheets.css file with the following:
    submit
    .submitBtn {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 18px;
        color: #FFF;
        padding: 5px 40px 5px 40px;
        border: 1px solid #999;
        text-shadow: 0px 1px 1px #666;
        text-decoration: none;
        -moz-box-shadow: 0 1px 3px #111;
        -webkit-box-shadow: 0 1px 3px #111;
        box-shadow: 0 1px 3px #111;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        background: #333333;
        background: -moz-linear-gradient(top, #333333 0%, #4F4F4F 50%, #333333 51%, #33333B 100%);
        background: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#33333B), color-stop(0.4, #4F4F4F), color-stop(0.5, #111111), color-stop(.9, #33333B), color-stop(0.9, #33333B));
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#33333B', GradientType=0 );
        cursor: pointer;
    .submitBtn:hover {
        border: 1px solid #FFF;
    Then under the Site Manager:Module Templates:Blog Post Details Layout I changed the following html code: 
    <input type="submit" value="Submit" /> 
    TO  
    <button type="submit" class="submitBtn"><span>Submit</span></button>
    And it worked like  a charm!
    I wanted to post this here for future reference and help.
    Again, thanks for the great tips!
    Cheers!

Maybe you are looking for