no wiec sprawa wyglada tak:
mam sobie skrypt ktory wyswietla mi formularz
<?php
$form = new form();
$form -> add_element
(array( \"type\" => \"text\", \"name\" => \"userlogin\",
\"extrahtml\" => \"class='txt'\",
\"valid_regex\" => \"^[a-z]*$\",
\"valid_e\" => \"Letters only\",
\"icase\" => 1));
$form -> add_element
(array( \"type\" => \"text\", \"name\" => \"userpass\",
\"extrahtml\" => \"class='txt'\",
\"icase\" => 1,
\"pass\" => 1));
$form -> add_element
(array( \"type\" => \"text\", \"name\" => \"userpass2\",
\"extrahtml\" => \"class='txt'\",
\"icase\" => 1,
\"pass\" => 1));
$form -> add_element
(array( \"type\" => \"text\", \"name\" => \"username\",
\"extrahtml\" => \"class='txt'\",
\"valid_regex\" => \"^[a-z]*$\",
\"valid_e\" => \"Letters only\",
\"icase\" => 0));
$form -> add_element
(array( \"type\" => \"text\", \"name\" => \"usersurname\",
\"extrahtml\" => \"class='txt'\",
\"valid_regex\" => \"^[a-z]*$\",
\"valid_e\" => \"Letters only\",
\"icase\" => 0));
$form -> add_element
(array( \"type\" => \"submit\", \"name\" => \"send\",
\"extrahtml\" => \"class='btn'\",
\"value\" => \"Ok\"));
?>
i dalej mam
<?php
$form -> start(\"val\",\"\",\"scripts/register.php\");
?>
i inne wywolania
i teraz jesli dobrze zrozumialem dokumentacje, to po przeslaniu danych do register.php powinna byc mozliwosc walidacji ich poprzez metode validate(). tylko nie bardzo wiem jak to niby ma dzialac, bo przeciez przekazywane sa tylko zmienne $_POST. Problemu nie ma jesli sie robi submit do $PHP_SELF, ale jesli robi sie go do innego pliku to nie wiem jak to ma dzialac... moze masz jakis przyklad uzywania oohforms przy wysylaniu danych do innego skryptu niz $PHP_SELF
swoja droga, to caly PHPLib dokumentacja sie nie wyroznia jakos specjalnie

zdrv
Leezard