advanced custom fields and contact form 7
You almost got it. You are missing the do_shortcode function. <?php echo do_shortcode(get_field(‘shorcode’)); ?>
You almost got it. You are missing the do_shortcode function. <?php echo do_shortcode(get_field(‘shorcode’)); ?>
Incorrect field names ‘author’ => ‘<div class=”row padding-xs-top”> <div class=”col-md-4 col-sm-4″> <div class=”form-group ct-form-group-label–float”><label for=”contact_name”>’ . ‘</label> <span class=”required”></span><input id=”contact_name” name=”author” class=”form-control input-lg” type=”text” value=”Name *”‘ . esc_attr( $commenter[‘comment_author’] ) . ‘” required=”required” /></div></div>’, ’email’ => ‘<div class=”col-md-4 col-sm-4″> <div class=”form-group ct-form-group-label–float”><label for=”contact_email”>’ . ‘</label> <span class=”required”></span><input id=”contact_email” name=”email” class=”form-control input-lg” type=”email” value=”Email *”‘ . … Read more
First you should save the data somewhere in your wordpress. I personally like to use custom tables. Then use a schedule (cron job) to check if there is new data. Then try to submit the data. If you sumitted the data successfully delete it or mark your local data as successfully submitted. Else retry it … Read more
Is there a general form and form data handling mechanism in WordPress that I can facilitate for this, like e.g. WordPress has a form object containing a “field” or data object for each of the form’s fields, allowing me to access the form(s) on a page? No, there is not. I actually wouldn’t even need … Read more
You have multiple way yo handle form submition, one of those is a post action. But first you need to create the proper form attributes and tags for it to work, so it should look something like this. HTML <form action=”<?= esc_url(admin_url(‘admin-post.php’)); ?>” method=”post”> <!– this will “indicte” to the hook that will handle the … Read more
you can do that very simply with contact form 7 plugin that lets you send two emails on every form submit, so on the first mail collect all of the form fields and send it to your self and in the 2nd email just mail the user the voucher. Hope this helps
I’ve just begun using Gravity Forms but I’ve used Formidable quite a lot. My biggest complaints about Formidable is the way it handles upgrades. If you have a ‘Pro’ account, when an upgrade is available you have to go through a multi-step, not very intuitive upgrade process every time. Other than that, so far Formidable … Read more
This seems to be a valid answer: Use Contact Form 7. In the “Additional Settings” box enter the following: on_sent_ok:”_gaq.push([‘_trackPageview’, ‘/G1/whatever’]);” Where /G1/whatever is the Goal URL you set on your Google Analytics options page.
WordPress + Gravity Forms is all you’ll need for this project. Gravity Forms even has paypal integration. Set up a registration form, add on payment and you’re ready to roll. They have detailed instructions and tutorials on how to set everything up and a very active forum if you run into any issues.
You could try the paid version of the InfoGeniuz WP plugin for Contact Form 7. I’m just starting out with it myself, but my initial tests seem very promising. They also have versions for CForms II and Gravity Forms, integrations with Aweber and SalesNexus, and more coming. Just make sure to back up your WP … Read more