• Go to Formidable Forms Official Site
  •  Login
  •  

Log In

Forgot Password

Search

Formidable Forms Community Site

myhero

Want to use a form to process a voucher verification code and save the result and code

Hi, Hoping for some help please. I want to execute this code within a formidable form. How can I do this? Any help will be appreciated. Tks <div class="white-block"> <div class="white-block-content"> <form method="post"> <p><?php esc_html_e( 'In order to check for voucher input it into the field bellow and click on Verify', 'couponxxl' ) ?></p> <div class="input-group"> <label for="voucher_code"><?php esc_html_e( 'Voucher Code', 'couponxxl' ); ?> <span class="required">*</span></label> <input type="text" name="voucher_code" id="voucher_code" class="form-control" data-validation="required" data-error="<?php _e( 'Please input voucher code', 'couponxxl' ); ?>" value=""> <i class="pline-magnifier"></i> </div> <a href="javascript:;" class="btn submit-form ajax-return"> <?php esc_html_e( 'Verify', 'couponxxl' ); ?> </a> <input type="hidden" name="action" value="verify_voucher"> <input type="hidden" name="vendor_id" value="<?php echo esc_attr( $vendor_id ) ?>"> <div class="ajax-response"></div> </form> </div> </div>

Register User and Submit Post

Hi, I am using the Registration add-on and am submitting a post at the same time. The problem I have is that when the user successfully registers, the post is not submitted. The two work fine as separate forms but for some reason when I set them as registration and submit post the post is not submitted. The logic User completes a basic registration form (includes User ID field) The form auto logs the user in  A form action which should trigger after the above (automatically I presume) is that the two fields included in the post will create a WP post. Am I missing something simple? Why would the above not work?

Navigation

  • Privacy Policy
  • Formidable Forms for WordPress

Discussions

  • An add-on
  • Creating posts/pages
  • Emails
  • Entries
  • Filter & Action Hooks
  • Forms
  • Getting Started
  • Importing/Exporting
  • Javascript
  • Reports, Graphs and Statistics
  • Styles
  • Styling
  • Tips & Tricks
  • Views

Disclaimer

The purpose of this site is to help members of the Formidable Forms Community interact with one another, provide examples of custom code and help others with topics that may not be covered by support on the main Formidable Forms website. If you are seeking support from the Formidable Forms team, please create a ticket on the Formidable Forms website.

Copyright © 2021 Strategy11, LLC