Auto Coupon Generate for Gravity Forms
Auto Coupon Generate for Gravity Forms lets you automatically create a unique discount coupon code every time a visitor submits a Gravity Form. The generated code is saved directly as a Gravity Forms coupon and can optionally be emailed to the user straight away – no manual work required. A common use case is a two-step flow: a user fills out a registration or survey form, receives a unique coupon code by email, and then uses it on a subsequent order form to claim their discount. Key Features Automatically generates a unique, random coupon code on every form submission. Coupon codes are saved directly to the Gravity Forms Coupons Add-On – no extra steps needed. Configurable code length, character set, and optional prefix so codes match your brand. Supports both flat (fixed amount) and percentage discount types. Set a minimum order value that must be met before the coupon applies. Control how many times each coupon can be used in total. Optional start date and expiration date for time-limited promotions. Built-in email notification – send the generated coupon code to the user’s email address automatically after submission. The email subject and body are fully customisable, and you can use the {coupon_code} placeholder anywhere in the message body. Coupon Log page in the WordPress admin showing a full history of every coupon generated, including the code, the form it came from, and the date it was created. Shipping is excluded from discount calculations by default – the discount applies to the order subtotal only. Secure: uses random_int() for cryptographically safe code generation, proper nonce verification, and capability checks on all admin pages. Requirements WordPress 5.2 or higher PHP 7.0 or higher Gravity Forms (any recent version) Gravity Forms Coupons Add-On (must be installed and active) The plugin will check for these dependencies on activation and will not activate if either Gravity Forms or the Coupons Add-On is missing. Configuration After activating the plugin, go to Generate Coupon Setting in the WordPress admin menu. The settings page is divided into three sections. Coupon Generate Form Settings These settings control how coupon codes are generated and what discount they carry. Form ID – The ID of the Gravity Form that will trigger coupon generation on submission. To find your form ID, go to Forms in your WordPress admin; the ID is shown in the form list. Coupon Field ID – The ID of the field inside that form where the generated coupon code will be pre-populated (using the gform_field_value_uuid filter). This is typically a hidden field. Coupon Length – The number of random characters in the coupon code (not counting any prefix). For example, a length of 8 with the prefix SALE- would produce codes like SALE-A3BX92KQ. Coupon Code Prefix – Optional text to prepend to every generated code (e.g. SUMMER-). Leave blank for no prefix. Coupon Code Characters – The pool of characters used when generating the random part of the code. The default is 1234567890QWERTYUIOPASDFGHJKLZXCVBNM. You can narrow this down – for example, removing easily confused characters like 0, O, 1, and I. Discount Type – Choose Percentage to deduct a percentage of the order total, or Flat to deduct a fixed amount. Discount Amount – The value of the discount. If Discount Type is Percentage, enter a number between 1 and 100. If Discount Type is Flat, enter the currency amount (e.g. 10 for $10 off). Max Usage – The maximum number of times the generated coupon can be used across all customers. Enter 1 to make it single-use. Minimum Price – The minimum order subtotal (excluding shipping) a customer must reach before the coupon becomes valid. Leave blank for no minimum. Start Date – The date from which the coupon becomes valid, in MM/DD/YYYY format. Leave blank to make it valid immediately. Expiration Date – The date on which the coupon expires, in MM/DD/YYYY format. Leave blank for no expiry. Coupon Usage Form Settings Form ID – The ID of the Gravity Form where customers will enter and apply their coupon code (your checkout or order form). The generated coupon will be scoped to this form inside the Gravity Forms Coupons Add-On. Email Notification Settings These settings are all optional. If you do not enable email notifications, coupons are still generated and saved – users just will not receive an automatic email. Email Field ID – The ID of the field in the coupon-generate form that holds the user’s email address. The plugin will read the submitted value from this field and send the notification to that address. Email Subject – The subject line of the notification email. Default: Your Coupon Code. Email Body – The body of the notification email. Use the placeholder {coupon_code} anywhere in the text and it will be replaced with the actual generated code before sending. Default message is provided but you can customise it freely. Enable Email – Check this box to activate automatic email sending. When unchecked, no email is sent regardless of the other email settings. The email is sent using WordPress’s built-in wp_mail() function. Delivery depends on your server’s mail configuration or any SMTP plugin you have installed. Coupon Log Go to Generate Coupon Setting > Coupon Log in the WordPress admin to see a table of every coupon that has been generated by the plugin. The table shows the coupon code, the form it was generated from, and the date and time it was created. The log displays the 100 most recent entries in reverse chronological order.
Top keywords
- coupon36×3.94%
- code20×2.19%
- email18×1.97%
- form18×1.97%
- coupon code13×1.42%
- generated12×1.31%
- discount11×1.20%
- gravity10×1.09%
- id10×1.09%
- date8×0.88%
- forms8×0.88%
- field7×0.77%
WP Contact Slider – Contact Form Slider Widget
👑 Get Pro | Documentation | Support WP Contact Slider lets you display a slide-out panel with any contact form shortcode, including Contact Form 7 (CF7), Gravity Forms, NinjaForms, WP Forms, Caldera Forms, Constant Contact Forms, or custom HTML. Create multiple sliders and choose where they appear on your site. You can also customize the position, button style, and color scheme using an easy-to-use settings panel. 📃 Features: Display plain text or HTML. Support for any shortcode-based form. Gravity Forms shortcode support. Contact Form 7 shortcode support. WPForms shortcode support. Constant Contact Forms shortcode support. Contact Form by PirateForms shortcode support. Formidable Forms shortcode support. Form Maker shortcode support. FormCraft shortcode support. Visual Form Builder shortcode support. Ninja Forms shortcode support. myCred shortcode support. 📕 Docs & Support Documentation and FAQs are available on the WP Contact Slider’s official website. If you need help, please use the support forum on WordPress.org to create a new topic. If you were unable to find the answer to your question on the FAQ or in any of the documentation, you should check the support forum on WordPress.org. If you can’t locate any topics that pertain to your particular issue, post a new topic for it. == 🚀 GET MORE POWER WITH WP CONTACT SLIDER PRO 🚀 == 👉 Advance Settings With Advance Settings Add-On you get more control over your sliders including following; Change container width Change tab width Add a background image. Enable push body effect Hide the contact tab Disable full height Editor to manage content above shortcode/content within slider Editor to manage content after shortcode/content within slider Option to exclude slider, on selected post types Click here for more details 📖 👉 Triggers & Shortcodes With Triggers & Shortcodes Add On, you will get access to advance triggers and shortcodes TIME DELAY TRIGGER Set time in seconds, after which you would like to open slider in front-end without clicking the tab for the slider TIME DELAY INTERVAL TRIGGER (REPEATING) Set time in seconds, after which you would like to repetitively open slider again and again EXIT INTENT TRIGGER There are times when you want to display form for getting your visitors engaged once they intend to leave the page. Now with this Add-On, you can easily do that. BUTTON SHORTCODE This addon will generate shortcode for a button in your respective slider’s edit window so that you can easily add those buttons anywhere in the pages. Clicking on these buttons will trigger to display the respective slider. LINK SHORTCODE Triggers and Shortcode addon will also generate shortcode for the link in your respective slider’s edit window so that you can easily add those links anywhere in the pages. Clicking on these links will trigger to display the respective slider. Click here for more details 📖 👉 Display Multiple Sliders With Display Multiple Sliders Add On, you can easily display multiple sliders on a single page. POSITION EACH SLIDER FROM TOP USING SETTINGS IN SLIDER EDIT WINDOW Adding more than 2 slides on right or left would require to change the distance from the top for each. Now with this addon, you can easily do that. DISPLAY MULTIPLE SLIDER WITH DIFFERENT SHORTCODES OR HTML WHATEVER YOU WANT While displaying multiple sliders on the same page you can use different shortcodes, i.e you can use contact form 7 in one slider, ninja forms in other and HTML content in third one and so on and use all on the same page. 👉 Font Awesome Icons With Font Awesome Icons, you can easily select an icon from 400+ icons options right from slider settings. You will have the option to display a selected icon with or without label text without any custom CSS just with a single click. 👉 GET WP CONTACT SLIDER PRO 👉 Request For Custom Feature Interested in contributing to WP Contact Slider Head over to the WP Contact Slider GitHub Repository to find out how you can pitch in 😉