[eluser]Majd Taby[/eluser]
well, line 40 of jtabyadmin.php is $this->field_list[$name] = $params['class']; The error indicates that your form_setup isn't valid.
The first thing I recommend you do is add this line somewhere in your constructor:
Code:
echo "<pre>"; print_r($this->spyc->YAMLLOAD('definitions/webinar_form.yml')); echo "</pre>";
That should tell you if the form is loaded or not.
The only syntatical error I see in your code is:
Code:
active:
class:DropDown
params:
list:
Yes:Yes
No:No
value:Yes
Should be:
Code:
active:
class:DropDown
params:
list:
Yes:Yes
No:No
value:Yes
YAML is white-space-sensitive which means it divides the file into an array based on your indentation.
Please let me know the output of the print_r call.
EDIT: ok this might seem ridiculous, but try it out, try adding a space between class: and the name of the class. So, class: TextBox instead of class:TextBox.
I think that's screwing up spyc.
p.s. Just for reference, you don't need to define list_header if it's the same as your controller_name. It will automatically fall back onto the constructor_name if list_header is missing.