In this example, an Email field shows only when the visitor answers Yes to "Would you like to add your email address?"
Go to Formidable → Forms and click the name of your form to open it in the form builder.
Click the field that you want to conditionally hide or show. Its Field Options open in the sidebar.
Click Conditional Logic. This turns on Enable Conditional Logic and adds the first condition.
Choose Show or Hide. Then set the condition: the field to check, how to compare it, and the value. For example, show the current field if the "Would you like to add your email address?" field equals Yes. To check more than one thing, click Add Condition. Then choose Any to act when one condition matches, or All to act only when every condition matches.
Click Update to save your changes.
Now, when the user meets the criteria in the conditional logic, the hidden field appears.
From Idea to Reality in Minutes. Build Powerful Forms, Dashboards, Apps and More.
Formidable Forms makes advanced site building simple. Launch forms, directories, dashboards, and custom WordPress apps faster than ever before.
To display a field when another field contains a certain word or phrase, use contains in the condition. In this example, a message appears when a Gmail address is entered.
Edit your form. Add an Email field and an HTML field. In the HTML field's Content box, type the message you want to show.
Click the HTML field and click Conditional Logic.
Set it up to say:
Show this field if any of the following match: Email contains @gmail.com.
Click Update to save your changes.
Now, when the user meets the criteria in the conditional logic, the HTML field message appears.
To display a field when another field starts with a specific letter, word, or phrase, use starts with in the condition.
Edit your form.
Click the field that you want to show or hide conditionally, and click Conditional Logic.
Set it up to Show this field if any of the following match. For example, to display a field when the first name starts with J, choose Name (First Name), then starts with, and type J.
Click Update to save your changes.
Now, when the user meets the criteria in the conditional logic, the conditionally hidden field appears.
To display a field when another field ends with a specific letter, word, or phrase, use ends with in the condition.
A condition can check one part of a Name or Address field, such as the first name or the state. This is useful when only one part matters, like showing a field to visitors from one state.
Click the field that you want to conditionally hide or show, and click Conditional Logic to turn on Enable Conditional Logic.
In the field dropdown, choose the part you want to check, such as Address (State/Province) or Name (First Name). Then set the comparison and the value.
Click Update to save your changes.
Choosing Name checks the full name. An Address field is listed only by its parts. The same parts are available in form action conditional logic.
To hide or show a group of fields, put them in a Section field and add conditional logic to the Section. All the fields inside the section hide or show with it. When a section is hidden with conditional logic, all fields within the section are cleared.
Add a Section field. Drag each field into the Add Fields Here area of the Section. Grab the field's box, not its label.
Click the Section. Then click Conditional Logic and add any criteria that you want. In this example, the section shows when the visitor answers Yes to "Would you like to add your address?"
(Optional) To hide the section's heading, expand Advanced in the Section's Field Options and set Label Position to None.
Click Update to save your changes.
When the user meets the criteria in the conditional logic, all the fields inside of the Section appear.
This setup lets users fill out an identical field n times, where n is the number selected in another field. To set it up, give each copy of the field its own condition. For example, show 3 Name fields when a user selects 3 for the number of tickets.
Add a Dropdown field for selecting the number of fields to show. Its options are numbers, such as 1, 2, and 3. In this example, the Dropdown is labeled "How many people in your group?"
Below the Dropdown, add a Text field and title it Name.
Hover over the field and click the More Options icon (3 dots) in its upper-right corner.
Select Duplicate. Continue duplicating until you have the maximum number of fields that you need. For example, if your user can select up to 5 in your dropdown, you need 5 Name fields. In this example, the dropdown goes up to 3, so the form has 3 Name fields.
Add conditional logic to each of the Name fields. Each one uses 2 conditions with Any selected: Show this field if the dropdown equals the field's number, or is greater than the field's number.
(Optional) To show the first Name field only after a number is chosen, give it these conditions (equals 1 or is greater than 1). To keep it always visible, skip conditional logic for this field.
Conditional logic settings for the second Name field: the same 2 conditions with 2 (equals 2 or is greater than 2).
Conditional logic settings for the third Name field (equals 3 or is greater than 3):
Add similar logic to the rest of the Name fields in your form.
Click Update to save your changes.
Now when the user selects the number of names to input, the selected number of fields shows.
Conditionally skip a page based on a response from the user. The logic goes on the Page Break that starts the page you want to skip. It decides whether the page after that Page Break shows.
Add a Page Break field to your form.
Click an empty part of the Page Break (the row with the Next button and the next page's marker), and click Conditional Logic.
In the first dropdown, choose what happens when the conditions match:
Skip next page: skips the page after this Page Break.
Do not skip next page (the default): shows the page after this Page Break only when the conditions match, and skips it otherwise.
Add the criteria that you want. In this example, the survey page is skipped when the visitor chooses No for "Fill out a survey".
Click Update to save your changes.
You must log in to vote
Was this article helpful? *
This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.
In this article
Get More Done In Less Time With Better
WordPress Forms
Upgrade your
workflow with advanced WordPress forms and integrated Views.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
This website uses cookies
Websites store cookies to enhance functionality and personalise your experience. You can manage your preferences, but blocking some cookies may impact site performance and services.
Essential cookies enable basic functions and are necessary for the proper function of the website.
Name
Description
Duration
Geolocation Config
This cookie is used to store the consent settings based on the visitor's location.
90 days
Cookie Preferences
This cookie is used to store the user's cookie consent preferences.
90 days
These cookies are needed for adding comments on this website.
Name
Description
Duration
comment_author
Used to track the user across multiple sessions.
Session
comment_author_email
Used to track the user across multiple sessions.
Session
comment_author_url
Used to track the user across multiple sessions.
Session
Easy Digital Downloads is a complete eCommerce solution for WordPress.
Name
Description
Duration
edd_items_in_cart
Stores information about the cart.
Session
edd_session_
Stores information about the current user session.
Session
Formidable Forms is used to manage forms on this website.
Name
Description
Duration
frm_form_
Saves the ID of the form and the time the entry was submitted.
2 hours
These cookies are used for managing login functionality on this website.
Name
Description
Duration
wordpress_logged_in
Used to store logged-in users.
Persistent
wordpress_sec
Used to track the user across multiple sessions.
15 days
wordpress_test_cookie
Used to determine if cookies are enabled.
Session
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a web analytics service offered by Google that tracks and reports website traffic.
Used to determine if the user is in a new session/visit.
Session
__utmt
Used to throttle request rate.
10 minutes
__utmv
Used to store visitor-level custom variable data.
2 years
__utmz
Stores the traffic source or campaign that explains how the user reached your site.
6 months
LinkedIn is a professional networking platform for job seekers, employers, and industry connections.
Name
Description
Duration
fcookie
Used for bot detection.
7 days
AnalyticsSyncHistory
Used to store information about the time a sync with the lms_analytics cookie took place for users in the Designated Countries
30 days
ccookie
To remember if a user received a captcha challenge.
20 minutes
lissc
Pending
1 year
ABSELB
This is Load Balancer Cookie for affiliate marketing
2 years
spectroscopyId
These cookies are set by LinkedIn for advertising purposes, including: tracking visitors so that more relevant ads can be presented, allowing users to use the 'Apply with LinkedIn' or the 'Sign-in with LinkedIn' functions, collecting information about how visitors use the site, etc.
session
brwsr
This cookie is used to Affiliate Marketing Cookie for LinkedIn
2 years
UserMatchHistory
These cookies are set by LinkedIn for advertising purposes, including: tracking visitors so that more relevant ads can be presented, allowing users to use the 'Apply with LinkedIn' or the 'Sign-in with LinkedIn' functions, collecting information about how visitors use the site, etc.
session
lihc_auth_
Used by LinkedIn HelpCenter Live Chat to store language and chat start timestamp. Example names of this cookie include lihc_auth_en, lihc_auth_es, depending on language preference.
Session
lang
Used to remember a user's language setting
session
li_a
Used to authenticate enterprise users on Sales Navigator and Recruiter
30 days
li_gc
Used to store guest consent to the use of cookies for non-essential purposes
2 years
li_ep_auth_context
User to authenticate LinkedIn enterprise customers
30 days
li_rm
Used as part of the LinkedIn Remember Me feature and is set when a user clicks Remember Me on the device to make it easier for him or her to sign in to that device
1 year
bscookie
Used by LinkedIn to track the use of embedded services.
1 year
lms_ads
This cookie is used to identify LinkedIn Members off LinkedIn for advertising
30 days
trkCode
This cookie is used by LinkedIn to support the functionality of adding a panel invite labeled 'Follow Us'
1 year
_guid
This cookie is used to identify a LinkedIn Member for advertising through Google Ads
90 days
trkInfo
This cookie is used by LinkedIn to support the functionality of adding a panel invite labeled 'Follow Us'
1 year
BizographicsOptOut
This cookie is used to determine opt-out status for non-members
10 years
li_oatml
Collects information about how visitors use our site.
30 days
IRLD
This cookie is used for Affiliate Marketing Cookie for LinkedIn
2 years
liap
Cookie used for Sign-in with Linkedin and/or to allow for the Linkedin follow feature.
90 days
l_page
This cookie is used for measuring conversion metrics on LinkedIn
6 months
pushPermInfo
Used across multiple LinkedIn services to determine cool off for push notification prompts
365 days
pushPermState
Used across multiple LinkedIn services to determine the user's push notification permission preference
30 days
ln_or
Used to determine if Oribi analytics can be carried out on a specific domain
1 day
chp_token
Used to denote whether the user has gone through two factor authentication or solved a Captcha.
Session
li_sugr
Used to make a probabilistic match of a user's identity outside the Designated Countries
90 days
lidc
Used by the social networking service, LinkedIn, for tracking the use of embedded services.
1 day
sdsc
This cookie is used for signed data service context cookie used for database routing to ensure consistency across all databases when a change is made. Used to ensure that user-inputted content is immediately available to the submitting user upon submission
Session
bcookie
Used by LinkedIn to track the use of embedded services.
1 year
li_mc
This cookie is used as a temporary cache to avoid database lookups for a member's consent for use of non-essential cookies and used for having consent information on the client side to enforce consent on the client side
6 months
PLAY_FLASH
Used by some LinkedIn services to facilitate the display of messages on page transitions . Users include notifying a user when a form is successfully submitted or fails , and to provide other similar notifications.
Session
li_referer
Used to detect bots. Cookie remembers the referring website before redirecting the user to captcha for authorization
15 minutes
f_token
Used to detect bots for anti-scraping
3 minutes
li_apfcdc
Used for triggering the abuse prevention features on member device.
10 hours
li_odapfcc
Used to control the number of abuse prevention features collected from member device.
2 Years
ac_L
Counts the number of times the account center banner, which is displayed to inform users with an incomplete profile how to complete their profile, was closed by a user to determine display logic
180 days
ac_LD
Contains the date when the account center was displayed to a user to determine display logic
180 days
recent_history_status
Used to determine whether a user enabled or disabled the Guest Recent History Setting
10 years
all_u_b
To know if a user has opted in to viewing LinkedIn on an unsupported browser
21 days
uh
Used to set the user preference for the mobile web platform via a user's settings
Session
abiRedirect
Enables import of address book during onboarding flow for users who choose to import their address book
Session
wwepo
Used to ensure that useres who choose to sign up using phone only have that setting and preference respected
90 days
li_cu
Used to map a user to a captcha challenge page
15 minutes
li_ec
Used to store unbound enterprise users' cookie consent
6 months
denial-client-ip
Stores user IP address for anti-scraping and DOS prevention
5 seconds
li_gpc
Used to remember a user's preferences on LinkedIn's Global Privacy Control
1 hour
denial-reason-code
Used for anti-scraping and DOS prevention
5 seconds
li_gp
Stores privacy preferences for guests to LinkedIn
1 year
rtc
Used as part of anti-abuse processes on LinkedIn
120 seconds
redirectFromM2MInviteSent
Used to notify and provide the appropriate profile display logic when the user sends an invitation to connect on LinkedIn from a LinkedIn member via email.
Session
queryString
This cookie is used to persist marketing tracking parameters
15 days
cookie.policy.banner.eu
Used to display cookie banner in LinkedIn Lite
365 days
cookie.policy.banner.nl
Used to display cookie banner in LinkedIn Lite on the Netherlands site.
365 days
appName
Used to identify the source as the LinkedIn Lite app to send the right service worker to the app
Session
appLang
Used to set the right language on the LinkedIn Lite app
Session
lls-integration
Validates whitelisted partners for content integrations
30 days
feed-sort
Used to remember a member's preference how the feed should be sorted
1 day
integration_type
Used to determine which integration traffic is coming from to render the profile namecard experience
30 days
li_theme_set
Remembers which users have updated their display / theme preferences
6 months
PLAY_LANG
Used by some LinkedIn services to remember a user's language preference
Session
lms_analytics
Used to identify LinkedIn Members off LinkedIn for analytics
30 days
PLAY_SESSION
Used by some LinkedIn services to store session information
Session
li_fat_id
Member indirect identifier for Members for conversion tracking, retargeting, analytics
30 days
redirectFromM2MInviteAccept
Determines the appropriate profile display logic when a user accepts an invitation to connect on LinkedIn from a LinkedIn member via email.
Session
li_giant
Indirect indentifier for groups of LinkedIn Members used for conversion tracking
7 days
sharebox-suggestion
Displays a banner that provides help text to first time users of the Elevate share box
Session
li_cc
Used to ensure a user's phone number is inputted in China
1 week
lss_bundle_viewer
Stores consent when a user agrees to view a Smartlinks link
1 month
interstitial_page_reg_oauth_url
Stores the referring page to ensure the Authentication screen displays correctly
1 day
df_ts
Device fingerprinting sampling for performance optimization
1 day
lil-lang
Stores user's selected language setting for LinkedIn Learning
Session
li_alerts
Used to track impressions of LinkedIn alerts, such as the Cookie Banner and to implement cool off periods for display of alerts
1 year
li_theme
Remembers a user's display preference/theme setting
6 months
li_feed_xray
Used to show new items in developer option 'Feed X-ray'
Session
VID
ID associated with a visitor to a LinkedIn microsite which is used to determine conversions for lead gen purposes
1 year
recent_history
Used to remember URLs visited by the guest to show the pages back where they left off
90 days
Marketing cookies are used to follow visitors to websites. The intention is to show ads that are relevant and engaging to the individual user.
Name
Description
Duration
affwp_campaign
Stores the affiliate campaign name for tracking purposes.
30 days
affwp_ref
Stores the referring affiliate ID for commission attribution.
30 days
affwp_ref_visit_id
Stores the visit ID linked to the referring affiliate.
30 days
LinkedIn Insight is a web analytics service that tracks and reports website traffic.