Skip Menu |

This queue is for tickets about the Class-DBI-AsForm CPAN distribution.

Report information
The Basics
Id: 56416
Status: new
Priority: 0/
Queue: Class-DBI-AsForm

People
Owner: Nobody in particular
Requestors: marc [...] marcandkayoko.net
Cc:
AdminCc:

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



Subject: Class-DBI-AsForm question
Date: Thu, 8 Apr 2010 22:56:46 -0700
To: bug-Class-DBI-AsForm [...] rt.cpan.org
From: Marc Kelly <marc [...] marcandkayoko.net>
Hi Dunno if the right recipient, but.. I'm trying to see if the module is well-suited for my purpose. I have a has-a relationship between two classes. The parent class exports its primary key (integer, auto-increment) to the child class. Both to_cgi and to_field methods correctly create the <select> tag, but the values are integers. Not very descriptive to a potential end-user. Is there any way to instruct the module to populate the dropdown box with more descriptive values from another column (not primary key) in the parent class? disclaimer: perl isn't the language I have work-experience with. If I've overlooked something obvious feel free to point it out, and I'll regret in advance wasting your time. Thanks