Create a Clickable Circle-and-Slash Button in PDF
Question details
The user wants to create an invisible PDF button that toggles between displaying a circle and a circle with a slash when clicked.

- Product
- Device & OS
- not provided
- Scenario
- Creating interactive forms or dynamic visual indicators in a PDF document.
- Observed behavior
- The user needs a multi-state interactive button that cycles through different visual states (empty, circle, circle-with-slash) upon clicking.
Ensure your PDF editing software supports interactive form fields and advanced button actions, specifically the ability to show and hide fields upon clicking.
Use Layered Buttons with Show/Hide Actions
By creating multiple buttons stacked on top of each other and setting their actions to show or hide specific fields, you can simulate a multi-state interactive button without needing complex scripts.
This method involves creating three separate button fields: one invisible, one displaying a circle, and one displaying the circle-and-slash. By strategically linking their click actions, they will toggle seamlessly.
Insert a button field where you want the toggle to occur. Set its appearance to invisible (no border or fill). In its properties, set the 'On Click' action to 'Show/Hide a field' and configure it to show the second button.
Add a second button in the exact same location, styled to display a circle icon. Set this button to be hidden by default. Configure its 'On Click' action to hide itself and show the third button.
Add a third button styled as a circle with a slash, also hidden by default. Set its 'On Click' action to hide itself and show the initial invisible button, completing the cycle.
Ensure all three buttons are exactly the same size and layered precisely over one another. Preview the document to test the clicking cycle and verify the states change correctly.

Design Interactive PDF Forms with WPS Office
WPS Office provides comprehensive PDF editing tools, including the ability to insert interactive form fields, checkboxes, and customizable buttons for professional document creation.
- 1. Open your PDF: Launch WPS Office and open your PDF document.
- 2. Access Form Tools: Navigate to the 'Form' tab on the top ribbon menu to view interactive options.
- 3. Insert Interactive Elements: Select the 'Push Button', 'Check Box', or other form tools to place interactive elements into your document layout.
- 4. Edit Properties: Double-click the inserted element to open its properties, where you can modify its appearance, add custom icons, and set show/hide click actions.

Frequently Asked Questions
Can I create multi-state PDF buttons without using JavaScript?
Yes, you can achieve multi-state effects by using the built-in 'Show/Hide a field' action available in most advanced PDF editors. By layering multiple buttons, you can cycle through different appearances without coding.
Why are my layered PDF buttons not clicking properly?
Ensure that the visible button in each state is brought to the front of the stacking order, and that the 'On Click' actions accurately hide the current button while revealing the next one. If multiple visible buttons overlap, the click may not register correctly.
Is a circle-and-slash symbol available as a default form field icon?
Standard PDF forms typically only offer basic checkmarks, crosses, or solid squares. To display a specific circle-and-slash symbol, you will need to apply a custom image as the button's icon or use specific font characters from symbol fonts like Wingdings.
Will these interactive PDF buttons work on mobile devices?
Interactive form fields like buttons and advanced show/hide actions may not be fully supported by all basic mobile PDF viewers. For the best experience, view them in dedicated PDF applications like WPS Office for mobile.




