Dave Howorth | 1 Jul 13:17
Picon
Picon

Re: FormBuilder question

Pete Sergeant wrote:
> On Mon, Jun 20, 2005 at 01:37:38PM -0700, Nate Wiger wrote:
>>On 6/20/05, Peter Sergeant <pete <at> clueball.com> wrote:
>>
>>>Can we get an option to allow easily disabling the top '-Select-' option
>>>on select boxes? That would rock
>>
>>I can, but realize this means the first option in a list will be
>>automatically selected if the person submits the form without making a
>>conscious choice. 
> 
> I want to prechoose one of the values using the values attribute of the
> new() method. If the user doesn't change the value, that's fine. Am I
> missing something?

I have the same situation as Pete and the same question :) But I 
couldn't find any reply to this message.

Thanks, Dave

Nate Wiger | 1 Jul 23:36
Picon
Gravatar

Re: FormBuilder question

I didn't reply because I wanted to see what others said... but I'm not
opposed to this, I just don't know the best way to implement it. Seems
like a simple option

  ->new(selectopt => 0)   # or 1 or '-text-'

??

-Nate

On 7/1/05, Dave Howorth <dhoworth <at> mrc-lmb.cam.ac.uk> wrote:
> Pete Sergeant wrote:
> > On Mon, Jun 20, 2005 at 01:37:38PM -0700, Nate Wiger wrote:
> >>On 6/20/05, Peter Sergeant <pete <at> clueball.com> wrote:
> >>
> >>>Can we get an option to allow easily disabling the top '-Select-' option
> >>>on select boxes? That would rock
> >>
> >>I can, but realize this means the first option in a list will be
> >>automatically selected if the person submits the form without making a
> >>conscious choice.
> >
> > I want to prechoose one of the values using the values attribute of the
> > new() method. If the user doesn't change the value, that's fine. Am I
> > missing something?
> 
> I have the same situation as Pete and the same question :) But I
> couldn't find any reply to this message.
> 
> Thanks, Dave
(Continue reading)

Dave Howorth | 4 Jul 10:38
Picon
Picon

Re: FormBuilder question

Nate Wiger wrote:
> I didn't reply because I wanted to see what others said... but I'm not
> opposed to this, I just don't know the best way to implement it. Seems
> like a simple option
> 
>   ->new(selectopt => 0)   # or 1 or '-text-'

Sounds good, though I think it should be an option on the field method 
rather than new:

     $form->field(
         name    => 'previous',
         label   => 'Previous update file',
         options => \@previous,
         value   => $select_previous,
         selectopt => 0,
     );

Cheers, Dave

> -Nate
> 
> On 7/1/05, Dave Howorth <dhoworth <at> mrc-lmb.cam.ac.uk> wrote:
> 
>>Pete Sergeant wrote:
>>
>>>On Mon, Jun 20, 2005 at 01:37:38PM -0700, Nate Wiger wrote:
>>>
>>>>On 6/20/05, Peter Sergeant <pete <at> clueball.com> wrote:
>>>>
(Continue reading)

Bhalchandra | 14 Jul 09:03
Picon

Urgent help required!

Dear Sir,

 I am using CGI:form builder and facing problem for accepting the values
 passed using Query string

 using Apache 2.0 filter

 my query string is as below.

http://www.ums.com/cgi-bin/test.cgi?
_submitted_form2=1rm=links_admin&id=+Distrigas&_submit=Edit

And in my file accepitng the passed parameter using

 $form2->field('id');

 But always I get empty string

 What changes I need to Do


Gmane