How to create custom conatct form plugin
-
Hi,
I am new on wordpress, i want to create a conact form which shown on front end.So how can i define the form action to other page ? Below my code Please check
<?php defined('ABSPATH') or die("restricted access"); ?> <div class="signup-content clearfix"> <h4>Let's Get Started</h4> <form name="signup" id="signup" method="post" action="<?php echo plugins_url('frontend/form-process.php',_FILE_); ?>"> <?php wp_nonce_field( 'rstar_contact_form_action','rstar_contact_form' ); ?> <div class="signup-field"><input name="first_name" id="first_name_signup" type="text" value="<?php echo $first_name;?>" placeholder="First Name *"></div><br> <div><input name="submit" type="submit" id="signup_button" value="Submit"></div> </form> </div>
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to create custom conatct form plugin’ is closed to new replies.