I built a order form using WordPress Contact Form 7 plugin. I’m wanting to update the price automatically when quantity field’d value is changing on mouse click or key press. See the animated image file. You can understand the requirement. I added the simple JS code into my js file. Assume your quantity field name… Continue Reading
cf7
Integrate Salesforce Lead with Contact Form 7 Plugin
Full thanks are going to Alex Hager. His tips is helped me lot and I successfully integrate salesforce lead with CF7 plugin. First I generate a Web To Lead form in salesforce account. Here is my form’s code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
<!-- ---------------------------------------------------------------------- --> <!-- NOTE: Please add the following <META> element to your page <HEAD>. --> <!-- If necessary, please modify the charset parameter to specify the --> <!-- character set of your HTML page. --> <!-- ---------------------------------------------------------------------- --> <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"> <!-- ---------------------------------------------------------------------- --> <!-- NOTE: Please add the following <FORM> element to your page. --> <!-- ---------------------------------------------------------------------- --> <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST"> <input type=hidden name="oid" value="00XX000000XXXXX"> <input type=hidden name="retURL" value="http://yourdomain.com/thank-you/"> <!-- ---------------------------------------------------------------------- --> <!-- NOTE: These fields are optional debugging elements. Please uncomment --> <!-- these lines if you wish to test in debug mode. --> <!-- <input type="hidden" name="debug" value=1> --> <!-- <input type="hidden" name="debugEmail" value="chinmoy29@gmail.com"> --> <!-- ---------------------------------------------------------------------- --> <label for="first_name">First Name</label><input id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br> <label for="last_name">Last Name</label><input id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br> <label for="email">Email</label><input id="email" maxlength="80" name="email" size="20" type="text" /><br> <label for="company">Company</label><input id="company" maxlength="40" name="company" size="20" type="text" /><br> <label for="city">City</label><input id="city" maxlength="40" name="city" size="20" type="text" /><br> <label for="country">Country (text only)</label><input id="country" maxlength="40" name="country" size="20" type="text" /><br> <label for="state">State/Province (text only)</label><input id="state" maxlength="20" name="state" size="20" type="text" /><br> <label for="phone">Phone</label><input id="phone" maxlength="40" name="phone" size="20" type="text" /><br> <label for="title">Title</label><input id="title" maxlength="40" name="title" size="20" type="text" /><br> <label for="description">Description</label><textarea name="description"></textarea><br> <input type="submit" name="submit"> </form> |
Second I created my “Request More Info” form using Contact Form 7 plugin. Form is looking… Continue Reading