6.0.0-alpha12
6/12/25

[#14736] Horde_Forms: open section is not preserved
Summary Horde_Forms: open section is not preserved
Queue Horde Framework Packages
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester birnbacs (at) gmail (dot) com
Created 11/17/2017 (2764 days ago)
Due
Updated 01/22/2018 (2698 days ago)
Assigned
Resolved 01/22/2018 (2698 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/22/2018 04:47:37 PM birnbacs (at) gmail (dot) com Comment #3 Reply to this comment
Ja, you are correct, this is custom code, but this ticket is not about 
my code. I am trying to use a non-custom function which does not 
behave as expected.

i.e. getOpenSection() returns incorrect information.

Please reconsider this ticket's status
01/22/2018 04:16:52 PM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
Horde_Forms doesn't know about "edit" buttons. It's a custom button 
and any action is defined by yourself.
11/17/2017 03:39:00 PM birnbacs (at) gmail (dot) com Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Horde_Forms: open section is not preserved
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I have a form done with the Horde_Form library. The form has several 
sections, each showing an edit button to enter editing mode. When 
changing rendering between inactive and active mode the currently open 
section should be preserved.

It works for submitting (active -> inactive)
It does not work for opening for editing (inactive->active)
It does not work for cancelling editing (active -> inactive)

Doing a getOpenSection() right before renderActive() shows that it is 
invariably the first section that is open.

Trying to debug this further I stumbled over the 'expanded' property 
of a section. Could this be a vestige that once had to do with this?

Saved Queries