Sorted, thank you very much! Looks as if we could do with a "use strict" for YAML files, and/or perhaps better diagnostics from YAML and YAML::Syck.
Lance A. Brown wrote: > ivorw wrote: >> - type: Text >> name: email_address >> label: Email address >> constraints: >> - Email >> - Required >> # Added below causes a problem >> - type Radiogroup >> name: active >> options: >> - [ 0, 'Inactive' ] >> - [ 1, 'Active' ] >> - [ 2, 'Suspended' ] > > Typo alert: You're missing a colon ":" after the 'type' token on the > RadioGroup line. > >> [error] Caught exception in RockBase::Controller::Admin->user "Can't >> locate object method "options" via package "HTML::FormFu::Element::Text" > > The error indicating it can't find an 'options' method on a > ...::Element::Text led me to the typo. > > --[Lance] _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu