|Due Date:||Jun 30|
return "<input type='hidden' name='".$this->getName()."' id='".$this->getName()."' value='".$this->getValue()."' />";
return "<tr style='display:none;'><td colspan='2' style='display:none;'><input type='hidden' name='".$this->getName()."' id='".$this->getName()."' value='".$this->getValue()."' /></td></tr>";
The comments are owned by the author. We aren't responsible for their content.
I had the same validation problem.
I made this update un the render function but these function seems to be used in (a least one) other places.
With this modification, when you want to update a module (after a template modification), the update and cancel buttons are placed just under the header...
Published: 2006/4/17 12:22 • Updated: 2006/4/17 12:22
Hi all, I've finally found another solution (thanks to an xoops-france member)...
There is no need modifying formhidden.
First, just modify the file class/themeform.php and replace
and the replace just after this line
The function render() will now produce an html valid form.
For the contact module, there is another modification. Indeed, there is no need for a simple form to use a template, XOOPS can do it perfectly well. So in the file modules/contact/index.php comment the above two lines
and then add the following line to the modules/contact/contactform.php
after the last $contact_form->addElement
That's done, you will now have a valid html contact form.
Published: 2006/4/19 11:03 • Updated: 2006/4/19 11:03