The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

plugin form submission question (1 post)

  1. davidk11
    Posted 6 years ago #

    I have a shortcode display a form on a page. How do I setup the action statement in the form so that it calls the same page? I have found an argument - $_SERVER['PHP_SELF'] - but this tends to simply load the mainpage of the blog instead of reloading the same page.

    I have it set to work that it loads the data into the global $_POST array and so it should auto populate the rest when it recalls the page, but I am unsure how to get it to actually move back to itself. Is there a constant already set that I can use to do this??

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic