Using the master branch, I've created a node type called "Survey" and have enabled Webform Entity and added 2 text fields as Webform Entity Components.

Upon creating a new Survey node, I consistently get this error:

Notice: Undefined index: hidden_type in _webform_render_hidden() (line 75 of /Users/aaronschachter/Sites/d7/sites/all/modules/webform/components/hidden.inc).
Notice: Undefined index: hidden_type in _webform_render_hidden() (line 76 of /Users/aaronschachter/Sites/d7/sites/all/modules/webform/components/hidden.inc).
Notice: Undefined index: hidden_type in _webform_render_hidden() (line 88 of /Users/aaronschachter/Sites/d7/sites/all/modules/webform/components/hidden.inc).

I was wondering if the number of Webform Entity components I added had something to do with the number of Notice messages, but upon adding a third Webform Entity component, I still only get the 3 errors.

CommentFileSizeAuthor
#2 webform_entity-extra_hidden-1992368-2.patch376 bytesiztok

Comments

dajjen’s picture

I have the same issue.

iztok’s picture

Issue summary: View changes
StatusFileSize
new376 bytes

With the hack where they include a hidden field in an empty webform the hidden_type was forgotten. Withe the attached patch the error is gone.