Nate Wiger | 13 Sep 18:04
Picon
Gravatar

[FormBuilder] 3.05 callbacks; new list server

First off, welcome to the "new and improved" fbusers list; I migrated
everything to a new server running mailman. Let me know if anything's
screwed up.

Second, I've been working alot with AJAX, specifically the Yahoo UI
and JQuery lately. I'm thinking about adding success/failure callbacks
to 3.05 ala YUI. These could be used instead of the standard:

   if ($form->submitted && $form->validate)

My thinking is something like this:

   FB->new(
      ..., callbacks => {
         success => \&sub1,
         invalid => \&sub2,
   });

If FB sees these are defined, it will change its default behavior and
automatically invoke these for you as part of a new finalize() method.
The end result is an easy plugin to Catalyst, and without Catalyst it
would be:

   $form = FB->new(callbacks => { ... });

   $form->field(name => 'tweakme', etc => ...);

   print $form->finalize;

By invoking finalize(), you're basically doing this:
(Continue reading)

Giovanni Pensa | 14 Sep 16:19
Picon

[FormBuilder] Italian messages?

Hi.  I've started to translate FB messages in Italian.  (Yes, my
Italian is better than my English...)

I was just wondering if anyone else had already done it, or was
thinking about doing it, or had anything to say about it...

Laziness is the first virtue...  and FB is lazyful...

g.

--

-- 
Giovanni Pensa
_______________________________________________
FBusers mailing list
FBusers <at> formbuilder.org
http://www.formbuilder.org/mailman/listinfo/fbusers

Nate Wiger | 14 Sep 17:45
Picon
Gravatar

Re: [FormBuilder] Italian messages?

Nobody has translated them yet, that would be a great addition!

If you need any help, please let me know.

-Nate

On 9/14/06, Giovanni Pensa <menozero <at> gmail.com> wrote:
> Hi.  I've started to translate FB messages in Italian.  (Yes, my
> Italian is better than my English...)
>
> I was just wondering if anyone else had already done it, or was
> thinking about doing it, or had anything to say about it...
>
> Laziness is the first virtue...  and FB is lazyful...
>
> g.
>
> --
> Giovanni Pensa
> _______________________________________________
> FBusers mailing list
> FBusers <at> formbuilder.org
> http://www.formbuilder.org/mailman/listinfo/fbusers
>
_______________________________________________
FBusers mailing list
FBusers <at> formbuilder.org
http://www.formbuilder.org/mailman/listinfo/fbusers

(Continue reading)

Nate Wiger | 14 Sep 17:46
Picon
Gravatar

[FormBuilder] Sorry for the bad messages

I'm sorry, I hit the wrong button on the mailman interface. Still
getting a handle on it. Apologies for the 7 spam messages you just got
for penis enlargement pills.
_______________________________________________
FBusers mailing list
FBusers <at> formbuilder.org
http://www.formbuilder.org/mailman/listinfo/fbusers

Nate Wiger | 15 Sep 21:40
Picon
Gravatar

[FormBuilder] Re: Problem with external source file and back referencing

Sorry for the delay in responding. This has been applied and will be
in 3.05. I used Norton's version. Thanks!

-Nate

On 9/6/06, Norton Allen <allen <at> huarp.harvard.edu> wrote:
> Jason Crummack wrote:
> > Hi,
> >
> > I've been having a problem using external file definitions under
> > mod_perl due to back referencing, I think the following patch should
> > sort things out.

> How about:
>
>       $s = length($1) + 1 if $term =~ s/^(\s+)//;  # leading space
>
> That way you only use $1 if it has been defined.
>
> > leading space/tab
> >             $line =~ s/\s+$//;       # trailing space
> >
> >             # uplevel pre-check (may have a value below)
> >
>
>
_______________________________________________
FBusers mailing list
FBusers <at> formbuilder.org
http://www.formbuilder.org/mailman/listinfo/fbusers
(Continue reading)

Kurt Lidl | 27 Sep 20:23
Favicon

[FormBuilder] 3.0401 and html::template

I have an application that I've been working on, using FormBuilder 3.0302.
Today, I upgraded to FormBuilder 3.0401, and pieces of my application no
longer work.

I've attached a script and template file that work under 3.0302 and do not
work under 3.0401.  Any suggestions or fixes?

Thanks.

-Kurt

#! /usr/local/bin/perl -w
use strict;
use warnings;
use HTML::Template;
use CGI::FormBuilder;

my @fields = qw(field1 field2);
my $form = CGI::FormBuilder->new(
	title => 'test form page',
	method => 'post',
	fields => \@fields,
	template => 'form.tmpl',
	header => 0,
);

print "Content-Type: text/html\r\n\r\n";
print $form->render;
(Continue reading)

Nate Wiger | 29 Sep 04:17
Picon
Gravatar

[FormBuilder] test

test
_______________________________________________
FBusers mailing list
FBusers <at> formbuilder.org
http://www.formbuilder.org/mailman/listinfo/fbusers

Robert Dobbs | 28 Sep 21:57
Picon

[FormBuilder] weird problems with required

All of a sudden the required check isn't working in javascript or the back 
end.  It is checking if the field.value == null but it is an empty string 
which is not null.

_________________________________________________________________
Add fun gadgets and colorful themes to express yourself on Windows Live 
Spaces   
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features

_______________________________________________
FBusers mailing list
FBusers <at> formbuilder.org
http://www.formbuilder.org/mailman/listinfo/fbusers

Nate Wiger | 29 Sep 04:37
Picon
Gravatar

[FormBuilder] test2

test2
_______________________________________________
FBusers mailing list
FBusers <at> formbuilder.org
http://www.formbuilder.org/mailman/listinfo/fbusers

Nate Wiger | 29 Sep 04:49
Picon
Gravatar

[FormBuilder] Test of mailing list

Apologies for spamming the list; Fedora sucks
_______________________________________________
FBusers mailing list
FBusers <at> formbuilder.org
http://www.formbuilder.org/mailman/listinfo/fbusers


Gmane