Closed (fixed)
Project:
Rules Forms Support
Version:
7.x-1.0-rc2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
26 Feb 2012 at 11:15 UTC
Updated:
29 Apr 2016 at 20:04 UTC
Jump to comment: Most recent
Comments
Comment #1
hanoiiSame here, and a lot of notice errors as well when you clear the form elements to and build it again.
Comment #2
Glenmoore commentedChanging Title to make it more generic so easier to find.
Comment #3
lumient commentedI have the same issue, but different piece of code
Notice: Undefined index: buttons in rules_forms_rules_event_info() (line 40 of C:\www\imsa\sites\all\modules\rules_forms\rules_forms.rules.inc).
please help.
Comment #4
berenddeboer commentedTry changing line 40 from:
if ($info['buttons'] && isset($info['submit'])) {to:
if (isset($info['buttons']) && isset($info['submit'])) {Comment #5
kenorb commentedTry dev from the fork.
Comment #6
luizsgpetri commentedComment #7
erickbj commentedI've tried to reproduce this issue with both latest stable (7.x-1.0 as of now) and 7.x-1.x and I couldn't - it just works.
It seems the issue would be generated by not having a
buttonsindex as returned byrules_forms_get_form_info(). Values are actually stored in therules_forms_form_infovariable, which is populated atrules_forms_activate_confirm_form_submit()as follows:I can't see how this would leave
buttonsunset anymore, so I think this has been solved already.Comment #8
erickbj commentedMarking as needs review.
Comment #9
caminadaf commentedThanks erickbj for your input and analysis. With this, I'm closing this issue, since this appears to be fixed.
Comment #10
caminadaf commentedComment #11
caminadaf commented