How to Add Automatic Bullets to Rich-Text PDF Form Fields
Question details
The user wants to know how to automatically insert bullets on new lines within a rich-text PDF form field without losing the existing text formatting.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Editing PDF forms and trying to automate bullet points in rich-text fields.
- Observed behavior
- Standard form fields do not automatically generate bullets on new lines without using complex JavaScript that modifies rich-text spans.
Ensure you have access to the PDF form's underlying JavaScript properties and are familiar with Acrobat's form field event triggers like keystroke or validate.
Implement Acrobat JavaScript for Keystroke Events
Use a custom JavaScript in the field's keystroke event to detect line breaks and automatically insert bullet characters while preserving rich-text formatting.
Because rich-text fields use complex span structures to maintain formatting (like bold or italics), simply appending text will often break the styling. An advanced JavaScript solution is required to modify these rich-text spans properly.
Open your PDF in Acrobat and enter the 'Prepare Form' mode from the Tools menu.
Right-click the target rich-text form field and select 'Properties'.
Go to the 'Format' or 'Calculate' tab to inject custom JavaScript into the keystroke or validate event.
Write a script that listens for the 'Enter' key and pushes a bullet character (e.g., '\u2022') into the event.value or rich-text span array.
Exit form editing mode and type into the field to ensure bullets appear on new lines without stripping your text styles.

Edit PDFs and Add Bulleted Lists Easily with WPS PDF
If writing complex JavaScript for PDF forms is too tedious, you can use WPS PDF Editor to directly add, edit, and format text—including bulleted lists—without any coding.
- 1. Open the PDF in WPS Office: Launch WPS Office and open your PDF document using the WPS PDF tool.
- 2. Enter Edit Mode: Click on the 'Edit' tab at the top toolbar and select 'Edit Text' to modify the document's content.
- 3. Add Bulleted Text: Click inside the text box where you want to add a list, and use the bullet point icon in the formatting toolbar to automatically format your text.
- 4. Save the Document: Once your formatting is complete, click 'Save' to preserve the changes to your PDF.

Frequently Asked Questions
Why do rich-text PDF fields lose formatting when adding text via script?
Rich-text fields store formatting data in complex span arrays. If a script simply updates the raw text value instead of modifying the specific span objects, the field resets to its default formatting.
Can I add automatic bullets in standard PDF text fields?
Standard (non-rich-text) PDF fields do not support complex paragraph formatting like automatic bulleted lists. You can manually type a bullet character (Alt+0149 on Windows), but it won't auto-indent or format like a word processor.
Is there a way to add bullets without using JavaScript in Acrobat?
In a fillable form field, no. However, if you are editing the base PDF document rather than filling a form, you can use the 'Edit PDF' tool to add standard bulleted text blocks directly.
How do I test my JavaScript in a PDF form?
You can test your script by exiting the 'Prepare Form' mode, clicking into the field, and typing. Be sure to test different scenarios like pasting text, using different fonts, and pressing Enter to trigger line breaks.




