Support » Fixing WordPress » How to show random quote from selection of predefined quotes on form submission

  • Zak Single

    (@zaksingle)


    Hi all,

    Hoping someone can help. How can I reveal a ‘random’ quote (say from a list of 10 quotes that I have predefined) when someone submits their email address in a form?

    Thanks so much,

    Zak

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    Most form plugins all you to redirect submitters to a “thank you” page, so you could use that page to display a random quote. As you use Contact Form 7, I recommend asking at https://wordpress.org/support/plugin/contact-form-7#new-post so the plugin’s / theme’s developers and support community can help you with this.

    Thread Starter Zak Single

    (@zaksingle)

    Hi Steve,

    Thanks so much for your reply. I have tried posting there so will see if anyone can help. That’s a good shout about displaying a random quote on a page redirection, I will explore that idea.

    Thanks again,

    Zak

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to show random quote from selection of predefined quotes on form submission’ is closed to new replies.