Skip Menu |

This queue is for tickets about the DBIx-HTML-PopupRadio CPAN distribution.

Report information
The Basics
Id: 2707
Status: resolved
Worked: 30 min
Priority: 0/
Queue: DBIx-HTML-PopupRadio

People
Owner: RSAVAGE [...] cpan.org
Requestors: mark [...] summersault.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.07
Fixed in: (no value)



Subject: support for prompt value
Hello, I'd like to see support for supplying a value to "prompt" that is different the label. Typically I want the label to be something like "-- Select One --", but I want the value to be '', so the field is easily identified as "Missing". An easy way to do this might be to allow 'prompt' to accept a hash ref: prompt => { '' => 'Select One' }, I maintain Data::FormValidator, which you also find useful for Web/DB applications, if you haven't already noticed it. Mark
From: Ron Savage <ron [...] savage.net.au>
To: <bug-DBIx-HTML-PopupRadio [...] rt.cpan.org>
Date: Sun, 1 Jun 2003 12:56:41 +1000
Subject: Re: [cpan #2707] support for prompt value
RT-Send-Cc:
On Sat, 31 May 2003 15:35:28 -0400 (EDT), Guest via RT wrote: Hi Mark Show quoted text
>This message about DBIx-HTML-PopupRadio was sent to you by guest <> >via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=2707 > > >Hello, I'd like to see support for supplying a value to "prompt" >that is different the label. Typically I want the label to be >something like "-- Select One --", but I want the value to be '', >so the field is easily identified as "Missing". An easy way to do >this might be to allow 'prompt' to accept a hash ref: > >prompt => { '' => 'Select One' },
Good point. I was always slightly uneasy about this option. I'll change it ASAP. Show quoted text
>I maintain Data::FormValidator, which you also find useful for >Web/DB applications, if you haven't already noticed it.
I have spent the last few days studying: o CGI::Application::ValidateRM o CGI::FormBuilder o CGI::Framework o Data::FormValidator o HTML::FillInForm since I need to do a great deal with CGI forms in the next 2 months. I thought I might go with CGI::FormBuilder, but I managed to create a demo HTML::Template which puts the former in a loop, either thru a bug in its code or in IE 6 :-). I have other problems with FormBuilder, too, which I'll send from my office address on Monday, as part of a set, to the author. Either way I can assure you I'm aware of your intriguing module. -- Cheers Ron Savage, ron@savage.net.au on 01/06/2003 http://savage.net.au/index.html
From: Ron Savage <ron [...] savage.net.au>
To: <bug-DBIx-HTML-PopupRadio [...] rt.cpan.org>
Date: Tue, 3 Jun 2003 18:10:08 +1000
Subject: Re: [cpan #2707] support for prompt value
RT-Send-Cc:
On Sat, 31 May 2003 15:35:28 -0400 (EDT), Guest via RT wrote: Hi Mark Show quoted text
>This message about DBIx-HTML-PopupRadio was sent to you by guest <> >via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=2707 > > >Hello, I'd like to see support for supplying a value to "prompt" >that is different the label. Typically I want the label to be >something like "-- Select One --", but I want the value to be '', >so the field is easily identified as "Missing". An easy way to do >this might be to allow 'prompt' to accept a hash ref: > >prompt => { '' => 'Select One' }, > >I maintain Data::FormValidator, which you also find useful for >Web/DB applications, if you haven't already noticed it.
See V 1.08 -- Cheers Ron Savage, ron@savage.net.au on 03/06/2003 http://savage.net.au/index.html