Main > Free Download Search >

Free html forms software for linux

html forms

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3328
Rose::HTML::Form 0.53

Rose::HTML::Form 0.53


Rose::HTML::Form is a HTML form base class. more>>
Rose::HTML::Form is a HTML form base class.

SYNOPSIS

package PersonForm;

use Rose::HTML::Form;
our @ISA = qw(Rose::HTML::Form);

use Person;

sub build_form
{
my($self) = shift;

$self->add_fields
(
name => { type => text, size => 25, required => 1 },
email => { type => email, size => 50, required => 1 },
phone => { type => phone },
);
}

sub validate
{
my($self) = shift;

# Base class will validate individual fields in isolation,
# confirming that all required fields are filled in, and that
# the email address and phone number are formatted correctly.
my $ok = $self->SUPER::validate(@_);
return $ok unless($ok);

# Inter-field validation goes here
if($self->field(name)->internal_value ne John Doe &&
$self->field(phone)->internal_value =~ /^555/)
{
$self->error(Only John Doe can have a 555 phone number.);
return 0;
}

return 1;
}

sub init_with_person # give a friendlier name to a base-class method
{
my($self, $person) = @_;
$self->init_with_object($person);
}

sub person_from_form
{
my($self) = shift;

# Base class method does most of the work
my $person = $self->object_from_form(class => Person);

# Now fill in the non-obvious details...
# e.g., set alt phone to be the same as the regular phone
$person->alt_phone($self->field(phone)->internal_value);

return $person;
}

...

#
# Sample usage in a hypothetical web application
#

$form = PersonForm->new;

if(...)
{
# Get query parameters in a hash ref and pass to the form
my $params = MyWebServer->get_query_params();
$form->params($params);

# ...or initialize form params from a CGI object
# $form->params_from_cgi($cgi); # $cgi "isa" CGI

# ...or initialize params from an Apache request object
# (mod_perl 1 and 2 both supported)
# $form->params_from_apache($r);

# Initialize the fields based on params
$form->init_fields();

unless($form->validate)
{
return error_page(error => $form->error);
}

$person = $form->person_from_form; # $person is a Person object

do_something_with($person);
...
}
else
{
$person = ...; # Get or create a Person object somehow

# Initialize the form with the Person object
$form->init_with_person($person);

# Pass the initialized form object to the template
display_page(form => $form);
}
...

Rose::HTML::Form is more than just an object representation of the HTML tag. It is meant to be a base class for custom form classes that can be initialized with and return "rich" values such as objects, or collections of objects.

Building up a reusable library of form classes is extremely helpful when building large web applications with forms that may appear in many different places. Similar forms can inherit from a common subclass, and forms may be nested.

This class inherits from, and follows the conventions of, Rose::HTML::Object. Inherited methods that are not overridden will not be documented a second time here. See the Rose::HTML::Object documentation for more information.

<<less
Download (0.10MB)
Added: 2006-09-29 License: Perl Artistic License Price:
1120 downloads
HTML::FormRemove 0.3a

HTML::FormRemove 0.3a


HTML::FormRemove is a Perl module to remove form tags from HTML. more>>
HTML::FormRemove is a Perl module to remove form tags from HTML.

SYNOPSIS

my $html =
"< FORM > < INPUT TYPE=TEXT NAME=Test VALUE=Hello World! > < /FORM >";
use HTML::FormRemove
print RemoveFormValues($html);

HTML::FormRemove is a module that removes form tags from HTML, while otherwise leaving the HTML intact. This allows for forms to be converted into something printable and usable.

RemoveFormValues ( HTML [, HTML [, HTML [...]]] )
Removes the form values. Exported by default. Returns an array of lines containing the updated HTML, or one single like containing them separated by newlines.

NOTES

This module is a work in progress; Ive only got basic functionality working at the moment.

<<less
Download (0.004MB)
Added: 2007-02-13 License: Other/Proprietary License Price:
983 downloads
HTML Objects 1.2.4

HTML Objects 1.2.4


HTML Objects is a Perl module library for turning HTML tags into Perl objects. more>>
HTML Objects is a Perl module library for turning HTML tags into Perl objects. HTML Objects allows Web pages to be manipulated as a data structure rather than text.

Once manipulation is done, the entire page is generated via depth-first recursion.

<<less
Download (0.025MB)
Added: 2006-05-09 License: GPL (GNU General Public License) Price:
1263 downloads
HTML::FormHighlight 0.03

HTML::FormHighlight 0.03


HTML::FormHighlight Perl module can help you to highlights fields in an HTML form. more>>
HTML::FormHighlight Perl module can help you to highlights fields in an HTML form.

SYNOPSIS

use HTML::FormHighlight;

my $h = new HTML::FormHighlight;

print $h->highlight(
scalarref => $form,
fields => [ A, B, C ],
);

print $h->highlight(
scalarref => $form,
fields => [ A, B, C ],
highlight => *,
mark => ,
all_in_group => 1,
);

HTML::FormHighlight can be used to highlight fields in an HTML form. It uses HTML::Parser to parse the HTML form, and then places text somewhere before each field to highlight the field. You can specify which fields to highlight, and optionally supply a CGI object for it to check whether or not an input value exists before highlighting the field.

It can be used when displaying forms where a user hasnt filled out a required field. The indicator can make it easier for a user to locate the fields that theyve missed. If youre interested in more advanced form validation, see HTML::FormValidator. HTML::FillInForm can also be used to fill form fields with values that have already been submitted.

METHODS

new()

Create a new HTML::FormHighlight object. Example:

$h = new HTML::FormHighlight;

highlight()

Parse through the HTML form and highlight fields. The method returns a scalar containing the parsed form. Here are a few examples:

To highlight the fields A, B and C (form on disk):

$h->highlight(
file => form.html,
fields => [ A, B, C ],
);

To highlight the fields A and B with a smiley face
(form as a scalar):

$h->highlight(
scalarref => $form,
fields => [ A, B ],
highlight =>,
);

To highlight the fields A and B if they havent been supplied
by form input (form as an array of lines):

$q = new CGI;

$h->highlight(
arrayref => @form,
fields => [ A, B ],
fobject => $q,
);

Note: highlight() will only highlight the first option in a radio or select group unless the all_in_group flag is set to a true value.

Heres a list of possible parameters for highlight() and their descriptions:
scalarref - a reference to a scalar that contains the text of the form.
arrayref - a reference to an array of lines that contain the text of the form.
file - a scalar that contains the file name where the form is kept.

fields - a reference to an array that lists the fields to be highlighted. If used in conjunction with "fobject" or "fdat", only the fields listed that are empty will be highlighted.

highlight - a scalar that contains the highlight indicator. Defaults to a red asterisk (< font color="#FF0000" size="+1" >< b >*< /b >< /font >).

mark - a regex specifying where to place the highlight indicator. If this is empty, the indicator will be inserted directly before the form field. The HTML form does not need to contain the text specified in the regex before each form field. highlight() will only use a mark for a field if there is no other form field before the field its highlighting. If there is more than one mark before a field, it will only highlight the last mark. If it doesnt find a mark, it will insert the indicator directly before the form field

<<less
Download (0.005MB)
Added: 2007-07-12 License: Perl Artistic License Price:
834 downloads
HTML::FromText 2.0.5

HTML::FromText 2.0.5


HTML::FromText is a Perl module that can convert plain text to HTML. more>>
HTML::FromText is a Perl module that can convert plain text to HTML.

SYNOPSIS

use HTML::FromText;
text2html( $text, %options );

# or

use HTML::FromText ();
my $t2h = HTML::FromText->new( %options );
my $html = $t2h->parse( $html );

HTML::FromText converts plain text to HTML. There are a handfull of options that shape the conversion. There is a utility function, text2html, thats exported by default. This function is simply a short- cut to the Object Oriented interface described in detail below.

<<less
Download (0.013MB)
Added: 2006-08-05 License: Perl Artistic License Price:
1175 downloads
HTML::Myasp 0.05

HTML::Myasp 0.05


HTML::Myasp can generate HTML pages based on Templates. JATP (Just Another Template Parser). more>>
HTML::Myasp can generate HTML pages based on Templates. JATP (Just Another Template Parser).

This library is another template module for the generation of HTML pages. Why ?. Well primarily i wanted a module: light, that keeps mod_perl power and flow control like HTML::Template, good interaction with external contents administrators, have the chance of using naturally the print statement for generating web content, but, for some situations have the chance of directly replace keywords in the template with values. In some way this module centralizes the feature of a hash with values for replacing that you find in HTML::Template and the XMLSubsMatch feature of Apache::ASP.

This module keeps the basic mod_perl flow, and permits the replacing with dynamic content using two forms of marking. Is very well suited for working in parallel with the designers team, living each group advance on its own.

HTML::Myasp export the send_page function by default, you can attach the dynamic content using:

A callback style for special tags delimiting zones.
Direct replacing of keywords by values.
In order to improve performance it uses a global pages CACHE hash, avoiding parsing files unless modified.

<<less
Download (0.006MB)
Added: 2006-08-01 License: GPL (GNU General Public License) Price:
1179 downloads
Html Code Convert 3.3

Html Code Convert 3.3


Speed up the conversion of HTML code into different format more>>
HTML Code Convert helps speed up the conversion of HTML code into different format including Java Script, JavaServer Pages, Microsoft ASP, PHP, Perl, Python, and the UNIX Shell. It is particularly useful in CGI scripting.
Enhancements:
- Colors and font selected in prefeferences box.
- Fixe bug with Quit button. First try to support accessibility.
- Updated schemas.
<<less
Download (184KB)
Added: 2009-04-29 License: Freeware Price:
198 downloads
HTML::LoL 1.3

HTML::LoL 1.3


HTML::LoL is a Perl module that can construct HTML from pleasing Perl data structures. more>>
HTML::LoL is a Perl module that can construct HTML from pleasing Perl data structures.

SYNOPSIS

use HTML::LoL;

&hl(sub { print shift },
[body => {bgcolor => white},
[p => Document body, ...], ...]);

This module allows you to use Perl syntax to express HTML. The function hl() converts Perl list-of-list structures into HTML strings.

The first argument to hl() is a callback function thats passed one argument: a fragment of generated HTML. This callback is invoked repeatedly with successive fragments until all the HTML is generated; the callback is responsible for assembling the fragments in the desired output location (e.g., a string or file).

The remaining arguments to hl() are Perl objects representing HTML, as follows:

[TAG, ...]

TAG is a string (the name of an HTML element); remaining list items are any of the forms described herein. Corresponds to < TAG >...< /TAG >. If TAG is an "empty element" according to %HTML::Tagset::emptyElement, then the < /TAG > is omitted.

[TAG => {ATTR1 => VAL1, ATTR2 => VAL2, ...}, ...]

Corresponds to < TAG ATTR1="VAL1" ATTR2="VAL2" ... >...< /TAG >. (As above, < /TAG > is omitted if TAG is an "empty element.") Each ATTR is a string. Each VAL is either a string, in which case the value gets HTML-entity-encoded when copied to the output, or a list reference containing a single string (viz. [VAL]) in which case the value is copied literally.

Finally, for boolean-valued attributes, VAL may be hl_bool(BOOLEAN), where BOOLEAN is a Perl expression. If BOOLEAN is true, the attribute is included in the output; otherwise its omitted.

Any string

Strings are copied verbatim to the output after entity-encoding.

hl_noquote(...)

Suppresses entity-encoding of its arguments.

hl_requote(...)

Reenables entity-encoding of its arguments (use it inside a call to hl_noquote()).

hl_preserve(...)

Normally, HTML::LoL tries to optimize the whitespace in the HTML it emits (without changing the meaning of the HTML). This suppresses that behavior within its arguments.

hl_entity(NAME)

Includes the HTML character-entity named NAME.

The return value of hl() is the result of the last call to the callback function. This means its possible to write

&hl(sub { $accumulator .= shift }, ...)

to have hl() return a string containing the completely rendered HTML.

<<less
Download (0.005MB)
Added: 2007-07-05 License: Perl Artistic License Price:
843 downloads
IPv4 form 1.0

IPv4 form 1.0


IPv4 form provides a tool for making RIPE IPv4 request forms. more>>
IPv4 form provides a tool for making RIPE IPv4 request forms.

IPv4 form is a utility for checking the #ADDRESSING PLAN# part of a RIPE IPv4 PA request form. It makes a "totals:" row for this form and produces readable output with spaces between columns. This output can be directly copied to a RIPE form.

<<less
Download (0.24MB)
Added: 2007-04-25 License: GPL (GNU General Public License) Price:
920 downloads
Jericho HTML Parser 2.4

Jericho HTML Parser 2.4


Jerich HTML Parser is a simple but powerful java library allowing analysis and manipulation of parts of an HTML document. more>>
Jerich HTML Parser is a simple but powerful java library allowing analysis and manipulation of parts of an HTML document, including some common server-side tags, while reproducing verbatim any unrecognised or invalid HTML. It also provides high-level HTML form manipulation functions.
Jericho HTML Parser project is an open source library released under the GNU Lesser General Public License (LGPL). You are therefore free to use it in commercial applications subject to the terms detailed in the licence document.
Main features:
- No parse tree of the entire document is ever generated. The document source text is searched only for the markup relevant to the current operation. This allows the library to analyse and modify documents containing incorrect or badly formatted HTML or any other server or client side code, script, macro or markup. Most other parsers cant handle content that they are not explicitly programmed to accept.
- The beginning and end positions in the source text of all parsed segments are accessible, allowing modification of only selected segments of the document without having to reconstruct the entire document from a parse tree. This feature, in combination with the one above, makes the toolkit extremely powerful in its simplicity.
- Provides a simple but comprehensive interface for the analysis and manipulation of HTML form controls, including the extraction and population of initial values, and conversion to read-only or data display modes. Analysis of the form controls also allows data received from the form to be stored and presented in an appropriate manner.
- ASP, JSP, PSP, PHP and Mason server tags can be registered for recognition by the parser, and are recognised as accurately as is possible without incorporating actual parsers for these languages into the library. The library then allows any of these segments to be ignored when parsing the rest of the document so that they do not interfere with the HTML syntax. (see Segment.ignoreWhenParsing())
- Custom tag types can be easily defined and registered for recognition by the parser.
Enhancements:
- This version has been released under a dual licence system, allowing a choice between the Eclipse Public License (EPL) and the LGPL.
- It includes important bugfixes and introduces the following major features: simple rendering of HTML markup into text, integrated logging with various logging frameworks, and easier parsing of HTML tags containing server tags.
<<less
Download (0.85MB)
Added: 2007-05-20 License: LGPL (GNU Lesser General Public License) Price:
534 downloads
Pieforms 0.2.2

Pieforms 0.2.2


Pieforms project provides a simple, unified way to create, validate and process forms. more>>
Pieforms project provides a simple, unified way to create, validate and process forms all with a common look and feel, with support for pluggable elements, renderers and validation rules.

Huh? What does all that mean?

In simple terms, Pieforms provides a library for building HTML forms. So rather than writing all that HTML yourself for building forms, handling the validation and processing of them in whatever messy, inconsistent way youre doing it currently, you simply define a big hash in your script that describes your form. Pieforms does all of the legwork involved with building the form HTML from this hash (using elements and renderers), and also handles the validation of input using rules. In the general case, after youve defined you form, all you need to do is write a callback function that gets called when the form has been submitted with the data valid according to the rules.

Sounds interesting! Show me an example...

Okay, so youre writing a simple form that has a standard < input type="text" > and a textarea on it, with a submit button. Youd write a script similar to the following:

require_once(pieform.php);
$form = array(
name => myform,
method => get,
elements => array(
text => array(
type => text,
title => Text Element,
description => A little text box for you
rules => array(
required => true
)
),
textarea => array(
type => textarea,
title => Textarea,
defaultvalue => Some default text for the textarea,
rows => 7,
cols => 50
),
submit => array(
type => submit,
value => Submit form!
)
)
);

echo pieform($form);

function myform_submit($values) {
echo "Your submitted values:< br >";
foreach ($values as $key => $value) {
echo "$key: $value< br> ";
}
}

You see how easy that is? You didnt have to write any HTML - in fact, the entire definition is in PHP, which means if you make mistakes theyll show up as parse errors, rather than HTML validity errors (which are generally less often checked for). You only called one function to have everything done for you. And you can write a function to handle submission, full well knowing that the text element will always have a value that isnt the empty string.

After that, the submnit function is almost academic. You just save whatever you want to the database or whatever, and then the last thing you should do is redirect the user somewhere, perhaps to the same page or perhaps elsewhere.

For AJAX forms, all you have to do is add ajaxpost => true in the $form array, and then make your submit function output JSON in the form {error: [false or true], message: some message}, and then exit. Pieforms includes an implementation of json_encode for your convenience.

Okay, that looks easy! What else can it do?

The best part is that the elements, renderers and rules for your forms are pluggable. For example, you could write a wysiwyg element which behaves like the textarea one, but also includes javascript necessary to turn the textarea into a full WYSIWYG editor. Or you could write an element with two select boxes, arrows to move items left and right, and AJAX searching of the boxes. The possibilities are limitless! You can also write your own rules for reuse later (and change how elements respond to those rules if necessary), and write your own renderers (which handle the HTML surrounding the elements), so you can do things like add a little help icon next to each element with a link to a page explaining how the element works.

<<less
Download (MB)
Added: 2007-04-09 License: GPL (GNU General Public License) Price:
929 downloads
HTML::DWT 2.08

HTML::DWT 2.08


HTML::DWT is a Perl module with DreamWeaver HTML Template. more>>
HTML::DWT is a Perl module with DreamWeaver HTML Template.

INSTALLATION

Unzip/tar the archive:
tar xvfz HTML-DWT-2.08

Create the makefile
perl Makefile.PL

Make the module (must have root access to install)
make
make test
make install

SYNOPSIS

use HTML::DWT;

$template = new HTML::DWT(filename => "file.dwt");
%dataHash = (
doctitle => DWT Generated,
leftcont => some HTML content here
);
$html = $template->fill(%dataHash);

or

use HTML::DWT qw(:Template);

$template = new HTML::DWT(filename => "file.dwt");
$template->param(
doctitle => < title >DWT Generated< /title >,
leftcont => Some HTML content here
);
$html = $template->output();

A perl module designed to parse a simple HTML template file generated by Macromedia Dreamweaver and replace fields in the template with values from a CGI script.

<<less
Download (0.017MB)
Added: 2006-09-20 License: Perl Artistic License Price:
1141 downloads
Pod::Html 5.9.4

Pod::Html 5.9.4


Pod::Html is a Perl module to convert pod files to HTML. more>>
Pod::Html is a Perl module to convert pod files to HTML.

SYNOPSIS

use Pod::Html;
pod2html([options]);

Converts files from pod format (see perlpod) to HTML format. It can automatically generate indexes and cross-references, and it keeps a cache of things it knows how to cross-reference.

<<less
Download (13.6MB)
Added: 2006-08-23 License: Perl Artistic License Price:
1159 downloads
HTML::BBReverse 0.07

HTML::BBReverse 0.07


HTML::BBReverse is a Perl module to convert HTML to BBCode and back. more>>
HTML::BBReverse is a Perl module to convert HTML to BBCode and back.

SYNOPSIS

use HTML::BBReverse

my $bbr = HTML::BBReverse->new();

# convert BBCode into HTML
my $html = $bbr->parse($bbcode);
# convert generated HTML back to BBCode
my $bbcode = $bbr->reverse($html);

HTML::BBReverse is a pure perl module for converting BBCode to HTML and is able to convert the generated HTML back to BBCode.

And why would you want to reverse the generated HTML? Well, when you have a nice dynamic website where you and/or visitors can post messages, and in those messages BBCode is used for markup. In normal cases, your website has a lot more pageviews than edits, and saving all those messages as HTML will be a lot faster than saving them as the original BBCode and parsing them to HTML for every visit.

So now all BBCode gets converted to HTML before it will be saved, but what if you want to edit a message? Just reverse the generated HTML back to BBCode, edit your message, and save it as HTML again.

<<less
Download (0.009MB)
Added: 2006-08-10 License: Perl Artistic License Price:
676 downloads
NeverForms 0.0.1

NeverForms 0.0.1


NeverForms is a collection of functions that helps with HTML form manipulation. more>>
NeverForms is a collection of functions that helps with HTML form manipulation. The project interfaces MySQL tables to an HTML form.

The purpose is to provide abstraction of the database schema from the PHP code. Some inspiration came from Ruby Scaffold.

<<less
Download (0.018MB)
Added: 2007-07-14 License: GPL (GNU General Public License) Price:
834 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5