html::formhandler::field::checkbox(3pm) [debian man page]
HTML::FormHandler::Field::Checkbox(3pm) User Contributed Perl Documentation HTML::FormHandler::Field::Checkbox(3pm)NAME
HTML::FormHandler::Field::Checkbox - a checkbox field type
VERSION
version 0.40013
DESCRIPTION
This field is very similar to the Boolean Widget except that this field allows other positive values besides 1. Since unselected checkboxes
do not return a parameter, fields with Checkbox type will always be set to the 'input_without_param' default if they do not appear in the
form.
widget
checkbox
checkbox_value
In order to create the HTML for a checkbox, there must be a 'value="xx"'. This value is specified with the 'checkbox_value' attribute,
which defaults to 1.
input_without_param
If the checkbox is not checked, it will be set to the value of this attribute (the unchecked value). Default = 0. Because unchecked
checkboxes do not return anything in the HTTP parameters, the absence of a checkbox key in the parameters hash forces this field to this
value. This means that Checkbox fields, unlike other fields, will not be ignored if there is no input. If a particular checkbox should not
be processed for a particular form, you must set 'inactive' to 1 instead.
AUTHOR
FormHandler Contributors - see HTML::FormHandler
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Gerda Shank.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-25 HTML::FormHandler::Field::Checkbox(3pm)
Check Out this Related Man Page
HTML::FormHandler::Field::Password(3pm) User Contributed Perl Documentation HTML::FormHandler::Field::Password(3pm)NAME
HTML::FormHandler::Field::Password - password field
VERSION
version 0.40013
DESCRIPTION
The password field has a default minimum length of 6, which can be easily changed:
has_field 'password' => ( type => 'Password', minlength => 7 );
It does not come with additional default checks, since password requirements vary so widely. There are a few constraints in the
HTML::FormHandler::Types modules which could be used with this field: NoSpaces, WordChars, NotAllDigits. These constraints can be used in
the field definitions 'apply':
use HTML::FormHandler::Types ('NoSpaces', 'WordChars', 'NotAllDigits' );
...
has_field 'password' => ( type => 'Password',
apply => [ NoSpaces, WordChars, NotAllDigits ],
);
You can add your own constraints in addition, of course.
If a password field is not required, then the field will be marked 'noupdate', to prevent a null from being saved into the database.
ne_username
Set this attribute to the name of your username field (default 'username') if you want to check that the password is not the same as the
username. Does not check by default.
AUTHOR
FormHandler Contributors - see HTML::FormHandler
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Gerda Shank.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-25 HTML::FormHandler::Field::Password(3pm)
I am fairly new in unix I was wondering if anybody can help me out with this:
I am trying to output to a file the following fields;
Field1
Field2
Field4
From a database file dataBase1.
this is how the file looks:
dataBase1 TABLE DATA Example
==================
Table ... (3 Replies)
Hi,
My first post to this group...
I have a need to to parse a source file which is a capture from a network analyser.
I have two fields that need to be checked:
- Field 7 represents the packet length (an integer), and
Field 4 represents a network address (e.g. 192.168.25.3)
- The... (10 Replies)
hi
i have a file and its contents is as below:
8290804808
1338108313
1313141441
13131313133
1313131311
33424242242
23242424242
i want to print only those fields in bold. how to do it? (3 Replies)
Please help. I am adding 2 fields which are both positive and the result is negative. What am I missing?
FileEHash=`expr ${Field1} + ${Field2}` >/dev/null
Debug Results
+ expr 02100002 + 2009701914
EntryHash=2011801916
+ expr 02100002 + 2146202044
FileEHash=-2146665250
How do... (2 Replies)
I hope thi sis simple...
I have a TCL script which has several checkboxes. Is there a way to have one of the checkboxes be a "select all" and select/deselect all of the other boxes?
Can you show me a mini-sample?
Thanks... Scott E. (0 Replies)
Hi,
I used to count number of fields using following command head -1 <filename> | awk -F"," '{print NF}'
Now the scenario is the delimiter(comma) occurs inside one of the data field. How to ignore the comma inside data and consider only delimiter and count number of fields. The fields are... (1 Reply)
Hi friends,
I m newbie to bash scripting , i m writing script(bash) that will display all processes which r running in my system in an html page, everything going fine but i m not able to get checkbox dynamically for each process in html page ,so that i can mark that process... (2 Replies)
Hi,
I have a data set as shown below:
09e757fd,22727,2012-03-01,text1,text2,to
3fd0cae7,310,2012-03-01,text3,text4,to
3fd0cae7,310,2012-03-01,text3,text5,to
3fd0cae7,311,2012-03-01,text7,text10,cc
3fd0cae7,311,2012-03-01,text7,text11,to
3fd0cae7,312,2012-03-01,text8,text15,to... (3 Replies)
hi
i m printing all current running processes into an html page with checkbox for each process , using bash script i want to get(retrive) the value of that checked checkbox to kill the process ,can anybody please helpme out
thanks in advance (1 Reply)