![](/uploads/1/2/5/7/125729534/373325915.jpg)
Hello,
I have a pdf in Acrobat 9 Pro. I've converted it to a web form which is called from, and submits to a cold fusion application for processing. That all works fine.
Placeholders in code examples. CFields) blue. The name of an icon to be used in displaying the annotation. Buttons, check boxes, radio buttons, and signatures to indicate that the form field has the.
Now, I'm trying to put some client-side validation in place. I double click the text input field (e.g. email), click on the Validate tab, and under 'Run custom validation script', I enter something as simply as:
alert('test');
Then I try submitting the form with input in that field and without input. The custom Validation script never fires the pop-up.
Can anyone point me to a simple example for making this work?
Thank you very much.
Before you distribute a PDF, you may want to examine the document for sensitive content or private information that can trace the document to you. Use the Redact tools to remove or redact sensitive images and text that are visible in a PDF.Use the Remove Hidden Information feature to find and remove hidden content from a PDF. For example, if you created the PDF, the document metadata normally lists your name as the author. You may also want to remove content that can inadvertently change and modify the document’s appearance. JavaScript, actions, and form fields are types of content that are subject to change. To search for only one word or phrase, choose Single Word Or Phrase and type the word or phrase in the text field. To search for multiple words, select Multiple Words Or Phrase, and then click Select Words.
Type each word in the New Word Or Phrase text field and click Add. You can also import a text file with the list of words or phrases to search for. To search for a pattern (for example, phone numbers, credit card numbers, email addresses, social security numbers, or dates), click Patterns. Choose one of the available patterns. You can change the language version of the patterns. To select all occurrences in the list, click Check All. To select individual occurrences, click the check box for each one you want to redact.
Click the text next to a check box to view the occurrence on the page. To mark none of the occurrences, close the Search dialog box or click New Search to start over. To mark whole words or partial words (characters) for redaction, select the option under Redaction Mark Options. For partial words, select Mark Partial Word(s) For Redaction the Settings dialog box appears. In the Settings dialog box, specify the number and location of the characters for redaction. Character redaction is useful if you’re searching for a pattern, like credit card numbers, and want to leave part of the number visible for identification purposes.
![Checkbox Checkbox](http://www.makemoneyupdaters.com/wp-content/themes/boombox/screenshot.png)
MetadataMetadata includes information about the document and its contents, such as the author’s name, keywords, and copyright information. To view metadata, choose File Properties.File AttachmentsFiles of any format can be attached to the PDF as an attachment.
To view attachments, choose View Show/Hide Navigation Panes Attachments.BookmarksBookmarks are links with representational text that open specific pages in the PDF. To view bookmarks, choose View Show/Hide Navigation Panes Bookmarks.Comments And MarkupsThis item includes all comments that were added to the PDF using the comment and markup tool, including files attached as comments. To view comments, choose Tools Comments.Form FieldsThis item includes Form Fields (including Signature fields), and all Actions and calculations associated with form fields. If you remove this item, all form fields are flattened and can no longer be filled out, edited, or signed.Hidden TextThis item indicates text in the PDF that is either transparent, covered up by other content, or the same color as the background.Hidden LayersPDFs can contain multiple layers that can be shown or hidden.
Removing hidden layers removes these layers from the PDF and flattens remaining layers into a single layer. To view layers, choose View Show/Hide Navigation Panes Layers.Embedded Search IndexAn embedded search index speeds up searches in the PDF file. To determine if the PDF contains a search index, choose Tools Index and then click Manage Embedded Index in the secondary toolbar. Removing indexes decreases file size but increases search time for the PDF.Deleted Or Cropped ContentPDFs sometimes retain content that has been removed and no longer visible, such as cropped or deleted pages, or deleted images.Links, Actions And JavaScriptsThis item includes web links, actions added by the Actions wizard, and JavaScripts throughout the document.Overlapping ObjectsThis item includes objects that overlap one another. The objects can be images (composed of pixels), vector graphics (composed of paths), gradients, or patterns.
Sanitize documents removes all sensitive information, hidden or not, from your document so that the information is not passed along when you publish your PDF.It removes:. Metadata. Embedded content and attached files.
Scripts. Hidden layers. Embedded search indexes. Stored form data.
Review and comment data. Comments hidden within the body of the PDF file.
Hidden data from the previous document saves. Obscured text and images. Unreferenced data. Links, actions, and javascripts. Overlapping objects.
Click the Redacted Area Fill Color icon and select a fill color from the color palette for the boxes that replace removed items. Choose No Color to leave the redacted area blank. Select Use Overlay Text if you want to select the custom text or redaction code options. Select the font, size, and text alignment.
Select Custom Text, and type the text you want to appear in the redacted area. Select Redaction Code, and then either select a code within an existing set, or click Edit Code to define a new code set or a new code. (See.). In the Redaction Mark Appearance area, click the Outline Color icon or Fill Color icon or both.
Select a color from the color palette for the images and text you mark for redaction. Move the slider to adjust the opacity of the color. Choose No Color to leave the selected area blank. To remove a code set and all of the code entries within it, select an entry form the Code Set and click Remove Set. To export a code set to a separate XML file that you can reuse in other PDFs or share with others, select the code set. Then click Export Set, specify a filename and location, and click Save. To import a previously saved code set, click Import Set, locate and select that file, and click Open.
To rename a code set, select an entry from the Code Set, type a new name in the box below the list and click Rename Set.
![](/uploads/1/2/5/7/125729534/373325915.jpg)