3
client side... in fact it is a complementary information where the user has to enter the data by him/herself...
$formCadastro = new XoopsThemeForm(_MD_BC_EFETUAR_CADASTRO, "form", "cadastro.php", "post", false);
$formCadastro->setExtra('enctype="multipart/form-data"');
$formCadastro->addElement(new XoopsFormText(_MD_BC_NOME, 'bi_nome', 50, 255,""),true);
$formCadastro->addElement(new XoopsFormText(_MD_BC_SOBRENOME, 'bi_sobrenome', 50, 255,""),true);
etc...
$formCadastro->addElement(new XoopsFormText(_MD_BC_DT_NASCIMENTO, 'bi_dt_nascimento', 50, 255,''),true);
$formCadastro->addElement(new XoopsFormButton('', 'post', _MD_BC_ENVIAR, 'submit'));
$formCadastro->addElement(new XoopsFormHidden('op', 'gravar'));
$formCadastro->display();
and this info is shown under the front-end part of the site (not admin...)
btw... how can I retrieve info stored for the form to be edited?
thanks again