I would handle this with Page Templates, as hinted at by @BrianFegter. Create a page template that does what you need (there are many PHP/WordPress tutorials out there on how to create pages, process forms, and output data). Once you have your template, create a page, and apply that template to it. Voilà, form processing. The best way to do this, imo, is to send the form to the current page, and have the page check for the $_POST
data at the beginning of the load (before you output a form) and either do the processing there or output the form if no data is detected.
Related Posts:
- Multiple radio button groups in one form
- Get checkbox value in jQuery
- How to read if a checkbox is checked in PHP?
- Function not defined javascript
- How to submit a form with JavaScript by clicking a link?
- Multiple Forms or Multiple Submits in a Page?
- “AutoComplete=Off” not working on Google Chrome Browser
- How to get rid of blue outer border when clicking on a form input field?
- Square brackets in CSS
- Input Type URL – Says “Please enter a URL” if HTTP is not included
- Form inside a table
- Redirecting to a page after submitting form in HTML
- Style reply form different than comment form
- Mail will not send in HTML
- How to add a button that enables the user to insert a link in a textarea located in the front-end?
- Submitting form in wordpress plugin
- Use Mail-Tag from Contac Form 7 in a script
- Open source social media icons to download and use on website? [closed]
- CSS calc width and height values
- HTML encoding issues – “” character showing up instead of ” “
- Center image using text-align center?
- How to create an HTML button that acts like a link
- What does In html mean
- Center image horizontally within a div
- Remove CSS class from element with JavaScript (no jQuery) [duplicate]
- How to make JavaScript execute after page load?
- Is there an upside down caret character?
- Prevent line-break of span element
- How to align iframe always in the center
- Stop floating divs from wrapping
- Expected RBRACE, but the bracket is there?
- How to make an image center (vertically & horizontally) inside a bigger div
- How to center text with Markdown?
- How can I get the values of data attributes in JavaScript code?
- Disable Scrolling on Body
- Darken CSS background image?
- Alternative to iFrames with HTML5
- Responsive image map
- How to wrap text around an image using HTML/CSS
- javascript close current window
- How to make a whole ‘div’ clickable in html and css without JavaScript?
- How (and why) to use display: table-cell (CSS)
- Vertical Text Direction
- How to darken a CSS background image?
- What is “X-Content-Type-Options=nosniff”?
- How to download HTTP directory with all files and sub-directories as they appear on the online files/folders list?
- How to set Helvetica font?
- Indent starting from the second line of a paragraph with CSS
- Resize image with javascript canvas (smoothly)
- Including external HTML file to another HTML file [duplicate]
- CSS list-style-image size
- How to display hr horizontally with flex?
- How can I override Bootstrap CSS styles?
- Can’t fix: ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags
- How to disable auto-play for local video in iframe
- Styling an input type=”file” button
- How to stick footer to bottom (not fixed) even with scrolling
- How to semantically add heading to a list
- Multiple distinct pages in one HTML file
- How to change the background-color of jumbrotron?
- How to create a HTML Cancel button that redirects to a URL
- JavaScript: Get image dimensions
- What replaces cellpadding, cellspacing, valign, and align in HTML5 tables?
- vertical-align with Bootstrap 3
- What is the difference between localStorage, sessionStorage, session and cookies?
- How to display Base64 images in HTML
- How do I align in my image to move it vertically up?(CSS,HTML)?
- How to center links in HTML
- Bootstrap Columns Not Working
- How to center an unordered list?
- How to fix “insecure content was loaded over HTTPS, but requested an insecure resource”
- How to make div appear in front of another?
- PHP Include Nav-bar For Every Page Techniques?
- How do I change the font color in an html table?
- Do you have to include link rel=”icon” href=”favicon.ico” type=”image/x-icon” /?
- JQuery: ‘Uncaught TypeError: Illegal invocation’ at ajax request – several elements
- What is the best practice for creating a favicon on a web site?
- HTML tag is not working
- How to make a DIV not wrap?
- What is the meaning of ? (question mark) in a URL string?
- CSS: Background image and padding
- Scroll to bottom of Div on page load (jQuery)
- Why does the HTML editor not wrap my code in paragraph tags when I press enter
- Switching From HTML to Visual Editor and Back Completely Strips Page Contents
- User-specific access to folders in WordPress site
- Showing special sigh (?) in blank space after compress html code
- How to remove ?wp-mce from page source?
- How to place copyright next to footer menu?
- Removing Unused WP SEO Codes display on html page [duplicate]
- Using Tags Instead of Categories for site structure
- Line break before headings () appears from nowhere
- Tidy HTML formatting in Gutenberg HTML blocks
- Unable to autoplay and loop a cinemagraph from Imgur
- Custom HTML form using PHP – help with ajax/username validation
- standard callback function for wp_list_comments
- How to replace a specific html tag in bulk?
- Inserting code into a page just shows raw HTML
- How can I insert a disclaimer in a WordPress site?
- WordPress adds ‘noindex’ tag to search results. Anything I can do about it?
- How can we get Buddypress to interpret HTML entities correctly?