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
|
|
8
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
42
|
|
12
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
39
|
|
13
|
1
|
|
|
1
|
|
6
|
no warnings 'uninitialized'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
69
|
|
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
7
|
use CGI::FormBuilder::Util; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
290
|
|
16
|
1
|
|
|
1
|
|
7
|
use CGI::FormBuilder::Field::text; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
17
|
1
|
|
|
1
|
|
6
|
use base 'CGI::FormBuilder::Field::text'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
185
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
our $VERSION = '3.09'; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub script { |
23
|
4
|
|
|
4
|
0
|
14
|
return ''; # hidden fields are never checked |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |