We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7653e6 commit 3fd55bfCopy full SHA for 3fd55bf
test.php
@@ -1,7 +1,7 @@
1
<?php
2
include "./forms.php";
3
$form = new BtrpsForm("Send it!");
4
- $form->addField("fieldName", "Field", "email", NULL, "flag", "E-mail");
+ $form->addField("fieldName", "Field", "email", NULL, "flag", "E-mail, true);
5
$form->addField("fieldName2", "Radio", "radio", ['key1' => "Value1", 'key2' => "Value2"], "flag", "Radio");
6
$form->addField("fieldName3", "Select", "select", ['key1' => "Value1", 'key2' => "Value2"], "flag", "Select");
7
$form->addField("fieldName4", "Second field", "datetime-local", NULL, "flag", "Time");
0 commit comments