RE: [Phplib-users] Problem with ooform
Brought to you by:
nhruby,
richardarcher
|
From: Taylor, S. <Ste...@uk...> - 2001-10-05 08:38:30
|
require("oohforms.inc");
$f = new form;
$f->add_element(array("type"=>"text",
"name"=>"YourField",
"size"=>"25",
"maxlength"=>"50",
"minlength"=>"10",
"length_e"=>"YourField must be at
least 10 characters long"));
$f->add_element(.....
$f->add_element(array("type"=>"submit",
"name"=>"Submit",
"value"=>"Submit"));
if ($Submit)
{
if ($err = $f->validate())
{
echo $err;
$f->load_defaults();
}
else
{
// process the inputs
}
}
$f->start("","POST","your_file_name.php","","YourForm");
$f->show_element("YourField");
$f->show_element(.....
$f->show_element("Submit");
$f->finish();
-Stewart
-----Original Message-----
From: nicolas boussekeyt [mailto:ni...@on...]
Sent: 05 October 2001 08:03
To: php...@li...
Subject: [Phplib-users] Problem with ooform
Hello,
I want use ooform with form validation without javascript.
But i haven't an example to try it.
Can you send me please an example.
Thank you.
Nicolas Boussekeyt
_______________________________________________
Phplib-users mailing list
Php...@li...
https://lists.sourceforge.net/lists/listinfo/phplib-users
|