This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[+dynfield.items]] | |
<script> | |
function addRow(button) { | |
var newRow = '[[$step1DynamicFields.item:chunkToJsProperty]]' + " \n"; | |
$(newRow).insertBefore($(button)); | |
} | |
function removeRow(button) { | |
$(button).parent().parent().remove(); | |
} | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="input-group"> | |
<input | |
name="telephone[]" | |
type="text" | |
value="[[+dynfield.telephone]]" | |
placeholder="+1 800 123456" | |
required="required" | |
class="form-control required" | |
> | |
<span class="input-group-btn"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$output = $input; | |
$output = str_replace('/', '\/', $output); | |
$output = str_replace("\n", '', $output); | |
$output = preg_replace("/(>+(\s)*<+)/", '><', $output); | |
$output = preg_replace("/\s+/", ' ', $output); | |
return $output; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[!FormIt? | |
&hooks=`redirect` | |
&store=`1` | |
&redirectTo=`9` | |
&validate=`name:required, | |
telephone:required` | |
&submitVar=`go` | |
]] | |
[[!+fi.error_message:notempty=`<p>[[!+fi.error_message]]</p>`]] | |
<form action="[[~[[*id]]]]" method="post" class="form-horizontal" role="form"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tr> | |
<td>Telephones</td> | |
<td>:</td> | |
<td><ul>[[+dynfield.items]]</ul></td> | |
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li>[[+dynfield.telephone]]</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Hello Admin,</p> | |
<p>Someone has sent the application form.</p> | |
<table style="border: none;"> | |
<tr> | |
<td colspan="3">Personal Details</td> | |
</tr> | |
<tr> | |
<td>Name</td> | |
<td>:</td> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="input-group"> | |
<input | |
name="position[]" | |
type="text" | |
value="[[+dynfield.position]]" | |
placeholder="Past position" | |
required="required" | |
class="form-control required" | |
> | |
<span class="input-group-btn"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[!FormIt? | |
&hooks=`email,redirect` | |
&emailTpl=`emailTpl` | |
&emailSubject=`Submission - [[+name]]` | |
&emailTo=`me@example.com` | |
&redirectTo=`10` | |
&validate=`position:required` | |
&store=`1` | |
&submitVar=`go` | |
]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[+dynfield.items]] | |
<script> | |
function addRow(button) { | |
var newRow = '[[$step2DynamicFields.item:chunkToJsProperty]]' + " \n"; | |
$(newRow).insertBefore($(button)); | |
} | |
function removeRow(button) { | |
$(button).parent().parent().remove(); | |
} | |
</script> |
OlderNewer