PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.10.2
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.10.2
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
bit-form / views / conversational-form.php

conversational-form.php in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder 2.10.2, at views/conversational-form.php

57 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title><?= isset($title) ? $title : 'Conversational Form'; ?></title>
7 <style>
8 * {
9 padding: 0;
10 margin: 0;
11 box-sizing: border-box;
12 }
13
14 body.bit-conversational-form {
15 height: 100vh;
16 overflow: hidden;
17 }
18
19 @media (max-width: 575.98px) {
20 .standalone-form-wrapper {
21 width: 100%;
22 }
23 }
24
25 </style>
26 <?php
27 $baseCSSPath = "/form-styles/bitform-{$formID}.css";
28 $baseConversationalCSSPath = "/form-styles/bitform-conversational-{$formID}.css";
29 $customCSSPath = "/form-styles/bitform-custom-{$formID}.css";
30 $standaloneCSSPath = "/form-styles/bitform-standalone-{$formID}.css";
31 ?>
32 <link rel="stylesheet" href="<?= BITFORMS_UPLOAD_BASE_URL . $baseCSSPath ?>" />
33 <link rel="stylesheet" href="<?= BITFORMS_UPLOAD_BASE_URL . $baseConversationalCSSPath ?>" />
34
35 <?php if (file_exists(BITFORMS_CONTENT_DIR . $customCSSPath)) : ?>
36 <link rel="stylesheet" href="<?= BITFORMS_UPLOAD_BASE_URL . $customCSSPath ?>" />
37 <?php endif; ?>
38
39 <?php if (file_exists(BITFORMS_CONTENT_DIR . $standaloneCSSPath)) : ?>
40 <link rel="stylesheet" href="<?= BITFORMS_UPLOAD_BASE_URL . $standaloneCSSPath ?>" />
41 <?php endif; ?>
42
43 <?php if (isset($font) && '' !== $font) : ?>
44 <link rel="preconnect" href="https://fonts.googleapis.com">
45 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
46 <link rel="stylesheet" href="<?= $font ?>" />
47 <?php endif; ?>
48
49 </head>
50 <body class="bit-conversational-form">
51 <?=$formHTML?>
52 <script>
53 <?= $bfGlobals ?>;
54 </script>
55 <script src="<?= BITFORMS_UPLOAD_BASE_URL ?>/form-scripts/bitform-conversational-<?= $formID ?>.js"></script>
56 </body>
57 </html>