• Hi Guido,

    I have two questions.

    1. Is it possible to NOT hide the form after a submission (keep it where it is) and have a message show up in the place of a button?
    1. I cannot exclude the whole contact page from caching (it is messing up with other bits on the page). I tried to exclude the contact form ONLY using LSCache -> Cache -> ESI -> enabled ESI, changed shortcode to [esi contact ttl=”0″], but it did not work. Any suggestions on how to make it work?

    Thanks,

    Tibor

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi Tibor,

    1. No, the form is not displayed after submit, otherwise a visitor can abuse it, by re-submitting the form over and over again.
    2. I need to install the plugin to find out what’s possible. So with caching enabled it doesn’t work?

    Guido

    Plugin Author Guido

    (@guido07111975)

    Hi again:

    Re 2: I have just created a topic at the LSCache support page, maybe I can make my plugin support it.

    Thread Starter tibor

    (@t29k75)

    Cool, let’s wait for their response.

    Re 1: I just added a bit of CSS (see below), so after a successful form submission, the message will show at the top of the container. Does CSS look ok to you?

    .vscf-info {height: 100%; background:var(–base); padding: 1.25rem 1.25rem 1px; border-radius: 4px;}

    Plugin Author Guido

    (@guido07111975)

    There’s a plugin setting to make the site scroll back to the form position, after submit. You don’t have to use CSS for that.

    Thread Starter tibor

    (@t29k75)

    found it now, ha.

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

You must be logged in to reply to this topic.