line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
########################################################################### |
3
|
|
|
|
|
|
|
# Copyright (c) Nate Wiger http://nateware.com. All Rights Reserved. |
4
|
|
|
|
|
|
|
# Please visit http://formbuilder.org for tutorials, support, and examples. |
5
|
|
|
|
|
|
|
########################################################################### |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# hidden and password fields are rendered exactly like text fields |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package CGI::FormBuilder::Field::hidden; |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
12
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
28
|
|
13
|
1
|
|
|
1
|
|
2
|
no warnings 'uninitialized'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
4
|
use CGI::FormBuilder::Util; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
105
|
|
16
|
1
|
|
|
1
|
|
4
|
use CGI::FormBuilder::Field::text; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
19
|
|
17
|
1
|
|
|
1
|
|
4
|
use base 'CGI::FormBuilder::Field::text'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
113
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
our $VERSION = '3.10'; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub script { |
23
|
4
|
|
|
4
|
0
|
6
|
return ''; # hidden fields are never checked |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |