I would like to know how to create a custom link on any of my website page to launch directly this modal contact form. thanks in advance. [Click Here](http://www.elated.com/articles/slick-ajax-contact-form-jquery-php/)

Member Avatar
Member Avatar
+0 forum 2

Please help I am creating this contact form where everything is working fine but I am not getting attachment in the email, What am I doing wrong? Here is the code Here is the script I am using <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#submit_btn").click(function() { //get input field values var company_name = $('input[name=coname]').val(); var user_name = $('input[name=name]').val(); var user_email = $('input[name=email]').val(); var user_phone = $('input[name=phone]').val(); var file_attach = $('input[name=file_attach]')[0].files[0]; var user_message = $('textarea[name=message]').val(); var address = $('textarea[name=address]').val(); var bnature = $('input[name=bnature]').val(); var Desgination = $('input[name=Desgination]').val(); //simple validation at client's end //we simply change border color to red if …

Member Avatar
Member Avatar
+0 forum 2

having problems with this codes. When tested it keeps giving me the error message "Your message failed to send, please try again. " using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Net.Mail; using System.Net; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnSubmit_Click(object sender, EventArgs e) { try { //Create the msg object to be sent MailMessage msg = new MailMessage(); //Add your email address to the recipients msg.To.Add("reciever@domain.com"); //Configure the address we are sending the mail from MailAddress address = new MailAddress("sender@gmail.com"); msg.From = address; …

Member Avatar
Member Avatar
+0 forum 5

Hi ... I wrote a script to send a feedback form to an email. Here's the script below; //PHP CODE: <?php session_start(); $submitted = FALSE; ini_set("SMTP","mail.sitecghana.com"); if (isset($_POST['send_message_button'])) { $submitted = TRUE; // The form has been submitted and everything is ok so far… $name = htmlspecialchars($_POST['name'], ENT_QUOTES); $email = htmlspecialchars($_POST['email'], ENT_QUOTES); $message = htmlspecialchars($_POST['message'], ENT_QUOTES); if ($email == "") { // if the email is blank… give error notice. echo "<p>"."Please enter your Email address so that we can reply to you."."</p>"; //pop_alert('Please enter your email'); $submitted = FALSE; // Set this to FALSE so that it the message …

Member Avatar
Member Avatar
+0 forum 2

Hello Community, I was wondering what I would use, first off I'm running something by my self so do I use us or me? (Example contact us or contact me). Do I just use us to just pretend that there is more than one person running the service?

Member Avatar
Member Avatar
+0 forum 4

I have the following form that I need the fields to be mandatory before submission: form name="application" id="applicatipn" method="post" action="send_mail.php" > <h2 class="title">form</h2> <p class="sub-text">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX </p> <table width="620px"> <tr class="bg-grey"> <td> <h3 >Personal Details</h3> </td> </tr> </table> <table width="600px" class="bg-light-grey" style=" margin-left: 10px"> <tr> <td valign="top"> <label>Title</label> <br /> <input type="text" name="title" size="5" class="auto-width" /> <br /> <br /> </td> </tr> <tr class="no-margin-bottom"> <td valign="top"> <label>Forenames</label> <br /> <input type="text" class="no-margin-bottom" name="forename" size="30" /> </td> </tr> <tr> <td valign="top"> <label>Surname</label> <br /> <input type="text" name="surname" size="30" /> <br /> <br /> </td> </tr> <tr> <td valign="top"> <label>Address</label> <br /> <input …

Member Avatar
Member Avatar
+0 forum 5

I'm working on a site that had to be customized from a templatemonster.com template. It's just about finished except the contact form only seems to work fully in Firefox, which is odd? In FF, IE, and Chrome it LOOKS like it works, and in the first two the submissions come through immediately to my email, but via IE the form name part of the subject line is lost, which is a hidden input field in the form. Only ' from: ' . $_POST["name"] shows in the subject (the actual name entered in place of the variable). I haven't gotten any …

Member Avatar
Member Avatar
+0 forum 2

Hi, I am trying to get a form to redirect to a thank you page but after several attempts I am still no closer to achieving this. Below is the php code form the sendemail script: <?php $name = trim($_POST['name']); $email = $_POST['email']; $comments = $_POST['comments']; $site_owners_email = '**************'; // Replace this with your own email address $site_owners_name = 'sales'; // replace with your name if (strlen($name) < 2) { $error['name'] = "Please enter your name"; } if (!preg_match('/^[a-z0-9&'\.\-_\+]+@[a-z0-9\-]+\.([a-z0-9\-]+\.)*+[a-z]{2}/is', $email)) { $error['email'] = "Please enter a valid email address"; } if (strlen($comments) < 3) { $error['comments'] = "Please leave a …

Member Avatar
Member Avatar
+0 forum 11

Hi, am so new to java programming and I need help to create an address book. Am using this project to test my self.(http://sis.ashesi.edu.gh/courseware/cms/mod/resource/view.php?id=218). Please this is my writen code but I need help to add, edit, delete, and the rest of the functions. Or better if someone can guide me please. import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JButton; import javax.swing.JTextField; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.Font; import javax.swing.border.LineBorder; import java.awt.Color; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import javax.swing.SwingConstants; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JMenu; public class AddressBook extends JFrame { private JTextField txtSearchHere; private …

Member Avatar
Member Avatar
+0 forum 1

I've seen google do this, as well as other sites like bookeo.com, jotform, and others. How can I get my customers to ask their question, then - before they're able to submit - show a couple of links that might answer their question? I found a program called contact form optimization, but I really couldn't even find one phrase to encapsulate this idea. Any help with at least what this is called would suffice. Thanks a ton!

Member Avatar
Member Avatar
+0 forum 1

hello i have create some webpages they work and are nice but when i click in contat form which contain php code inside it display all code which are inside.

Member Avatar
Member Avatar
+0 forum 13

Hi Guys, I've got a client who would like something on a magento community store, but I have no ideas to solve this one: Basically my client wants different people to be notified about different products being ordered. So say somebody buys product A, so admin1 would be sent an email and told about it. Then someone else buys product B, but this time admin2 would be sent an email. Is this physically possible with magento community ([here](http://magento.com/products/overview#community)) and if so how would I do this? Thanks!!

Member Avatar
+0 forum 0

hi friends ... this is my 1st post I'm sure it gonna be beneficial to me.. Well I'm facing problem in this assignment.As I'm not that good in c++ programming. Please help me out .We have to use doubly linked list. **Assignment requirements Overview** You are expected to write a simple console application which reads a text file that consists of contact information (name,surname,email,phone number) , and being capable of doing some processing on that data. Exaple data file is Contacts.txt . Your program must be able to process this kind of files and insert it into a circular singly …

Member Avatar
Member Avatar
+0 forum 3

Hi there, in am new with Webmatrix and Visual studio 2013 and i would like to create the following : (for all user of the website) 1) a classic form contact in asp.net razor : email name subject message If is possible this message wil send an aoutomatic mail to my mail address (for admin, me...) 2) List of contact but not with gridview, we click on one contact and we open the contact 3) Page of the single contact where we can edit or delete it 4) Page of edit Have you got some code already done to send …

Member Avatar
Member Avatar
+0 forum 6

Hello everyone I am having this simple contact form and i want to make the name , email fields to be required.Also i want to add a thank you message after someone press the sumbit button. Your help will be much appreciated. Php <? if ($_POST['name'] == '' || $_POST['subj'] == '' || $_POST['mail'] == '' || $_POST['message'] == '') exit; #YOUR E-MAIL define('TO', 'email@yourdomain.com'); ##E-MAIL SUBJECT define('SUBJECT', 'Contact Form!'); function sendEmail($to, $from, $subj, $body) { $date = date( 'r' ); $phpversion = phpversion(); $boundary = md5( time() ); $headers = <<<END From: $from Date: $date MIME-Version: 1.0 Content-Type: multipart/related; …

Member Avatar
Member Avatar
+0 forum 4

I have this contact form that I use for everything and for some reason it is not working on this one site. If you could visit it and see what is wrong. http://www.spencedesign.netau.net/lori/me.html the php code is here <?php $field_name = $_POST['cf_name']; $field_email = $_POST['cf_email']; $field_message = $_POST['cf_message']; $mail_to = 'jeremy_spence@rocketmail.com'; $subject = 'Message from a site visitor '.$field_name; $body_message = 'From: '.$field_name."\n"; $body_message .= 'E-mail: '.$field_email."\n"; $body_message .= 'Message: '.$field_message; $headers = 'From: '.$field_email."\r\n"; $headers .= 'Reply-To: '.$field_email."\r\n"; $mail_status = mail($mail_to, $subject, $body_message, $headers); if ($mail_status) { ?> <script language="javascript" type="text/javascript"> alert('Thank you for the message. We will contact …

Member Avatar
Member Avatar
+0 forum 3

which programming language would be cool for a web app that would be able to syschronize sim contacts to a server and could be retrieved should sim be missing by logging on to the web.as well should u get a new sim u can get contacts back on phone by sychronizing on the web.i have php/mysql in mind but not tooo sure.Thanks.all contributions are welcomed.

Member Avatar
Member Avatar
+0 forum 2

I have a contact form. I need to deliver it to *bala_palash@yahoo.com* when anyone clicked on send. Please anyone help me... My form is <form name="contact_form" method="post" action=""> <table width="400" border="0"> <tr> <td><label>Your Name (Required)<br> <input class="name" name="name" type="text" id="name" value="" size="50"> </label></td> </tr> <tr> <td><label>Your Email (Required)<br> <input class="email" name="email" type="text" id="email" value="" size="50"> </label></td> </tr> <tr> <td><label>Subject<br> <input class="subject" name="subject" type="text" id="subject" value="" size="50"> </label></td> </tr> <tr> <td><label>Your Message <textarea class="message" name="message" cols="50" rows="10" id="message">

Member Avatar
Member Avatar
+0 forum 8

My form won't submit... nothing happens when clicking the submit button. Any ideas? N.B. I am knackered, I've been up 26 hours :/ Thanks in advance for any suggestions! <form action="contact_me.php" method="post" class="contact-form" id="contactForm"> <div class="controls controls-row"> <div class="control-group span6"> <input class="span12" name="name" placeholder="your name" type="text" /> </div> <div class="control-group span6"> <input class="span12" name="email" placeholder="your email" type="email" /> </div> </div> <div class="controls controls-row"> <div class="control-group span12"> <input class="span12" name="subject" placeholder="subject" type="text" /> </div> </div> <div class="controls controls-row"> <div class="control-group span12"> <textarea class="span12" name="message" placeholder="please type your message in here... " rows="5"></textarea> </div> </div> <div class="controls controls-row"> <div class="control-group span12"> <button …

Member Avatar
Member Avatar
+0 forum 5

HI basically this is my problem. I have created a database and I have created a table. I am trying to verify my username and password. HERE IS THE HTML PART. <body> <h1>Members login</h1> <form method="post" action="check_login.php"> <label for="username">Username:</label> <input type="text" name="username"/> <label for="Password">Password:</label> <input type="password" name="password"/> <label for ="submit">Submit:</label> <input type="submit" name="submit"/> </form> </body> </html> <?php ob_start(); $host = "localhost"; $username="aproject_new"; $password = "root"; $db_name="aproject_new"; $tbl_name = "task_2"; mysql_connect("$host", "$username","$db_name", "$tbl_name", "$password" )or die (mysql_error("cannot connect")); mysql_select_db ("$db_name") or die (mysql_error("cannot select database")); $myusername =$_POST['username']; $mypassword =$_POST['password']; if (empty($_POST['username'])) { echo "username is empty"; return false; } if (empty($_POST['password'])) …

Member Avatar
Member Avatar
+0 forum 6

I could receive the email but my php has some problem which maks the receving email looks strange, and can't use reply function on outlook. anyone could help me improve it. thank you. this contact.php <body> <?php $field_firstname = $_POST['firstname'];" ".$_POST['lastname']; $field_emailaddress= $_POST['emailaddress']; $field_telepohone = $_POST['telephone']; $field_country = $_POST['country']; $field_business = $_POST['business']; $field_comments = $_POST['comments']; $mail_to = 'info@ABC.com'; $subject = 'Message from a site visitor '.$field_name; $body_message = 'From: '.$field_name."\n"; $body_message .= 'E-mail: '.$_POST['emailaddress']."\n"; $body_message .= 'Message: \n'.$_POST['emailaddress']."\n"; $body_message .= $_POST['telephone']."\n"; $body_message .= $_POST['country']."\n"; $body_message .= $_POST['business']."\n"; $body_message .= $_POST['comments']; $headers = 'From: '.$_POST['emailaddress'].'\r\n'; $headers .= 'Reply-To: '.$_POST['emailaddress'].'\r\n'; $mail_status = …

Member Avatar
Member Avatar
+0 forum 6

I need to include a simple contact form in either the sidebar or footer of an existing website so it appears on every page. This is not a WordPress site, I have seen there are several plugins for WordPress. I need a different solution. I am thinking a php include would be my best option. However, my php skills are minimal. Can someone out there point me in the right direction? Any advice would be much appreciated. I have searched all day and have yet to find a good solution.

Member Avatar
Member Avatar
+0 forum 2

I have a contact form on my site when I click send I get the following errors: can anyone help please. Warning: fsockopen() [function.fsockopen]: unable to connect to 127.0.0.1:25 (Connection refused) in /home/jholmes6/public_html/contact/contactpage/sendmail.php on line 102 Warning: fgets(): supplied argument is not a valid stream resource in /home/jholmes6/public_html/contact/contactpage/sendmail.php on line 103 Warning: Cannot modify header information - headers already sent by (output started at /home/jholmes6/public_html/contact/contactpage/sendmail.php:102) in /home/jholmes6/public_html/contact/contactpage/sendmail.php on line 72 the code to send the email is below: < ?php //set variable error var $er = 0; //enter the website the contact form is on $website = 'GetSophos.co.uk'; //Set all …

Member Avatar
Member Avatar
+0 forum 2

So i figured out how to embed drop down menu option on the table feature in dreamweaver, HOWEVER, when i go to remote view to see if all fields are working the dropdown box which I labeled package is now showing up in the email. How can I get this fixed? Any ideas. Thanks! <?php $to = 'info@adolphhernandez.com'; $subject = 'I want to book you!'; $name = $_POST['name']; $email = $_POST['email']; $cell = $_POST['cell']; $package = $_POST['package']; $comments = $_POST['comments']; $available = $_POST['available']; $promo = $_POST['promo']; $body = <<<EMAIL Hello my name is $name, I would like to schedule a …

Member Avatar
Member Avatar
+0 forum 16

How can I input coding for this table contact form that I created in dreamweaver to have dropdown option values? Here is my code: <form action="" method="post"> <table width="600" border="1" cellspacing="2" cellpadding="0"> <tr> <th width="170" scope="col"><label for="name">Name:</label></th> <th width="428" scope="col"><div align="left"> <input type="text" name="name" id="name" required="required"/> </div></th> </tr> <tr> <th scope="row"><label for="email">Email:</label></th> <td><input type="text" name="email" id="email" required="required"/></td> </tr> <tr> <th scope="row"><label for="cell">Cell:</label></th> <td><input type="text" name="cell" id="cell" required="required"/></td> </tr> <tr> <th scope="row"><label for="available">Availability:</label></th> <td><input type="text" name="available" id="available" required="required"/></td> </tr> <tr> <th scope="row"><label for="promo">Promotion Code:</label></th> <td><input type="text" name="promo" id="promo" /></td> </tr> <tr> <th scope="row"><label for="topic">Topics:</label></th> <td><input type="text" name="topic" id="topic"> <option value="Select Package …

Member Avatar
Member Avatar
+0 forum 4

How can I create a table contact form in Dreamweaver using dropdown options? I have searched everywhere and I have found hmtl coding that does not work for the insert table contact form. Here is my code: <form action="" method="post"> <table width="600" border="1" cellspacing="2" cellpadding="0"> <tr> <th width="170" scope="col"><label for="name">Name:</label></th> <th width="428" scope="col"><div align="left"> <input type="text" name="name" id="name" required="required"/> </div></th> </tr> <tr> <th scope="row"><label for="email">Email:</label></th> <td><input type="text" name="email" id="email" required="required"/></td> </tr> <tr> <th scope="row"><label for="cell">Cell:</label></th> <td><input type="text" name="cell" id="cell" required="required"/></td> </tr> <tr> <th scope="row"><label for="available">Availability:</label></th> <td><input type="text" name="available" id="available" required="required"/></td> </tr> <tr> <th scope="row"><label for="promo">Promotion Code:</label></th> <td><input type="text" name="promo" id="promo" …

Member Avatar
Member Avatar
+0 forum 1

hi all i cant see my erron in the code i have followed the tutorial but i cant see it i wont some help. here is my code. $to = 'andi_138el@hotmail.com'; $subject = 'Contact from submitted'; $body = $contact_name."\n".$contact_text; $headers = 'From: '.$contact_email; if (mail($to,$subject, $body, $headers)){ echo 'Thanks for contacting us. We'll be in touch soon'; }else{ echo 'Sorry,an error occurred.Please try again later.'; }

Member Avatar
Member Avatar
+0 forum 6

Create a button in the context menu for each selected contact. Hi all I would like to create a button in the context menu (right click) for the selected contact. This button has the same functions as the call button. Is there a way to create this add-in for Outlook 2007 and 2010 in Visual C # and NOT in VB.NET. I repeat NOT in VB.Net.

Member Avatar
Member Avatar
+0 forum 1

Hello everyone, I'm attempting to make a email contact form for my website but I keep getting an error that reads "Warning: Invalid argument supplied for foreach() in /nfs/[......]/contact_fa.php on line 15." That points to this line right here: foreach($_POST['check[]'] as $value) { $check_boxes .= $value." "; } This is supposed to post the proper value from this checkbox input in the form: <input name="check[]" type="checkbox" id="tos" value="Agreed." /> I'm trying to have the value "Agreed" entered into the email via the line: $body_message .= 'Agree to TOS: '.$check_boxes; Can anyone help me understand why I'm getting this error? Many …

Member Avatar
Member Avatar
+0 forum 11

Hi all. I have been working on a action script and finally got it working. I am totally lost of how to write my PHP email codes for when the person press submit all the information they fill in is sent to me via email could someone help me please. I found tons of example off the internet to write a basic one but nothing close to what I have. Or better said none with check boxes buttons. Could someone please help me. Below is my action script code I use. The cb is for checkbox and radio buttons says …

Member Avatar
Member Avatar
+0 forum 2

The End.