Title: Submit Button with conditional logic
Last modified: July 15, 2022

---

# Submit Button with conditional logic

 *  Resolved [thnpanagiotidis](https://wordpress.org/support/users/thnpanagiotidis/)
 * (@thnpanagiotidis)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/submit-button-with-conditional-logic/)
 * Hi All,
 * I have set up a form with conditional logic.
    However, when it comes to the submit
   button (after the last question) I’ve used a snippet that I found online to have
   the button display only after selecting YES on the last question.
 * The issue is that if someone clicks YES and the Submit button appears it will
   work fine but if the user clicks No then the button will stay there.
 * Is there any way to fix this issue?
 * *** If you are willing to test the form with the URL provided, please use “test”
   as name and surname and in order to proceed to the next questions you will need
   to select **UK or USA** and **55 and older** for the age question. ***
 * Thank you in advance,
    Thanos
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsubmit-button-with-conditional-logic%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Prashant Rai](https://wordpress.org/support/users/prashantrai/)
 * (@prashantrai)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/submit-button-with-conditional-logic/#post-15836310)
 * Hey [@thnpanagiotidis](https://wordpress.org/support/users/thnpanagiotidis/),
 * We’d be happy to help!
 * It seems that you are using the paid version of WPForms. If you have an active
   license subscription with us, could you please submit a support ticket through
   the WPForms account dashboard when you have a chance?
 * From there, our support team will be able to take a closer look at your request.
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Submit Button with conditional logic’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

## Tags

 * [conditional logic](https://wordpress.org/support/topic-tag/conditional-logic/)

 * 1 reply
 * 2 participants
 * Last reply from: [Prashant Rai](https://wordpress.org/support/users/prashantrai/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/submit-button-with-conditional-logic/#post-15836310)
 * Status: resolved