• Resolved lilireed

    (@lilireed)


    Hi,

    I’ve just got to say, I LOVE the plugin. Now to the question:
    I’ve set some of my forms to single submission and set them to redirect to a success page, but I would like the submission action to make the post in which the form was posted to be hidden, or set to draft, or whatever would make the post unavailable in the front end but not deleted from the control panel. This only for single-submission posts. Any ideas?
    Thanks!
    Lili

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author hoffcamp

    (@hoffcamp)

    Lili, I just posted an update (1.6.11) that adds a ‘status’ option to the publish post section.

    Thread Starter lilireed

    (@lilireed)

    Thanks hoffcamp,
    Didn’t quite find the status option after updating…
    Anyway, I’m trying to do something a little more complex than that, let me explain:
    When a registered user submits a form, apart from storing the data I would like to give this user points for answering. I’m trying to get Cubepoints plugin to work with this… But I’m a bit of a noob…

    Where in your code can I find the actions triggered by the “submit form” button?
    I would like to make it return the post id (the post where the form is included), a custom field value from this post (with the amount of points)
    so that I can then pick this data up with Cubepoints to assign the points.

    Any ideas so as to what I should do?

    Thanks!
    Lili

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide post after single-submission?’ is closed to new replies.