Skip to content

Commit 3fd55bf

Browse files
authored
Update test.php
1 parent d7653e6 commit 3fd55bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
include "./forms.php";
33
$form = new BtrpsForm("Send it!");
4-
$form->addField("fieldName", "Field", "email", NULL, "flag", "E-mail");
4+
$form->addField("fieldName", "Field", "email", NULL, "flag", "E-mail, true);
55
$form->addField("fieldName2", "Radio", "radio", ['key1' => "Value1", 'key2' => "Value2"], "flag", "Radio");
66
$form->addField("fieldName3", "Select", "select", ['key1' => "Value1", 'key2' => "Value2"], "flag", "Select");
77
$form->addField("fieldName4", "Second field", "datetime-local", NULL, "flag", "Time");

0 commit comments

Comments
 (0)