myhero
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>
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?