FormGet Contact Form - Version 2.1

Version Description

Download this release

Release Info

Developer PankajAgarwal
Plugin Icon 128x128 FormGet Contact Form
Version 2.1
Comparing to
See all releases

Code changes from version 2.3 to 2.1

css/fgstyle.css CHANGED
@@ -256,156 +256,25 @@ div.fg_embed_code_save:hover{
256
  }
257
 
258
  .fg_trial-notify{
259
- margin-top: 20px;
260
- position: relative;
261
- z-index: 100;
262
- border: 1px solid #70a4d2!important;
263
- -moz-border-radius: 3px;
264
- -webkit-border-radius: 3px;
265
- border-radius: 3px;
266
- -webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
267
- -moz-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
268
- box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
269
- overflow: hidden;
270
- padding: 10px 0 10px!important;
271
- background-color: #b4d5f2;
272
- color: white;
273
- margin-right: 10px;
274
- }
275
-
276
- p.fg_division_note{
277
- color: black;
278
- max-width: 1150px;
279
- margin: 0;
280
- padding: 0 10px;
281
- text-align: left;
282
- margin: 10px 10px 10px 0;
283
- font-size: 22px;
284
- line-height: 28px;
285
- font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
286
- font-weight: normal;
287
- /* text-shadow: 0 1px 1px #3b8dd2; */
288
- -moz-border-radius: 5px;
289
- -webkit-border-radius: 5px;
290
- border-radius: 5px;
291
- float: left;
292
- vertical-align: middle;
293
- }
294
- .fg_button_prime{
295
- color: white;
296
- font-size: 14px!important;
297
- line-height: 16px!important;
298
- height: auto!important;
299
- -webkit-border-radius: 3px;
300
- border-radius: 3px;
301
- margin: 0 5px 0 0;
302
- padding: 5px 12px;
303
- vertical-align: middle;
304
- color: #fff;
305
- text-align: center;
306
- text-decoration: none;
307
- border: 1px solid #317dbc;
308
- -webkit-transition: none;
309
- -moz-transition: none;
310
- cursor: pointer;
311
- outline: 0;
312
- font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
313
- /* text-shadow: 0 1px #3b8dd2; */
314
- background-color: blue;
315
- background-image: -webkit-gradient(linear,left top,left bottom,from(#3b8dd2),to(#5cacf0));
316
- background-image: -webkit-linear-gradient(top,#3b8dd2,#5cacf0);
317
- background-image: -moz-linear-gradient(top,#3b8dd2,#5cacf0);
318
- background-image: -ms-linear-gradient(top,#3b8dd2,#5cacf0);
319
- background-image: -o-linear-gradient(top,#3b8dd2,#5cacf0);
320
- background-image: linear-gradient(to bottom,#3b8dd2,#5cacf0);
321
- -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
322
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
323
-
324
- }
325
- .fg_button_prime:hover{
326
- color: white;
327
- text-shadow: 0 -1px #3b8dd2;
328
- border: 1px solid #317dbc;
329
- background-color: #5D8CC9;
330
- background-image: -webkit-gradient(linear,left top,left bottom,from(#5cacf0),to(#3b8dd2));
331
- background-image: -webkit-linear-gradient(top,#5cacf0,#3b8dd2);
332
- background-image: -moz-linear-gradient(top,#5cacf0,#3b8dd2);
333
- background-image: -ms-linear-gradient(top,#5cacf0,#3b8dd2);
334
- background-image: -o-linear-gradient(top,#5cacf0,#3b8dd2);
335
- background-image: linear-gradient(to bottom,#5cacf0,#3b8dd2);
336
- webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
337
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);
338
  }
339
-
340
  .fg_hide_notice{
341
  float: right;
342
  margin-right: 10px;
343
- opacity: .6;
344
- }
345
-
346
- .fg_notice_div{
347
- margin-top: 20px;
348
- position: relative;
349
- z-index: 100;
350
- border: 1px solid #70a4d2!important;
351
- -moz-border-radius: 3px;
352
- -webkit-border-radius: 3px;
353
- border-radius: 3px;
354
- -webkit-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
355
- -moz-box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
356
- box-shadow: inset 0 0 15px rgba(0,0,0,0.04);
357
- overflow: hidden;
358
- padding: 10px 0 10px!important;
359
- background-color: #b4d5f2;
360
- color: black;
361
- margin-right: 10px;
362
- }
363
- p.fg_video_notice{
364
- color: black;
365
- max-width: 900px;
366
- margin: 0;
367
- padding: 0 10px;
368
- text-align: left;
369
- margin: 10px 10px 10px 0;
370
- font-size: 22px;
371
- line-height: 28px;
372
- font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;
373
- font-weight: normal;
374
- -moz-border-radius: 5px;
375
- -webkit-border-radius: 5px;
376
- border-radius: 5px;
377
- float: left;
378
- vertical-align: middle;
379
- }
380
- .fg_getting_started{
381
- margin-top: 10px;
382
- float: left;
383
- font-size: 20px !important;
384
- }
385
- .hide_video_notice{
386
- margin-top: 10px;
387
- float: right;
388
- overflow: hidden;
389
- font-size: 20px !important;
390
- margin-right: 350px;
391
- opacity:0.6;
392
- }
393
- div#fg_videoContainer{
394
- display: none;
395
- width: 100%;
396
- height: 100%;
397
- background: url('../image/overlay.png' )repeat;
398
- position:fixed;
399
- z-index: 10000;
400
- opacity:0.93;
401
- }
402
- div#fg_videoContainer .video_tobe_shown{
403
- border: 5px solid white;
404
- margin-top: 10%;
405
- margin-left: 20%;
406
- padding: 3px;
407
- opacity:1 !important;
408
  }
409
-
410
-
411
-
256
  }
257
 
258
  .fg_trial-notify{
259
+ background-color: #fffbcc;
260
+ border: 1px solid #e6db55;
261
+ color: #555;
262
+ height: 27px;
263
+ font-size: 12px;
264
+ text-align: left;
265
+ margin-top: 25px ;
266
+ padding-left:8px;
267
+ border-width: 1px;
268
+ border-style: solid;
269
+ padding-bottom: 13px !important;
270
+ margin-right: 13px !important;
271
+ -webkit-margin-before: 1.5em;
272
+ -webkit-margin-after: 1em;
273
+ -webkit-margin-start: 0px;
274
+ -webkit-margin-end: 0px;
275
+ border-radius: 4px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  }
 
277
  .fg_hide_notice{
278
  float: right;
279
  margin-right: 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  }
 
 
 
image/button-primary-hover.png DELETED
Binary file
image/button-primary.png DELETED
Binary file
image/close.png DELETED
Binary file
image/overlay.png DELETED
Binary file
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: FormGet Contact Form
4
  Plugin URI: http://www.formget.com
5
  Description: FormGet Contact Form is an eassy and effective form builder tool which enable you to bulid and embed form on your website in few steps. With FormGet Contact Form manage all your contact forms and your entire client communication at one single place.
6
- Version: 2.3
7
  Author: FormGet
8
  Author URI: http://www.formget.com
9
  */
@@ -18,17 +18,15 @@ function my_admin_notice() {
18
  if (!get_user_meta($user_id, 'admin_ignore_notice')) {
19
  ?>
20
  <div class="fg_trial-notify">
21
- <p class="fg_division_note">
22
- Welcome to FormGet - You're almost ready to create your form <a class="fg_button_prime" href='<?php echo admin_url('admin.php?page=cf_page'); ?>'>Click to Create.</a><?php printf(__('<a class="fg_hide_notice fg_button_prime", href="%1$s">Hide Notice</a>'), '?admin_nag_ignore=0'); ?></p>
23
  </div>
24
  <?php
25
  }
26
  }
27
  }
28
 
29
- if (!isset($_GET['page']) == 'cf_page') {
30
  add_action('admin_notices', 'my_admin_notice');
31
- }
32
 
33
  function admin_nag_ignore() {
34
  global $current_user;
@@ -50,6 +48,9 @@ function delete_user_entry() {
50
  register_deactivation_hook(__FILE__, 'delete_user_entry');
51
 
52
 
 
 
 
53
  if (is_admin()) {
54
 
55
  function cf_add_style() {
@@ -76,24 +77,8 @@ function cf_menu_page() {
76
 
77
  function cf_setting_page() {
78
  $url = plugins_url();
79
- ?>
80
- <div >
81
- <div id="fg_videoContainer" >
82
-
83
- </div>
84
- <?php global $wpdb;
85
- $fg_video_code = get_option('fg_hide_video');
86
- if(!$fg_video_code == "hide"){
87
- ?>
88
- <div class="fg_notice_div" id="#fg_notice_div">
89
- <p class="fg_video_notice" >
90
- We have created a simple video for using the FormGet WordPress Plugin.
91
- <div class="fg_getting_started fg_button_prime" id="fg_video_getting_started">Watch Video!</div> <div class="hide_video_notice fg_button_prime">Hide this Notice </div>
92
- </p>
93
- </div>
94
- <?php } ?>
95
- <div id="fg_of_container" class="fg_wrap" >
96
- <form id="fg_ofform" action="" method="POST">
97
  <div id="fg_header">
98
  <div class="fg_logo">
99
  <h2> FormGet Contact Form</h2>
@@ -197,9 +182,6 @@ if (isset($_GET['page']) == 'cf_page') {
197
 
198
  function cf_text_ajax_process_request() {
199
  $text_value = $_POST['value'];
200
- $val = $_POST['value_hide'];
201
- //echo $val;
202
- update_option('fg_hide_video', $val);
203
  update_option('fg_embed_code', $text_value);
204
  echo 1;
205
  die();
3
  Plugin Name: FormGet Contact Form
4
  Plugin URI: http://www.formget.com
5
  Description: FormGet Contact Form is an eassy and effective form builder tool which enable you to bulid and embed form on your website in few steps. With FormGet Contact Form manage all your contact forms and your entire client communication at one single place.
6
+ Version: 2.1
7
  Author: FormGet
8
  Author URI: http://www.formget.com
9
  */
18
  if (!get_user_meta($user_id, 'admin_ignore_notice')) {
19
  ?>
20
  <div class="fg_trial-notify">
21
+ <p>
22
+ <a href='<?php echo admin_url('admin.php?page=cf_page'); ?>'>Click to Create your own Advance Contact Form.</a> You can add your built form to any Page, Post, Sidebar or as a Tabbed Content.<?php printf(__('<a class="fg_hide_notice", href="%1$s">Hide Notice</a>'), '?admin_nag_ignore=0'); ?></p>
23
  </div>
24
  <?php
25
  }
26
  }
27
  }
28
 
 
29
  add_action('admin_notices', 'my_admin_notice');
 
30
 
31
  function admin_nag_ignore() {
32
  global $current_user;
48
  register_deactivation_hook(__FILE__, 'delete_user_entry');
49
 
50
 
51
+
52
+
53
+
54
  if (is_admin()) {
55
 
56
  function cf_add_style() {
77
 
78
  function cf_setting_page() {
79
  $url = plugins_url();
80
+ ?><div id="fg_of_container" class="fg_wrap">
81
+ <form id="fg_ofform" action="" method="POST">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  <div id="fg_header">
83
  <div class="fg_logo">
84
  <h2> FormGet Contact Form</h2>
182
 
183
  function cf_text_ajax_process_request() {
184
  $text_value = $_POST['value'];
 
 
 
185
  update_option('fg_embed_code', $text_value);
186
  echo 1;
187
  die();
js/fg_script.js CHANGED
@@ -55,38 +55,4 @@ jQuery(document).ready(function() {
55
  }
56
  });
57
  });
58
-
59
- jQuery('div#fg_video_getting_started').click(function(){
60
- jQuery('div#fg_videoContainer').css({"display": "block"});
61
- autoPlayVideo('83909839','700','400');
62
- });
63
-
64
-
65
- function autoPlayVideo(vcode, width, height){
66
- "use strict";
67
- jQuery("#fg_videoContainer").html('<iframe class="video_tobe_shown" width="'+width+'" height="'+height+'" src="//player.vimeo.com/video/'+vcode+'?autoplay=1&loop=1&rel=0&wmode=transparent" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>');
68
- }
69
-
70
- jQuery('div#fg_videoContainer').click(function(){
71
- jQuery('div#fg_videoContainer').css({"display": "none"});
72
- jQuery('div#fg_videoContainer').empty();
73
- });
74
- //jQuery("div.")
75
- jQuery(".hide_video_notice").click(function(){
76
- //alert("hello");
77
- var hide_data = {
78
- action: 'master_response',
79
- value_hide: "hide"
80
- };
81
- jQuery.post(script_call.ajaxurl, hide_data, function(response) {
82
- if (response) {
83
- //alert(response);
84
- jQuery('.fg_notice_div').hide();
85
- }
86
- else {
87
-
88
-
89
- }
90
- });
91
- });
92
  });
55
  }
56
  });
57
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  });
readme.txt CHANGED
@@ -3,17 +3,14 @@ Contributors: PankajAgarwal
3
  Tags: contact form, contact, form, forms, contact form plugin, contact form builder, contact form with recaptcha, feedback form, contact us, request form, contact button, drag and drop contact form, file upload contact form, contact form to email, contact form payments, contact for paypal, form solution, form builder, feedback, easy contact form, helpdesk
4
  Requires at least: 3.5.0
5
  Tested up to: 3.5.1
6
- Stable tag: 2.3
7
 
8
  FormGet Contact Form manage all your contact forms using single dashboard. Just a click on fields and your contact form is ready for use.
9
 
10
  == Description ==
11
  FormGet is an easy online drag and drop contact form builder tool. You just need to click on the fields that you want to add up on your form and your contact form get ready within a second. You can also manage your contact form by simply drag and drop the form fields.
12
 
13
- = This video will give you a quick demo on how you can Create forms and embed it on your WordPress site with FormGet WordPress plugin. =
14
-
15
- http://vimeo.com/83909839
16
-
17
 
18
  = Type of Forms Supported by Plugin =
19
  Contact form, Feedback form, Helpdesk form, Booking form, Consultation service, Contact form, Mailing list form, Survey form, Job application form, Workshop registration form, Bug tracker form, Newsletter sign up form, Wedding planner form, Real estate applications form, Invitation/RSVP add invitation to the product demo form, Online orders form etc.
@@ -76,10 +73,6 @@ FormGet Contact Form plugin implemented with a helpdesk system which enable you
76
  * Redirect user to any page/URL using contact form redirect URL field.
77
  * Data stored using entries are regularly backup and restored on cloud servers.
78
  * Allow to enable form fields compulsary using avaliable Required option.
79
- * Implemented Logic Forms to integrate logical conditions in your form that will show or hide form fields or questions according to the user�s response to previous field.
80
- * Upload your Custom Background and header image.
81
- * Color customization can be done by using advance color customizer.
82
- * Share your forms on Facebook, Twitter, Google Plus go generate leads.
83
 
84
  Learn more about our FormGet Contact Form.
85
 
@@ -142,15 +135,6 @@ When you create account in FormGet you automatically get support desk. All the e
142
 
143
  == Changelog ==
144
 
145
- = Version 2.3 =
146
- * Implemented Logic in Contact Form
147
- * Upload your Custom Background and header image in contact form.
148
- * Color customization can be done by using advance color customizer in Contact Form.
149
- * Share your Contact forms on Facebook, Twitter, Google Plus go generate leads.
150
-
151
- = Version 2.2 =
152
- * Video added in Plugin.
153
-
154
  = Version 2.1 =
155
  * Video added in readme.txt
156
 
3
  Tags: contact form, contact, form, forms, contact form plugin, contact form builder, contact form with recaptcha, feedback form, contact us, request form, contact button, drag and drop contact form, file upload contact form, contact form to email, contact form payments, contact for paypal, form solution, form builder, feedback, easy contact form, helpdesk
4
  Requires at least: 3.5.0
5
  Tested up to: 3.5.1
6
+ Stable tag: 2.1
7
 
8
  FormGet Contact Form manage all your contact forms using single dashboard. Just a click on fields and your contact form is ready for use.
9
 
10
  == Description ==
11
  FormGet is an easy online drag and drop contact form builder tool. You just need to click on the fields that you want to add up on your form and your contact form get ready within a second. You can also manage your contact form by simply drag and drop the form fields.
12
 
13
+ http://vimeo.com/82441121
 
 
 
14
 
15
  = Type of Forms Supported by Plugin =
16
  Contact form, Feedback form, Helpdesk form, Booking form, Consultation service, Contact form, Mailing list form, Survey form, Job application form, Workshop registration form, Bug tracker form, Newsletter sign up form, Wedding planner form, Real estate applications form, Invitation/RSVP add invitation to the product demo form, Online orders form etc.
73
  * Redirect user to any page/URL using contact form redirect URL field.
74
  * Data stored using entries are regularly backup and restored on cloud servers.
75
  * Allow to enable form fields compulsary using avaliable Required option.
 
 
 
 
76
 
77
  Learn more about our FormGet Contact Form.
78
 
135
 
136
  == Changelog ==
137
 
 
 
 
 
 
 
 
 
 
138
  = Version 2.1 =
139
  * Video added in readme.txt
140