Create Custom Month Name Date Formats in PDF Forms
Question details
The user needs to create a custom date format in a PDF form that displays full month names, such as '11 of June, 2017'.

- Product
- PDF editor
- Device & OS
- not provided
- Scenario
- Designing or editing an interactive PDF form requiring users to input dates with naturally spelled-out month names.
- Observed behavior
- Standard PDF date fields do not reliably support or validate manual entries of spelled-out month names causing formatting errors.
Ensure you are using a premium PDF editor with interactive form-creation capabilities, and decide whether your form users will type the date manually or select it from a menu.
Use a Drop-down List for Month Names
Replacing a single text field with a drop-down menu ensures users select a valid month name without typing errors.
Using a combination of separate fields for the day, month, and year allows you to bypass the strict formatting rules of standard PDF date fields. By assigning the month to a drop-down list, you eliminate parsing errors entirely while retaining the exact layout you want.
Open your PDF editor's Form tab and insert three separate interactive fields for the Day, Month, and Year.
Change the field properties of the designated Month field to function as a 'Drop-down' or 'Combo Box'.
Access the properties of the Month drop-down and manually add the 12 calendar months (January to December) as selectable items.
Apply custom validation scripts or format settings on the Day and Year text fields to ensure they accept only numeric values.

Separate Day, Month, and Year Text Fields with Scripted Validation
If you prefer text entry but want strict layout control, use separate text fields and apply a validation script to reject impossible dates.
Create and Manage Interactive PDF Forms in WPS Office
WPS PDF offers a comprehensive suite of tools for adding interactive date fields, drop-down menus, and custom text boxes to any document effortlessly.
- 1. Open the document: Launch WPS Office and open your target PDF file in WPS PDF.
- 2. Access Form features: Click on the 'Form' tab located in the top navigation ribbon to reveal interactive elements.
- 3. Insert form controls: Select the Combo Box tool or Text Field tool to draw your custom Day, Month, and Year fields onto the page.
- 4. Edit properties: Double-click the newly created field to open the Properties menu, where you can add your month list or configure specific formatting rules.

Frequently Asked Questions
Why doesn't standard PDF date formatting recognize typed month names?
Standard PDF date formatters rely on specific numerical shorthand patterns (such as mm/dd/yyyy). When users type alphabetic strings like 'June', the built-in parser fails to match it against numerical patterns, throwing an 'Invalid Date' error.
Can I use JavaScript to automatically format a standard date field into a custom month name?
Yes. You can apply a custom keystroke and format script in the field properties using the util.printd function in standard PDF software to convert an inputted numerical date into formats like '11 of June, 2017'.
How do I prevent users from picking February 29th on a non-leap year?
To reject invalid leap year dates in a multi-field setup, you must implement a document-level validation script that calculates whether the entered year is a leap year and restricts the day field to 28 if it isn't.
Are PDF form drop-down fields compatible across all PDF readers?
Yes, standard PDF drop-down menus (Combo Boxes) are widely supported by most modern PDF viewers, including WPS PDF, web browsers, and Adobe Acrobat, ensuring a consistent form-filling experience for your users.




