10-12-2007
I understand the HTML and CGI part of it. But how do I integrate the Javascript into this? It will help me if you can lead me to some documentation on the same. Thanks
9 More Discussions You Might Find Interesting
1. Programming
Hi !
Please tell me how to get radio buttons, text boxes , check boxes , option buttons , pull down menus in C++ on Unix.
I think it would be done using curses.h ..but that's all i know.
TIA,
Devyani. (3 Replies)
Discussion started by: devy8
3 Replies
2. UNIX for Dummies Questions & Answers
I know that this is a really simple and stupid question, but how do I drop / disconnect a user who is logged in? AIX 5.2 (2 Replies)
Discussion started by: trfrye
2 Replies
3. UNIX for Dummies Questions & Answers
I have hundreds of small files in csv format. I want to read them one at a time, insert the data into a table and then delete it.
data1 to data999.txt files needs to be read and data to be added to a table.
mysql -e"LOAD DATA INFILE 'data1.txt' INTO TABLE my_table;"
if echo $? = 0 then rm... (1 Reply)
Discussion started by: shantanuo
1 Replies
4. Shell Programming and Scripting
Howdy all. I have some scripts that read a text file looking for a keyword, then returning all the text until another keyword and puts it into a new file. Problem is, sed returns the entire last line that contains the 2nd keyword, and I don't want it! Here's an example of the sed script line:
... (21 Replies)
Discussion started by: atc98092
21 Replies
5. Shell Programming and Scripting
I have file like this
120, rahim, d40
115, rahul, d40
113, begum, d40
I want to group this file like this
120, rahim, d40
115, rahul,
113, begum,
can any one help me on this
thanks in advance (1 Reply)
Discussion started by: trichyselva
1 Replies
6. Shell Programming and Scripting
How to create a drop down menu in either bash or ksh? (3 Replies)
Discussion started by: proactiveaditya
3 Replies
7. UNIX for Advanced & Expert Users
I have a file that reads File (X.txt)
Contents of record 1:
rdrDESTINATION_ADDRESS (String) "91 971502573813"
rdrDESTINATION_IMSI (String) "000000000000000"
rdrORIGINATING_ADDRESS (String) "d0 movies"
rdrORIGINATING_IMSI (String) "000000000000000"
rdrTRAFFIC_EVENT_TIME... (0 Replies)
Discussion started by: magedfawzy
0 Replies
8. Web Development
I need to create a dynamic drop down menu which is populated by entries such as;
htdocs/client1/index.php
htdocs/client2/index.php
htdocs/client3/index.php
htdocs/client4/index.php
etc.
So htdocs/client*/index.php
Is this possible?
I know how to do this using normal arrays, but not... (2 Replies)
Discussion started by: JayC89
2 Replies
9. UNIX for Dummies Questions & Answers
My boss use a MacBook and he encounter with DNS drop out and he cannot surf website for 1-2 mins. The DNS Service of my company is on UNIX server. I try to delete some unused IP of DNS Server in resolv.conf and dhcp.conf and I try to update root.hint file but The problem is not fixed.
Please... (5 Replies)
Discussion started by: thsecmaniac
5 Replies
LEARN ABOUT DEBIAN
cgi::application::plugin::fillinform
CGI::Application::Plugin::FillInForm(3pm) User Contributed Perl Documentation CGI::Application::Plugin::FillInForm(3pm)
NAME
CGI::Application::Plugin::FillInForm - integrate with HTML::FillInForm
SYNOPSIS
use CGI::Application::Plugin::FillInForm (qw/fill_form/);
my $t = $self->load_tmpl('farm.html');
$t->param( organic => 'less_pesticides' );
return $self->fill_form( $t->output );
DESCRIPTION
This plugin provides a mix-in method to make using HTML::FillInForm more convenient.
fill_form()
# fill an HTML form with data in a hashref or from an object with with a param() method
my $filled_html = $self->fill_form($html, $data);
# ...or fill from a list of data sources
# (each item in the list can be either a hashref or an object)
my $filled_html = $self->fill_form($html, [$user, $group, $query]);
# ...or default to getting data from $self->query()
my $filled_html = $self->fill_form($html);
# extra fields will be passed on through:
my $filled_html = $self->fill_form($html, undef, fill_password => 0 );
This method provides an easier syntax for calling HTML::FillInForm, and an intelligent default of using $self->query() as the default data
source.
By default, the mode param (usually 'rm') of every data source will be ignored. This prevents accidently clobbering your run mode for the
next page, which may be stored in a hidden field.
$html must be a scalarref, or a reference to a scalarref. $filled_html will be a reference to a string.
Because this method only loads HTML::FillInForm if it's needed, it should be reasonable to load it in a base class and always have it
available:
use CGI::Application::Plugin::FillInForm (qw/fill_form/);
AUTHORS
Cees Hek published the first draft on the CGI::App wiki
Mark Stosberg, C<< <mark@summersault.com> >> polished it for release.
Michael Graham, C<< <mag-perl@occamstoothbrush.com> >> added tests and some new features.
The module is now co-maintained by Mark and Michael.
BUGS
Please report any bugs or feature requests to "bug-cgi-application-plugin-fillinform@rt.cpan.org", or through the web interface at
<http://rt.cpan.org>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
CONTRIBUTING
Patches, questions and feedback are welcome. This project is managed using the darcs source control system ( http://www.darcs.net/ ). My
darcs archive is here: http://mark.stosberg.com/darcs_hive/cap-fif/
Copyright & License
Copyright 2005 Mark Stosberg, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.3 2011-06-26 CGI::Application::Plugin::FillInForm(3pm)