html::formfu::constraint::minmaxfields(3pm) [debian man page]
HTML::FormFu::Constraint::MinMaxFields(3pm) User Contributed Perl Documentation HTML::FormFu::Constraint::MinMaxFields(3pm)NAME
HTML::FormFu::Constraint::MinMaxFields - Min/Max Multi-field Constraint
SYNOPSIS
type: MinMaxFields
name: foo
others: [bar, baz]
min: 1
max: 1
DESCRIPTION
Ensure that at least a minimum and only a maximum number of fields are present.
This constraint doesn't honour the "not()" value.
METHODS
minimum
min
The minimum number of named fields which must be filled in.
"min" is an alias for "minimum".
maximum
max
The maximum number of named fields which must be filled in.
"max" is an alias for "maximum".
The default for max is the number of all affected fields, in other words one more than the number of elements given to others.
attach_errors_to_base
Default Value: 1
attach_errors_to_others
Default Value: 0
SEE ALSO
Is a sub-class of, and inherits methods from HTML::FormFu::Constraint::_others, HTML::FormFu::Constraint
HTML::FormFu
AUTHOR
Mario Minati "mario.minati@googlemail.com"
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-23 HTML::FormFu::Constraint::MinMaxFields(3pm)
Check Out this Related Man Page
HTML::FormFu::Element::RequestToken(3pm) User Contributed Perl Documentation HTML::FormFu::Element::RequestToken(3pm)NAME
HTML::FormFu::Element::RequestToken - Hidden text field which contains a unique token
SYNOPSIS
my $e = $form->element( { type => 'Token' } );
my $p = $form->element( { plugin => 'Token' } );
DESCRIPTION
This field can prevent CSRF attacks. It contains a random token. After submission the token is checked with the token which is stored in
the session of the current user. See "request_token_enable" in Catalyst::Controller::HTML::FormFu for a convenient way how to use it.
ATTRIBUTES
context
Value of the stash key for the Catalyst context object ($c). Defaults to "context".
expiration_time
Time to life for a token in seconds. Defaults to 3600.
session_key
Session key which is used to store the tokens. Defaults to "__token".
limit
Limit the number of tokens which are kept in the session. Defaults to 20.
constraints
Defaults to HTML::FormFu::Constraint::RequestToken and HTML::FormFu::Constraint::Required.
message
Set the error message.
METHODS
expire_token
This method looks in the session for expired tokens and removes them.
get_token
Generates a new token and stores it in the stash.
verify_token
Checks whether a given token is already in the session. Returns 1 if it exists, 0 otherwise.
SEE ALSO
Catalyst::Controller::HTML::FormFu, HTML::FormFu::Plugin::RequestToken, HTML::FormFu::Constraint::RequestToken
HTML::FormFu
AUTHOR
Moritz Onken, "onken@houseofdesign.de"
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-05-11 HTML::FormFu::Element::RequestToken(3pm)
Hello every one, I have following data
***CAMPAIGN 1998 CONTRIBUTIONS***
---------------------------------------------------------------------------
NAME PHONE Jan | Feb | Mar | Total Donated
... (12 Replies)
hi, i have an awk script and I managed to figure out how to search the max value but Im having difficulty in searching for the min field value.
BEGIN {FS=","; max=0}
NF == 7 {if (max < $6) max = $6;}
END { print man, min}
where $6 is the column of a field separated by a comma (3 Replies)
I want to get maximum/minimum date/timestamp from a data file ?
Sample Input File
=============
rec#,order_dt,ext_ts
1,2010-12-01,2010-12-01 17:55:23.222222
2,2011-11-05,2010-12-01 19:55:23.222222
3,2009-10-01,2010-12-01 18:55:23.222222
for above file
Maximum Order_dt = 2011-11-05... (5 Replies)
I have to find the min and max on a specific column in a file after sending that column and one other to a output file but I keep getting a maximum of zero
below is what i have so far if anyone can give me advice on what i am doing wrong the help would be much appreciated
# ! /usr/bin/perl -w... (2 Replies)
I have a system with the following settings:
min:0.10
Assigned: 2.0
Max: 6.0
Partition is uncapped weight is 128.
I would like to know if even if this is uncapped, is the max it can use 6?
The actual pool has 16.
I remember reading about this somewhere but I don't remember can anyone... (3 Replies)
Using the input file for each row , using columns 1 (min) and 2 (max) , and with increment of 4 each time I want to create the output file.
Input file
1000 1012 2000 2001
2000 2008 3000 3001
Output desired
1000 2000 2001
1004 2000 2001
1008 2000 2001
1012 2000 2001
2000 3000 3001... (5 Replies)