Hi,
When table element is dragged inside a fieldset in webform the following error messege is displayed.

Error message•Notice: Undefined index: in _webform_client_form_submit_flatten() (line 2452 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\new\sites\all\modules\webform\webform.module).
•Notice: Undefined index: in _webform_client_form_submit_flatten() (line 2452 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\new\sites\all\modules\webform\webform.module).
•Notice: Undefined index: in _webform_client_form_submit_flatten() (line 2452 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\new\sites\all\modules\webform\webform.module).
•Notice: Undefined index: in _webform_client_form_submit_flatten() (line 2452 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\new\sites\all\modules\webform\webform.module).
•Notice: Undefined index: in _webform_client_form_submit_flatten() (line 2452 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\new\sites\all\modules\webform\webform.module).
Is there any way to rectify it?

CommentFileSizeAuthor
#4 sample.png74.19 KBgopisundar
#4 error.png82.11 KBgopisundar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gopisundar’s picture

any one regarding this?

attiks’s picture

Assigned: Unassigned » Jelle_S

I assume this is with the form builder, Jelle_S will have a look

Jelle_S’s picture

Status: Active » Postponed (maintainer needs more info)

Hmm,

I've tried the following:
Enable form builder for webform
Enable webform table element
Enable webform table element formbuilder
Create a new webform
Drag a fieldset on the webform
Drag a textfield into the fieldset
Drag a table element into the fieldset
Drag two textfields into the table element
Save the webform
Enter data into the webform and submit

This entire process did not give me any errors. Can you provide me with further steps on how to reproduce?
Are you using the latest stable version or the latest dev version?

gopisundar’s picture

FileSize
82.11 KB
74.19 KB

@Jelle_S
Today again i tried installing drupal. I tried with both stable version and dev version. I am getting the same error. After submitting the form i am getting the error.(sorry i didnt mention this in the previous post).I didnt install form builder for webform or webform table element formbuilder. I just tried with webform stable and latest dev version and webform table element stable and latest dev version. I have attached two pictures. the sample.png is the picture how the webform looks and error.png is the erroe message i am getting after submitting the form. The table element has been dragged inside the field set "Table fieldset". thanks for replying.
thanks in advance.

Jelle_S’s picture

This is very weird. I build the exact same form as you did, and I didn't get the error message you seem to get. I did get some other messages regarding the date element, which are now fixed in the latest dev thanks to this issue.

Which version of webform are you using?

gopisundar’s picture

i tried with webform 3.17 recommended version and 7.x 1.4 webform table element version.

attiks’s picture

Did you try the latest dev version of webform table element?

gopisundar’s picture

yes. today i tried with the latest 7.x.1.x dev version too. when i got this error i inspected all the fields i have created in webform and when i dragged the table element field outside the fieldset and submitted the webform i didnt got the error.thatss why i posted this issue in webform table element queue.sorry if i am confusing.

gopisundar’s picture

@attiks
Today i tried. i dint get any error.last time i tried in different pc. in that i have installed postgres database. today i tried using xampp.
i dont know why i am getting the error in that pc. any how in my lap top i am not getting error. may be something would have been wrong in installing drupal in that pc. thanks a lot for kindly replying for all my older posts.

attiks’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

so it works with mysql but not with postgres? If that's the case maybe open an issue in webforms issue queue

gopisundar’s picture

Priority: Normal » Major
Status: Active » Closed (works as designed)
gopisundar’s picture

Priority: Major » Normal
Status: Closed (works as designed) » Active
gopisundar’s picture

@attiks
Hi today i got error in my laptop too. the same error.I am sorry to reopen this issue. i am so confused with this problem. But i hope i narrowed down the error. today i installed two modules. webform validation and clientside validation. after enabling these modules and giving validations i submitted the form. Alas! the error came. i removed the validation and checked, i got the error. I disabled the clientside validation and tried i got the error.i disabled webform validation and tried. i didnt get the error. even after disabling the webform validation i enabled client side validation and tried. i dint get any error. so i think webform validation has something to do with the error. but also i tried one thing. i dragged the table element field outside the fieldset with webform validation enabled and submitted the form. i didnt get any error. So now i dont know where to post this issue. Either in webform validation queue or in webform queue or here. I kindly request you to try with webform validation enabled and check whether the erroe is coming and plz guide me where to post this issue.
thanks in advance.

attiks’s picture

Priority: Major » Normal
Status: Closed (works as designed) » Active

Are you trying to define webform validation on components inside the table element?

I tried with both clientside validation and webform validation enabled, and I added a custom rule on the first name field, but I can not reproduce the error.

attiks’s picture

Assigned: Jelle_S » Unassigned
Status: Active » Postponed (maintainer needs more info)
attiks’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)