-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchatbot.html
66 lines (49 loc) · 2.31 KB
/
chatbot.html
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/responsive.css">
<!-- ChatBot -->
<link rel="stylesheet" type="text/css" href="css/jquery.convform.css">
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/jquery.convform.js"></script>
<scrip type="text/javascript" src="js/custom.js"></script>
</head>
<body>
<!-- ChatBot -->
<div class="chat_icon">
<i class="fa fa-comments" aria-hidden="true"></i>
</div>
<div class="chat_box">
<div class="my-conv-form-wrapper">
<form action="" method="GET" class="hidden">
<select data-conv-question="Hello! How can I help you" name="category">
<option value="WebDevelopment">Website Development ?</option>
<option value="DigitalMarketing">Digital Marketing ?</option>
</select>
<div data-conv-fork="category">
<div data-conv-case="WebDevelopment">
<input type="text" name="domainName" data-conv-question="Please, tell me your domain name">
</div>
<div data-conv-case="DigitalMarketing" data-conv-fork="first-question2">
<input type="text" name="companyName" data-conv-question="Please, enter your company name">
</div>
</div>
<input type="text" name="name" data-conv-question="Please, Enter your name">
<input type="text" data-conv-question="Hi {name}, <br> It's a pleasure to meet you." data-no-answer="true">
<input data-conv-question="Enter your e-mail" data-pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" type="email" name="email" required placeholder="What's your e-mail?">
<select data-conv-question="Please Conform">
<option value="Yes">Confirm</option>
</select>
</form>
</div>
</div>
<script> function processMessage(message) { // Your code goes here. } </script>
<!-- ChatBot end -->
</body>
</html>