[dev] Horde Forms question
KaalH
kaalh at smol.org
Tue Mar 2 06:43:29 PST 2004
Hi all,
1/ think i got a small bugfix :
Index: Form.php
===================================================================
RCS file: /repository/framework/Form/Form.php,v
retrieving revision 1.231
diff -u -r1.231 Form.php
--- Form.php 26 Feb 2004 13:02:05 -0000 1.231
+++ Form.php 2 Mar 2004 14:09:56 -0000
@@ -138,6 +138,9 @@
function setOpenSection($section)
{
+ if (isset($_COOKIE[$this->_name . '_open'])) {
+ $_COOKIE[$this->_name . '_open'] = $section;
+ }
$_SESSION['horde_form'][$this->_name]['open_section'] = $section;
}
Am i right ?
2/ I would like to use dependants forms fields using Horde framework.
eg:
I first display one boolean field a ("Subscribe to this ML").
if checked, I would like to display this form again, with an additionnal
required_because_a_is_checked field ("Your Email address").
how to cleanly do that plz ?
Thanks.
More information about the dev
mailing list