Conditional Logic for Payment Forms
Show or hide form fields based on what customers enter or select, so every customer sees a short form that fits them.
Set Up a Rule in Seconds
Here, a field only appears when the customer picks the Pro plan:
- Turn on conditional logic for the field.
- Choose Show this field and how your rules should match.
- Add a rule: if Plan equals Pro.
Add as many rules as you need. The form updates live as customers fill it in.


Build Smarter Forms Without Code
Show or Hide Any Field
Choose whether a field appears or disappears when your rules match. Almost every field on the form can be shown or hidden.
Combine Multiple Rules
Require all rules to match, or just one. Compare text, numbers, dropdowns, checkboxes, and the selected price option.
Hidden Fields Never Block Checkout
A required field that is hidden is skipped during validation, and its value is not sent with the payment.
Explore More Powerful Features
Custom Form Fields
Collect the information you need with text fields, dropdowns, checkboxes, and file uploads.
Advanced Form Builder
Create payment forms with our drag ‘n drop form builder in just a few minutes without writing any code.
Form Style Customization
Match every form to your brand with themes, custom colors, typography, and rounded corners.
Keep Payment Forms Short and Relevant
Long forms cost you payments. With conditional logic, you ask follow-up questions only when they matter. For example, show a company name field only when someone picks a business plan, or ask shipping questions only for physical products.
Rules update live as the customer types or changes a selection, so the form responds right away.
One Form, Many Paths
Instead of building a separate form for every situation, branch a single form into several flows. Show an upsell when a certain plan is chosen, hide fields that don’t apply to donors, or ask for extra details when a custom amount goes over a set value.
Conditional logic works with on-site payment forms, both embedded and overlay, and is included with every WP Simple Pay Pro license.