my problem is following:
- when i do usual $f = new form();...$f->add_element("type"=>"select", "size"=>1, etc, for getting select with validation if form i always get same: wherever user selects non-first element in select or not and then submits form there is validation error, as if user didn't select first element.
I suppose, problem somewhere in my code, 'cause on other pages select validates just fine - but i ain't know this lib well yet and in need of some friendly advice - where an error could be?.. :)
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
my problem is following:
- when i do usual $f = new form();...$f->add_element("type"=>"select", "size"=>1, etc, for getting select with validation if form i always get same: wherever user selects non-first element in select or not and then submits form there is validation error, as if user didn't select first element.
I suppose, problem somewhere in my code, 'cause on other pages select validates just fine - but i ain't know this lib well yet and in need of some friendly advice - where an error could be?.. :)
Thanks