PDF form: blocking of the fields before you send it by e-mail

Hello!

I have to scratch my head with this problem for a while: I have this form must be sent by email with some locked fields (read-only).

What I do is affecting this BEFORE as I have the e-mail form:

fieldName.access = "readOnly";

app.execMenuItem ("SaveAs");

However, the form always happens at destination with the field unlocked and ready for editing.

Am I missing something?

Thank you for all the ideas!

Marcos


Hi Marcos,

Just check first that the changes script preserve is set to automatic.

Then, make sure that the script has completely executed before e-mail script. It might help to put the script to access the mouseUp event that fires before the click event (containing the saveAs script).

I then test this separate for the mail script and see it works on the local PC.

Hope that helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Blocking of form fields before you send it by e-mail


    I created a form with fields and the button to send it by e-mail. This button should send the form with the information filled in PDF format, before being sent, some of the form fields to read only so no one else can change the contents of the fields.

    To achieve this end, I used the following script:

    1. F.Page_1.Button1::full - (JavaScript, client)
    2. F.Page_1.FIELD_ONE.access = "readOnly";

    ..

    1. F.Page_1.FIELD_TWO.access = "readOnly";
    2. app.execMenuItem ('Save');

    However, when the file is sent to the fields are not locked (ReadOnly), they can always be changed.

    Thanks for the tips!

    It is because you are using a Submit button. Thise buttons cannot be programmed. I suggest you add a second button (it is a regular button) and then the click event will be active. Add your code to this button and at the end of your code you can programmatically click the button submit like this your_button_name.execEvent ("click"). After that you can make your invisible submit button so that the user sees only a single button click.

    HOEP that helps

    Paul

  • PDF form: fill in the field with the value of another field

    Hello

    I have a PDF form that one of our employees has to be completed on a regular basis.

    There is a 'product' - text field, which is present on the form several times, which will contain the same information.

    From now on, my colleague has fill all these these one by one manually. But with the copy - paste, it doesn't take more than a few seconds.

    However, to facilitate work a little, I want to it to be able to simply fill out one of the fields (can be a specific, must not be dynamic) and all the other 'product' - fields automatically takes the value of the field of this first.

    How can I accomplish this?

    I noted the possibility of JavaScript controls.

    I am familiar with basic JavaScript, however never used it for PDF files.

    Any help and pointers would be appreciated.

    Thank you very much.

    This isn't a problem with script. Just give each field of the same name. Once the field names are the same, a change in one will be to another. For some reason that it does not work with standard HTML forms, probably the reason why you ask.

  • How to analyze music files before you send it by e-mail

    Not sure if this is the proper place to ask this, but I apologize if it is. I ask this because I can't tell friends who send me music files. When I get the files it always says that it came from an unknown source and can infect my computer. It seems that they send me music each file has this message attached to each time. I was wondering if there is something that they could do at their end before sending it (maybe somehow scan) to make it easier and more secure. Thank you very much.

    Hello

    Thanks for the reply.

    You should not open any e-mail from an unknown source. However, if you trust the user you can download the attachment and run a virus on the file scan by using the antivirus program installed on the computer if required you can also use the Microsoft Safety Scanner to check if it contains no threat.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: the data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    You work on the AOL e-mail program, the best option will be to contact them for help.

    http://help.AOL.com/help/microsites/search.do?cmd=displayKC&externalID=217480

    It will be useful.

  • I need to create a PDf form with specific editable fields, including the ability to insert an electronic signature and to be able to save the completed form. What version of adobe supports this?

    I need to create a PDF form with specific editable fields, including the ability to insert an electronic signature and to be able to save the completed form. What version of adobe supports this?

    subscription dc Acrobat or purchase, Plans and prices | Adobe Acrobat DC

  • I'm trying to fill a PDF form and in the phone section is not allowing me to enter more than 2 digits by field. Help!

    Troubleshoot.JPG

    In this case go to tools - prepare the form, right-click the field and select Properties, then Options.

    Look if the boxes 'Limit characters X' or 'Comb of characters X' is selected. If Yes, select not them, and then click OK.

    Leave the form editing mode, and then try again.

  • How can I create a PDF form that contains data fields and calculated fields?

    Hello, I need to create PDF forms that has

    -Fields that are read from a MS SQL Server database, once the user enters a field other fields must be read from an underlying database

    -Calculated fields

    what PDF forms product supports this? Once this file created is also filling end-user which form has any kind of special licenses, otherwise he will be able to fill this with Adobe Reader?

    You need to expand the PDF form using Adobe LiveCycle Designer if you want to be able to connect to a database.

    And Yes, it should be possible to use the file in Adobe Reader after that.

    For more questions on LCD forms are trying this forum: LiveCycle Designer

  • PDF forms: extraction of data fields using javascript

    Hi, I was wondering if someone could help me...

    I have created a PDF form which, once the user fills out the fields, he or she will click on a button to send the form by e-mail to their Manager. Once the registration form is authorized by the Director, the Manager will be click on another button, which will forward the form to the original user. The user would have filled their email address in one of the fields in the form. Is it possible to extract data from the field e-mail address using javascript?

    Thank you very much!

    You would have to do something like this:

    // Get the email addresses
    var email1 = getField("email1").valueAsString;
    var email2 = getField("email2").valueAsString;
    
    // Send the email
    try {
        mailDoc({
            bUI: false,
            cTo: email_addr1 + ";" + email_addr2,
            cSubject: "The subject of the mail",
            cMsg: "The message body of the email"
        });
    } catch(e) {
        app.alert("Could not send email, sorry.", 1);
    }
    

    Note that the e-mail addresses must be separated by a semicolon, as shown. Also, affecting false bUI will only work if the code is run form a privileged context, as in a JavaScript file to the folder level.

    If you want to hard-code one of the e-mail addresses, it would look like:

            cTo: email_addr1 + ";[email protected]",
    
  • you will need to convert wps to doc before you send it. you will need to return to the same formula. How?

    isn't it good that nobody can open my resume.  cannot expect people on the receiving end to convert.  How can I convert it before you send it?

    Hi Jchester,

    Welcome to the Microsoft Answers site!

    Try these methods.

    In the first method, you create a document in Works, and then save it as a Word (.doc) document. In the second method, you use the Works 6-9 Converter to open the Works (.wps) word processing document in Word.

    Method 1

    If you have Microsoft Works installed on your computer

    To convert a Works in Word document, Works to save the document as a Word document and then open the document directly in Word.

    To convert a document Works 6.0, Works 7.0, Works 8.0 or Works 9.0 so that you can open it directly in Word, save the document as a Word document. To do this, follow these steps:

    1. in Works, open the document you want to open in Word.

    2. click on file and then click on record under.

    3. in the dialog box record under , do the following:

    a. replace the area Save in where you want to save the Word in your document format version.

    (b) in the file name box, type a new name (if necessary) for the Word version of your document.

    (c) in the Save as type box, select Word 97-2000 and 6.0/95 - RTF (* .doc), and then click Save.

    Note If you use Works 8.0, select Word 97-2003 (* .doc) the area type , and then click Save.

    d. on the file menu, click close to close the document before you try to open the document in Word.

    4. start Microsoft Word and open the newly created document.

    Method 2: If you do not have Microsoft Works installed on your computer

    If you have a Works (.wps) document that you want to open and you don't have any installed works, you can still use Word to open the file. To do this, first use the Works 6-9 converter in Word and open the document directly in Word.

    Step 1: Download the Works 6-9 Converter

    If you have previously installed runs on the same computer on which Word is installed, the Works 6-9 Converter is already installed and you can proceed to step 2: "Open the Works document in Word."

    If you have not already installed works on your computer, you must download the Works 6-9 converter to open the document in Word. To download the Works 6-9 converter, follow these steps:

    1. If it is open, close Microsoft Word.

    In your Web browser, visit the Microsoft Web site at the following address:

    http://www.Microsoft.com/downloads/details.aspx?FamilyId=bf41401e-70fa-465D-ae2e-cf44dbf05297&displayLang=en (http://www.microsoft.com/downloads/details.aspx?FamilyId=bf41401e-70fa-465d-ae2e-cf44dbf05297&displayLang=en)

    2. click on download. The file download dialog box opens.

    3. in the file download dialog box, click Save the file.

    4. double-click on the saved file to start the installer Works 6-9 Converter.

    5. click I agree to accept the terms of the license agreementand follow the instructions to install the Works 6-9 converter.

    Note If you do not agree to the terms of the license agreement, the installation cannot continue.

    6. click on install to install the converter file on your computer. The Works 6-9 Converter Setup now extracts the Works 6-9 file converter and installs it on your computer. You can now open the Works file in Word.

    Note If the file downloads or is incorrectly installed, you can go to the "Next steps" section for help.

    Step 2: Open the Works document in Word

    You can use Word to open a Works (.wps) document file, even if the file was not converted to Word (.doc) beforehand, using the Works 6-9 Converter. Follow these steps to open the Works document using the Works 6-9 Converter:

    1. start Word.

    2. in Word 2000, Word 2002, or Word 2003, click the file menu, and then click Open. In Word 2007, click the Microsoft Office button, and then click Open.

    3. in the Open dialog box, follow these steps:

    (a) change the area Search in the location of your Works document.

    (b) in the area types of file , click on all files (*. *).

    (c) select the Works (.wps) document that you want to open and then click Open.

    4. If the document opens correctly, click file, click on record underand then change the type of file to a Microsoft Word (.doc) document.

    5. save the document and you managed to convert the file to a Word document

    How to open a Works 6.0, a 7.0 Works, a Works 8.0 or Works 9.0 in Word Processor document
    http://support.Microsoft.com/kb/315757

    Hope this has been helpful.

    Thank you and best regards,

    Bindu S - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think

  • On the page before you can install is a request click on a product name.  How do I do that?

    On the page before you can install is a request click on a product name.  How do I do that?

    On the page before you can install is a request click on a product name.  How do I do that?

    There is an exclamation explanations indicating the requirement for Windows Vista is not supported.

  • How to get the TOTAL size of the article before you download?

    Hi all

    Anyone know how to see what is the total size of the article before you download? I have an article that contains the video and several pages. I know I'm next above the limit, but I can't see how. I know that you can see the total link but surely Indesign, it's self will add more info on which will increase the size? I checked the video and pictures and they seem to fall under the 200 MB for the article. That article is not big so I need to know what is the total amount.

    I hope someone can help!

    (B) the limit is 100 MB for an article.

    That's really low, when you add videos to your article, so I hope they will change that in the future!

  • Could not receive the PIN on cell phone. does not the text. can you send PIN on email or phone?

    I tried to update firefox for several weeks. I have a mobile phone but NOT text. Therefore, I can't receive the PIN that you send on the mobile phone. Hoped a voice message.
    How can I update firefox so I can't receive your PIN?

    Hello, firefox will never ask a PIN or something of the types of update/install/use - it is always available for free and without obstacles. This seems rather to be a scam of malware on your computer.

    Please reset firefox and run a full scan of your system with the security software you have in place and various other tools such as the free version of malwarebytes & adwcleaner.

    Remove a toolbar that has supported your Firefox or the homepage search
    Fix Firefox problems caused by malicious software

  • How can I automatically populate the date field after only one "digitally signs" a .pdf form? Help, please! Thank you!

    How can I automatically populate the date field after only one "digitally signs" a .pdf form? Here's a sample:

    _ Digital Signature___ (signs), Date (Auto-remplit)

    Under field properties of the signature on the signature tab, you can use a custom script, like this:

    this.getField("Date").value = util.printd ("mm/dd/yyyy", new Date());

    You know, however, that a digital signature always displays the date and time, it has been applied?

  • How to lock before the send in pdf form but AFTER the validation check

    I have this javascript on my form submit button, (who submits in pdf format).

    Form1. MainPage.Submit::preSubmit:form - (JavaScript, client)

    If (form1.execValidate () is true)
    {
    Form1. MainPage.Submit.presence = "invisible";
    Form1.access = "protected";
    }

    The problem is that I don't want the form fields to be protected until all of the fields have been validated.  After validation, I want the whole pdf locked before the pdf file is submitted.  I have this script the submit events, but he doesn't know the "form1.access ="protected "; "code.

    The PDF can not lock until all required fields have been filled.  It must lock before being submitted so that the recipient of the form may not change it.  I really try to avoid to have 2 buttons submit or a solution along these lines.  I am at a loss, why I can't get the fields to protect inside the script of "If"?

    Hello

    I don't know why the preSubmit isn't catching the change access. Maybe it's too close for the submission process. You would it be in the mouseUp event of the submit button. It fires immediately before the click event, so should be completed when starting the submission process.

    if (form1.execValidate() == true)
    {
         form1.access = "protected";
    }
    

    Note, however, that this locks everything, including the buttons. Once access is changed to protected you will have no way to change back to open, unless you build in a mechanism.

    All of the solution of Paul is preferable, because it keeps it the buttons open, that would be better that the bid may fail and the user may want to resubmit. There are ways around that as well. Overall, I always recommend the solution of Paul.

    There is a screenshot and explanation here: Re: fillable recording not fillable PDF

    Hope that helps,

    Niall

  • PDF form coming in the e-mail, but no form fields are filled

    I want to open a full PDF file and not an XML file which is sent when someone fills out a form online.  So, I made a document in Word, saved as a PDF, and then imported into LiveCycle Designer 8.0.  From there on, I created the fields in the form, add a button for the email out because the stock e-mail button does not work properly from what I've read (change the command send, add the e-mail address and change submitted as a PDF file) and save the document.  I then have an open document in Adobe Acrobat 8 Pro.  Go to advanced and choose enable usage rights in Adobe Reader.  Then save this file under a new name.  Then I can the PDF by e-mail to someone or put it on my site.

    Here's the problem:

    When someone fills out the form, it will automatically send automatically to the correct mailbox (good).  The PDF file opens and the PDF form looks like that I designed this (good).  But all form fields that have been filled... nothing appears. all I see is my PDF (bad) form.  I tried at least a dozen ways over the past two days to create the PDF... but when the received PDF file is opened later, none of the form fields are visible with what someone types in.

    Can someone tell me what I am doing wrong?  I'm not good at Adobe, but I'm learning.  I can understand most of the things, but this problem is driving me crazy.

    Thank you!

    Thr default iOS or iAnything PDF Viewer does not support on a PDF form fields.

    Without knowledge of the programs and specific systems, it is difficult to answer.

    Overview programme Apple on Macintosh systems is known to have problems with the form, and it corrupts form fields insofar as they do not display the data unless the user is in the field. It is also know to make simple PDFs unreadable.

    There could also be problems with various mail programs because PDF forms contain binary data and not simple text.

Maybe you are looking for

  • Kernel panic macbook pro

    Hello. I have 2 times a kernel panic. Can you help me. Anonymous UUID: 923C9FD0-BE50-0969-DD18-BF008908B188 Mon 13 June 16:07:43 2016 panic (cpu 1 0xffffff80284dc43e appellant): Kernel trap at 0xffffff802830e241, type 14 = page fault, registers: CR0:

  • Qosmio G40 - trying to install Magic Mouse

    Hello world I tried to install the Apple Magic Mouse in Windows 7 using the unofficial UneasySilence driver and can not get the scrolling, only left and right clicks. Research on the net, it seems to be the kind of a lottery: some wins, some loses; I

  • Satellite A200 PSAE3: Windows XP Home edition do not recognize the modem and sound card

    Hi all! I can't understand what is the problem with my Satellite A200 (PSAE3)... I downloaded all the files on the right of the Toshiba Download Center, updated the BIOS to WXP but XP still not find any sound card or any modem. He isn't finding a dev

  • My Satellite A series PC laptop does not light

    I just bought a new machine and got it home, plugged in, and it won't turn. I don't think I've missed something.Battery light flashes orange and there is a white light to the shower entrance. Any ideas out there?I hope someone can tell me that it tak

  • the Xerox workcentre 3550 network printer status is not available

    Having a problem with a xerox workcentre 3550 on a windows server 2008, this doen't impression and shows this error "the network printer status is not available.