On 5/26/11 4:50 PM, George Hrysanthopoulos wrote:
Peter,
The two links you supplied have been of great use to me.
Thank you for taking the time to create them.
If my email seemed a bit heavy on criticism, please
accept my apologies. There is no room for critics
in an open source project. Only c
Re-posting to the mailing list as well.
--- On Thu, 26/5/11, Peter Shangov wrote:
> From: Peter Shangov
> Subject: Re: [html-formfu] New user with simple question
> To: "George Hrysanthopoulos"
> Date: Thursday, 26 May, 2011, 11:51
> Hi George,
>
> The
s,
--
Peter
--- On Wed, 25/5/11, George Hrysanthopoulos wrote:
From: George Hrysanthopoulos
Subject: Re: [html-formfu] New user with simple question
To: "HTML Form Creation, Rendering and Validation
Framework"
Date: Wednesday, 25 May, 2011, 11:47
Carl,
The reason I created 2 sepa
Hi George,
You can also have a look at HTML::FormFu::Manual on CPAN.
Cheers,
--
Peter
--- On Wed, 25/5/11, George Hrysanthopoulos wrote:
> From: George Hrysanthopoulos
> Subject: Re: [html-formfu] New user with simple question
> To: "HTML Form Creation, Rendering and Valida
Carl,
The reason I created 2 separate .cgi is to illustrate the possibility
of doing just that.
In real life, I might use a single .cgi (or not) depending on complexity.
You have been a great help and I very much appreciate your time.
George
On 5/25/11 4:34 AM, Carl Franks wrote:
Personally,
Ok, problem solved! Phew!
I will post all the files in downloadable form
at "http://www.xm5design.com/"; sometime tomorrow.
After I wake up!
Thanks Carl! You have made my day(night).
Now, I can go to sleep!
George
Solution: The "simple_get.cgi" script must look like this:
Personally, for a simple example, I'd combine the 2 .cgi files into 1.
your simple.cgi is already doing `if ( $form->submitted ) {} else {}`
so the form may as well post to simple.cgi, and you can just get rid
of the 2nd .cgi
> Next, the initial CGI file: simple.cgi
> ==
> 2
Ok, what would be an example of a "$query object".
I know, I know, but Google is not helping me!
George
On 5/25/11 3:27 AM, Carl Franks wrote:
Ah, yes -in the cgi handling the submission, process() needs to be passed the
$query object
On 25 May 2011 08:19, "George Hrysanthopoulos" mailto:x..
Ah, yes -in the cgi handling the submission, process() needs to be passed
the $query object
On 25 May 2011 08:19, "George Hrysanthopoulos" wrote:
> Carl,
>
> You are quite right. However, even when I did:
>
> 27 $form->indicator("textvar");
>
> I still got same result. Actually I had a button the
When I do:
On line 34 of "simple_get.cgi"
34 if( $query->param("textvar") ) {
35 `/bin/echo "proc: submittted" >>/tmp/http.log`;
Instead of:
34 if ( $form->submitted ) {
35 `/bin/echo "proc: submittted" >>/tmp/http.log`;# We never get
here!!!
The "if" condi
Carl,
You are quite right. However, even when I did:
27 $form->indicator("textvar");
I still got same result. Actually I had a button there
called: "submit" but I removed it for the sake
of simplicity.
How is my overall logic?
-George
On 5/25/11 3:04 AM, Carl Franks wrote:
First, the y
Carl,
You are quite right. However, even when I did:
27 $form->indicator("textvar");
I still got same result. Actually I had a button there
called: "submit" but I removed it for the sake
of simplicity.
How is my overall logic?
-George
On 5/25/11 3:04 AM, Carl Franks wrote:
First, the y
> First, the yml file: simple.yml
> ==
> ---
> auto_fieldset: 1
> elements:
> - type: Text
> name: textvar
> And last, the processing CGI file: simple_get.cgi
> ==
> 27 $form->indicator("submit");
indicator('submit') tells process() t
Hello everyone,
I have 4 files that I am using to test HTML::FormFu
and I am just "not getting it".
This is the sequence of events:
The user+browser calls http://localhost/cgi-bin/simple.cgi
simple.cgi gets called and the form shows up on the browser.
The user fills in the single field.
The CGI
14 matches
Mail list logo