Halloween Sale 15% off Ends in See the plans

Snippet Library

Forms snippets for WordPress

Snippets for forms and the plugins that build them: validation, spam protection, hidden fields and what happens after a form is sent. For sites that collect leads, bookings or support requests.

1–11 of 11 snippets “shortcode”

  • PHP Forms

    Contact Form Shortcode Without a Plugin

    Adds a [wpide_contact_form] shortcode with name, email and message fields that emails you each message, protected by a nonce, a hidden honeypot, a time trap and a per-visitor hourly limit.

  • PHP Forms

    Email-Gated Download Form

    Adds a [wpide_gated_download] shortcode that asks for an email address before a guide or PDF can be downloaded, then emails a private download link valid for 48 hours.

  • PHP Forms

    Event RSVP Form With a Guest Limit

    Adds an [wpide_rsvp] shortcode for events: guests reply with their name, email and party size, replies are saved on the event post with a running total, and the form closes when it is full.

  • PHP Forms

    Job Application Form With CV Upload

    Adds a [wpide_job_application] shortcode where candidates send their details and a CV (PDF or Word, size-limited); the CV is attached to the email you receive and then deleted from the server.

  • PHP Forms

    Quote Request Form Shortcode

    Adds a [wpide_quote_form] shortcode where visitors pick a service, budget and timeline and describe their project; requests are emailed to you with spam protection and rate limiting built in.

  • PHP Forms

    Simple Poll Shortcode

    Adds a [wpide_poll] shortcode that shows a question with answer buttons and, after voting, the results as accessible bars. One vote per visitor, stored without personal data.

  • CSS Forms

    Styles for the WPIDE Form Shortcodes

    Gives the contact, quote, newsletter and other WPIDE form shortcodes a clean, consistent look with full-width fields, clear notices and a solid button that follows your theme colors.

Have a snippet worth sharing?

Publish it to the library from WPIDE or right here. Sign in with any WordPress site that runs WPIDE, free or Pro. Public snippets are reviewed by the WPIDE team before they appear.