Hi everybody.
Any luck with this?... has anyone got this working?
Please advise...!!
Help needed ASAP for this issue.....
_____________________________________________________________________________
I would actually be interested in seeing a working demonstration of
dynamic custom fields as well, if one is available anywhere. Other
than a brief mention in the list archive from a few years ago (link
below), I can't find any documentation of how this is supposed to
work, and my results vary between a blank screen and a select list
with all options.
http://lists.mysql.com/eventum-users/2789
I'm unclear on the what the documentation in class.dynamic.php refers
to as the "controlling" field. Supposing I want two fields, the first
containing options A and B, and the second displaying either 1, 2, 3
or X, Y, Z depending on the selection made in the first field. I
assumed that the "controlling field" setting for the second field
would be the id and name of the first field, but does the first field
need to be configured as a dynamic field also? If so, what is its
controlling field?
Based on the information in the 1/23/06 post, I created two copies of
the original class.dynamic.php script (class.field1.php,
class.field2.php), each extending Dynamic_Custom_Field_Backend.
Setting the first custom field to use class.field1.php in the admin
panel results in a blank screen on the anonymous form as well as on
the custom field config screen. I had to edit the database manually to
remove the reference. Configuring class.field1.php to be a standalone
(i.e., not extending class.dynamic.php) results in a select list on
the anon form that displays the full contents of the array.
Perplexed,
__________________________________________________________________________________________
--
Jorge Arturo Tijerina García
Software Engineer