• Resolved YukiAme83

    (@yukiame83)


    The plugin has so many great useful features, that I wonder if it can do the following:

    I’d like a short contact form to appear when certain button is pressed without sending the reader to a different page or reloading this one. So I’ve included two buttons in the form: one reveals it, and one submits the entry. But when I try to add a condition to the fields, the plugin expects me to put in some value for the button… Sorry, if this is a stupid question, but what value is given to the button variable when the button is pressed, and how can I use it as a condition (if it can be used this way by design)?

    I would much appreciate your thoughts on the matter.

    https://ww.wp.xz.cn/plugins/caldera-forms/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor David Cramer

    (@desertsnowman)

    Hi There.

    Its not possible via conditions, but you can simple create a two page form.
    the first page has nothing but a button set as a “next page” type.
    You can label it “Contact Us”

    Then build your form on page 2.
    Click the “Pages” tab and make sure breadcrumbs are unchecked, as not to show them.

    So now the form will only show when the user click the button on the first page.

    Thread Starter YukiAme83

    (@yukiame83)

    Sweet! Thanks for the suggestion, it works just the way I wanted.

    Funny thing, if I check Hide Label for any of the text fields, they won’t show up at all in this case. It doesn’t matter to me, but I thought I’d let you know.

    Thanks again, you rock!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using pressed button as a condition?’ is closed to new replies.