Adobe Reader Submit Button using JavaScript

We have a form that when submitted it needs to use javascript to update the Subject Line of the email message for our workflow process. This process works absolutely great when using Acrobat. However, when sent to someone using Reader (even with JavaScript enabled through preferences) nothing happens when the button is clicked. The form was designed in Acrobat 10 Professional.
Here is the JavaScript we are using...
var wsuid = this.getField ("mywsuid");
var d = new Date();
var month = d.getMonth()+1;
var day = d.getDate();
var year = d.getFullYear();
var today = ((''+month).length<2 ? '0' : '') + month + '/' + ((''+day).length<2 ? '0' : '') + '/' + day +  year;
var name = this.getField("name");
var subject = "subject: " + (wsuid.valueAsString) + ":" + (name.valueAsString) + ":" + (today);
this.mailDoc({
    bUI: true,
    cTo: "[email protected]",
    cCc: "",
    cSubject: subject,
Suggestions on getting this to work with Acrobat Reader is much appreciated.
Dawn Bleuel
Wichita State University

I was able to open the JavaScript debugger in Acrobat Pro. When the document is Reader Enabled, I get the following message:
Acrobat EScript Built-in Functions Version 10.0
Acrobat SOAP 10.0
NotAllowedError: Security settings prevent access to this property or method.
Doc.subject:15:Field Submit:Mouse Up
And in Acrobat Pro - I now see Protected View is set to Off.

Similar Messages

  • Associating two events with submit button using  javascript in jsp

    Hi
    How can i Associate two events with submit button using javascript in jsp. Firstly it should insert the data to database and secondly it should close the same pop-up window

    Have something like :
    <input type="submit" name="submitbtn" value="Click me" onClick="function1(); function2(); " />
    You just call both functions sequentially, it's that simple. Although using javascript to work with a database, that seems a bit tricky.

  • Disable button using javascript

    Hi,
    I'm sorry if this is a relatively simple problem, but I have tried several things and have searched the forum, but still no luck!
    I am trying to get a button in a form to be disabled or hidden on loading the page and only to become enabled or shown once an 'onclick' event occurs. I already have a javascript function running successfully on the 'onclick' event, so there is no problem with that.
    Preferably I would like the button to be template driven, but I realise that disabling/hiding it may only be possible with an HTML button.
    I have tried the following JavaScript, but it appears to do nothing:
    document.getElementById('P6_OK').disabled=true;
    $x_HideItemRow('P6_OK');
    If the JavaScript is ok it is probably the way I am implementing it into the HTML.
    Thanks
    Lucy

    Hi,
    I'm still having troubles with this (see above). If anyone has successfully managed to disable a button using JavaScript I would be interested in how they did it.
    To clarify, I have tried the following two pieces of script, among others:
    (1) document.getElementById('P6_OK').disabled=true;
    (2) $x_HideItemRow('P6_OK');
    I have read quite a few forum links and followed what others have done, but in vain.
    Thanks for your help
    Lucy

  • Hide an HTML button using javascript

    Hi,
    I need to hide an html buttton using javascript. I have an radio button with values "YES" and "NO". If is select NO then i need hide the button without refreshing the page. Can anyone suggest me how to hide an button using javascript.
    Thanks
    Prashanth

    Prashanth,
    The exact solution will vary based on a few factors. The basic idea is to place an event handler on the radio button item that calls a function to hide/show the button. You might also want to call that function when the page loads too.
    If you put an example page on apex.oracle.com and provide the workspace/username/password I'll take a look. You can create a new account for this purpose.
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/

  • Adobe reader has buttons next page and previous page, why not also top of current page and bottom of

    Adobe reader has buttons "next page" and "previous page",
    why not alson "bottom of current page" and "top of current page" ,
    these would be very useful if the page is increase to the maximum left and right

    This is a user forum; if you have any product enhancement requests, do it here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Can i use adobe reader for business use?

    i'm starting a computer repair business and need adobe reader for lots of pdf documents and was wandering if i can use adobe reader for business use?

    Before trying to answer your question, a bit of advise: don't post your email address in a public forum such as this, as you did in the message above. I am answering to the one before that, so that you may remove your address from your last message.
    As to your question, the short and frank answer is "I don't know". The long answer is that I still don't see where the free Reader comes in your making some money. For backing up files, one does not need the program used to create or open them; one can just copy and paste them, without even opening them. And while one does need Reader or Acrobat to open the PDF files and then print them, in the eyes of this complete ignorant of the pertinent laws even in my own country, you would be fully justified if you charged for your time and for the use of your computer and your printer. As I understand things, many print shops (those using presses, not printers) print from PDF files provided by their clients without even needing to ask Adobe for permission to do so.
    Let's hope that someone with a better knowledge of the legal aspects of this matter reads your question.

  • Is adobe reader safe to use on a mac?

    is adobe reader safe to use on a mac? I've heard recently that there may be a problem with Adobe Reader on the Mac.

    Yes, Adobe Reader is safe to use. Download it directly from the Adobe site at http://get.adobe.com/reader/ .
    There was recently some malware that involved Adobe Flash, however, that has nothing to do with the Reader.

  • Cannot use Adobe Reader "Mail" button to send via Yahoo mail.

    When trying to use the "mail" button in Adobe Reader (or do File -> Send File...) to send the file via Yahoo e-mail, I get the following error:
    "An unknown error occurred while uploading the attachment."
    Adobe Reader 11.0.10 for Windows.
    Getting this error only on Yahoo e-mail accounts
    Getting this on multiple Yahoo accounts on multiple PC's. 
    All PC's have current versions of Reader (11.0.10), all Windows 7/IE11 with current patches.
    A client of ours was using this until last week, when it stopped working.
    It is not working on any PC right now with Yahoo mail.

    Hi johnc46494667,
    Please let me know whether you are getting this error since an Adobe Reader update.
    Are you signed out of other accounts (except yahoo)?
    Does this happen with every PDF file or any particular one?
    Hope to hear from you.
    Regards,
    Anubha

  • Edit email for submit button and Javascript?

    How can I change an email address attached to a submit  button on a previously created form? 2) How can I see if JavaScript is being used with form? A prior team member created interactive forms with a submit button. Email address attached to button needs to be updated. I tried to edit in Acrobat Pro by double  clicking the button to access the properties panel, but it doesn't open. If I recreate the form to amend the address, my file size is about 1/3 of the original which leads me to believe there is JavaScript.

    Thank you. My version of Adobe Acrobat Pro X  Tools- Forms edits in
    LiveCycle Designer after the form has been created and saved.. There is no
    other edit option as shown in the screen print below. The action wizard in
    Pro doesn't seem to apply in this case. I had tried right clicking the
    button in both Pro and LiveCycle previously to no avail. However, when the
    form opens in LiveCycle, I just figured out that there is an object window
    that allowed me to modify the email address.
    However, I don't understand the file size difference or even how to find
    the JS. We both used the same original word docx. His file size is 47K and
    my recreated file is 19K, a big difference. I didn't compress mine. Any
    thoughts on what is causing the difference? The forms are on a client's
    website for external users to complete so load time is still important.
    Thanks,Vickie
    On Fri, May 23, 2014 at 4:24 AM, Gilad D (try67)

  • Adobe Acrobat submit button feature not working

    Hello,
    I just  created a new time card using Adobe Acrobat. I'd like to make it so when  the user enters their hours, they click on the submit button and it  routes the form to the e-mail I've provided.
    Following the directions provided by adobe (http://www.adobe.com/designcenter/acrobat/articles/acr8at_addsubmit.ht ml), I added mailto: myE-mailAddress@...
    But  when I tested out the form by clicking submit, a dialog box appeared  asking me to save it, but then I ended up receiving NO e-mail.

    When using a mailtotype URL, be sure there is no space between "mailto:" and the email address. For example:
    "mailto:[email protected]"
    and not
    "MailTo: [email protected]"
    But that's not likely to be your problem. It is up to the user to complete the sending of the email. If the user elects to save the data or PDF locally, it is up to them to then attach the file manually. In the other case, they have to complete the sending of the email. If their default email program does not get launched with the file attached, then thir system is not properly set up.

  • Email submit button using drop down boxes, cc field and

    I have a form that I would like to have the employees use a drop down box that already exists on the form with names and email addresses and use those names in the to field of an email submit button.  Also, I do have a static cc: address in teh cc field and for the subject of the email to use  an existing field such as the name field as the subject of the email and attach the form to it.

    I tried that but it  does not seem to be working.  I am a JavaScript Novice.  I am trying  to use the mailto field based on email addresses in a dropdown box, a static cc field like cc: [email protected] and for the subject to be based on the company name field on the form.  But before all of that I want to make sure all the required fields are filled out.  help I have been working on this for over a year.  It may seem simple but it's not working.

  • Can't submit JSF using Javascript

    I apologize if this is an obvious newbie question.
    I have a simple JSF page with a component users can click on to select a number. Using Javascript, I populate a textbox with the number they select, then attempt to submit the form, also using Javascript. But this doesn't work.
    The form submits and returns as though the user had submitted without a value in the textbox, and then their number appears in the textbox (it should be empty at this point).
    The form works fine if I use Javascript only to set the value in the textbox and require the user to manually press the Submit button.
    TIA for any help!

    Sorry, this is in the wrong place (and I can't find a way to delete it). Please ignore.

  • Data passing from Adobe from submit button to BSP controller with XML

    Dear Friends
    How are you. I am developing one BSP application with Adobe interactive form. To complete this task I have use following linked solution. ( A PDF file that tells how to use Adobe forms with BSP application ).
    My application runs fine 50%. I did the same things what the tutorial told me and I am seeing the page in the webbrowser with Adobe from what i have developed.
    In the form I have put SUBMIT button and I have set properties as well... I have give full url as well for the controller to take data there over XML.
    In the controller I am not receiving any value. I have attached the code beneath as well... please tell me where I am making mistakes. I am thanking you. Any help will be appreciated.
    data: formxml type string.
    formxml = request->get_cdata( ).
    data: streamfactory type ref to if_ixml_stream_factory.
    data: istream type ref to if_ixml_istream.
    streamfactory = g_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    data: document type ref to if_ixml_document.
    document = g_ixml->create_document( ).
    data: parser type ref to if_ixml_parser.
    parser = g_ixml->create_parser( stream_factory = streamfactory
                                    istream = istream
                                    document = document ).
    parser->parse( ).
    data: node type ref to if_ixml_node.
    data: strchecked type string.
    node = document->find_from_name( name = 'ACC_REQ').   <------ Node is empty
    strchecked = node->get_value( ).
    This is the link of the solution what i refered to complete this application:
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID0005508150DB01147043631230799453End?rid=/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4&overridelayout=true

    Dear Naeem,
    Actually i also tried the same link. For me its displayed the form. After giving the input when i click for submit nothing will happen.
    Its blinked and displayed the same page. I think for the node is getting value and some where its doesnt retrive the value.
    I will check and get back you soon once i found.
    Regards,
    Anita Vizhi Arasi B

  • Selecting or highlighting node or mesh by button using javascript

    Hi
    I have 3D pdf model with node 1001 or mesh name 2002 and when I klick it by mouse on 3D view it is highlighted and get orange boundary box.
    I have created button name 1001 button and I would like to add to this button javascript function which will highlight this node or mesh in the same way as click on those.
    I found in discusion some way of make it for example red by changing rendering mode to illustration but it is not what I am trying to do. I asking if it is possible just select from button using name of node or mesh. if you have any exmaple of script i will be very pleased.

    thanks for answer.
    It is not what I want to do
    I have 5 layer and on each layer I have one node and under neath one mesh.
    I would like to select node or mesh by clicking button created on page not by clicking in 3d model or Model Tree. Like below bottles are selected (highlighted).
    NowI doing it like that:
    BUTTON 1-----------------------------------------------
    myAnnotObj = getAnnots3D(0)[0].context3D;
    myAnnotObj.scene.defaultRenderOptions.illustrationRenderModeFaceColor.set( 1, 0, 0 );
    for (var i = 0; i < myAnnotObj.scene.meshes.count; ++i)
    mesh = myAnnotObj.scene.meshes.getByIndex(i);
    mesh.renderMode = "solid";
    HighlObj = myAnnotObj.scene.meshes.getByName("1001");
    HighlObj.renderMode = "illustration";
    BUTTON 2-----------------------------------------------
    myAnnotObj = getAnnots3D(0)[0].context3D;
    myAnnotObj.scene.defaultRenderOptions.illustrationRenderModeFaceColor.set( 1, 0, 0 );
    for (var i = 0; i < myAnnotObj.scene.meshes.count; ++i)
    mesh = myAnnotObj.scene.meshes.getByIndex(i);
    mesh.renderMode = "solid";
    HighlObj = myAnnotObj.scene.meshes.getByName("2002");
    HighlObj.renderMode = "illustration";
    in this method I have to clean old selection in the loop doing this render mode back to solid. In the same time my selection not working at all in render mode illustration. So I would like to find how to select like in picture from button in document. by script.

  • Email submit button - using Lotus Notes

    Hi,
    I am creating a helpdesk form and have done the following already. I am using Adobe LiveCycle Designer 8.0 and the rest of the users have Adobe 8 professional. They will be filling out the form with Adobe 8 Pro.
    1. Created a submit button which emails the form as a PDF file to the helpdesk, includes the subject and body
    2. Changed the default email application in IE to Lotus notes
    However, when I click on the submit button, it still opens a new "email" in Outlook, which we don't use. We are using Lotus Notes 6. I've searched this form on how to change the default email application from Outlook but didn't find anything other than changing it in IE.
    Any help would be appreciated!! I am not an Adobe developer, just trying to create something that is better that what is currently out there.

    Hi, sorry only just seen this post.
    You have probably worked this out for yourself by now.
    Basically in lotus notes
    File > Preferences > user preferences> Mail > internet
    then tick use lotus as you default mail.
    Hope this helps

Maybe you are looking for

  • Diferimento Parcial do ICMS PR  (processo de compras)

    Boa Tarde a todos, gostaría tirar uma dúvida com voces e validar se o processo que estou fazendo esta certo. Meu cliente tem planta em Parana, portanto tenho algumas Notas Fiscais onde acontece o seguinte casso; Total da nota; 2260 Base de calculo: 2

  • Text in adobe reader iOS

    Can I insert underlined text or only underline existing text?

  • Type RAW not accepted in function module for workflow

    Hi, this is a crazy thing for me: I like to start a workflow from a report. Usually will use the function module SWU_START_WORKFLOW". Usually this is no problem. Here is my current problem: One of the elements I have to transfer to workflow is define

  • Picking Request

    Friends, I had a question on Sales Document flow. When you expand the document flow of Sales Order or a delivery, you see different status like Sales, Delivery, Picking Request, Invoice & Accounting. In that, Can You give me steps to create Picking r

  • Can I install Siri in iPhone 4g

    Can I install Siri in iPhone 4g