[html-formfu] New user with simple question

George Hrysanthopoulos xaos at darksmile.net
Wed May 25 07:41:38 GMT 2011


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" <xaos at darksmile.net <mailt=
o:xaos at darksmile.net>> 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 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 yml file: simple.yml
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>> ---
> >>> auto_fieldset: 1
> >>> elements:
> >>> - type: Text
> >>> name: textvar
> >>> And last, the processing CGI file: simple_get.cgi
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>> 27 $form->indicator("submit");
> >> indicator('submit') tells process() that a form must have a value for
> >> the field 'submit'.
> >> Your form config doesn't have a 'submit' field/button.
> >> So $form->submitted() will always be false.
> >>
> >> Carl
> >>
> >> _______________________________________________
> >> HTML-FormFu mailing list
> >> HTML-FormFu at lists.scsys.co.uk <mailto:HTML-FormFu at lists.scsys.co.uk>
> >> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
> >>
> >
> >
> > _______________________________________________
> > HTML-FormFu mailing list
> > HTML-FormFu at lists.scsys.co.uk <mailto:HTML-FormFu at lists.scsys.co.uk>
> > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
>
>
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20110525/05=
84960f/attachment-0001.htm


More information about the HTML-FormFu mailing list