Thank you for creating this module, it is very well done. I have one problem with it though, it seems to not want to retain any data I save to it.

Tested mandatory and non-mandatory:

  • non-mandatory items come up blank whenever a value is entered into a component
  • mandatory items spill an error saying "field is required" even though a value is entered

texted both 6.x-1.0 & 6.x-1.x-dev

I hope you can help me with this issue.
Thank you,

- J

CommentFileSizeAuthor
#9 webform table.pdf20.07 KBwheels394
#9 daily_calendar3.xls1.26 KBwheels394

Comments

jelle_s’s picture

I cannot seem to reproduce the first error you get. Can you upload a screenshot of your webform or something so I can try to reproduce?
The second error is a duplicate of #1257798: Cannot set fields to be Mandatory I'm not sure if they are related

Jcsic’s picture

I was able to narrow down the problem.

If I were to make a table element with fields and outside of the element I make a page break, then all the submitted information inside that table disappears once I go to the next page. That is what the first error seems to be.

attiks’s picture

@Jcsic: we never used it in that combination, there's another module that adds ajax pagination and that one works well: webform_ajax_page

Anyhow we will have a look asap

Jcsic’s picture

Ahh Thank you attiks. :)

commonswift’s picture

Thanks for offering this - for me - very useful module. I've successfully constructed a larger webform, but a problem is that if I submit the form and some field outside the table fails a validation constraint, all data entered in the table are lost (but not data entered in other fields in the form). Could I have misconfigured something? I have no mandatory fields inside the table. Thank you!

attiks’s picture

It's possible, you can try using Clientside validation, that's how we're using it all the time, it adds validation rules using javascript. We never used it without this module, so I'll leave this open to have a looker later.

jelle_s’s picture

Status: Active » Fixed

fixed in the latest dev version, thanks for the report!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

wheels394’s picture

StatusFileSize
new1.26 KB
new20.07 KB

I am having the same issue of data not being retained. I can see the data when I view the individual submissions but if I try the results table view or download the columns are all empty.

I am also having an issue where data entered in column 1 is appearing in column 2 and vice versa. I am attaching a pdf with screenshots of both. And the excel file showing blank fields.

I am working with the latest 6.x dev version

tech@rivernetwork.org’s picture

Version: 6.x-1.x-dev » 6.x-1.0
Component: Code » User interface
Status: Closed (fixed) » Active

Similar problem as above. Viewing the individual submission under Results allows me to see the data submitted. Table view or downloading to file does not work - responses within table_element fields appear blank. I've tried all the possible options for downloading, and nothing will give me a file that contains the data from the table_element fields (other fields display correctly).

attiks’s picture

Assigned: Unassigned » jelle_s

It's expected, we didn't implement it yet ;p

attiks’s picture

Status: Active » Needs work
jelle_s’s picture

Status: Needs work » Fixed

Now implemented in 6.x-1.x-dev and 7.x-1.x-dev

wheels394’s picture

trying to delete post but can only edit it.

attiks’s picture

Assigned: jelle_s » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

prisonfood’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Status: Closed (fixed) » Needs review

Hi -- are there characters that when used in the Rows field for the Table Elements that would cause the form to break and not retain data? I have a one-page form where students enter the courses they've taken for a certificate program (see below). It wasn't retaining data for the Rows. I thought the module was breaking, but it retains the "Save Draft" data when I replace the rows below with a simple Test1|Test1 Test2|Test2 kind of rows.

Thanks, Kevin

Math calculus semester 1|Calculus, first semester
Math calculus semester 2|Calculus, second semester
Math advanced|Advanced math (e.g., multi-variable/linear algebra/differential equations)
Chemistry general|General chemistry
Chemistry organic|Organic chemistry
Biochemistry|Biochemistry
Physical chemistry or thermodynamics|Physical chemistry or thermodynamics
General biology 1|General biology, first semester
General biology 2|General biology, second semester
Computational science or applied computing|Computational science or applied computing
Advanced synthetic biology course|Advanced synthetic biology course
Senior level engineering design|Senior-level engineering design
Advanced course in molbio micro or genetics|Advanced course in molecular biology, microbiology, or genetics
Laboratory experience 1|Part-time laboratory experience in bioengineering, molecular biology, synthetic biology, microbiology, or biotechnology - first semester
Laboratory experience 2|Part-time laboratory experience in bioengineering, molecular biology, synthetic biology, microbiology, or biotechnology - second semester
Full time bioe lab or molbio independent research|Full-time bioengineering laboratory or molecular biology independent research in the synthetic biology, microbiology or biotechnology (one summer or semester)
Participation in iGEM|Participation as a full-time iGEM team member and attendance at Jamboree
Course in engineering ethics|Course concerning biosafety, laws and regulation, and ethics, including a discussion about select agents and complex aspects of risk such as horizontal gene transfer and environmental release (one semester)
jelle_s’s picture

My guess is that the spaces in the key values are the cause, I'll have a look at it when I find the time.

attiks’s picture

@prisonfood : The keys are not supposed to contain spaces, only letters/numbers and _

It appears the webform code isn't validating all of this, so maybe it's better to open an issue in their queue and link both issues.

jelle_s’s picture

Status: Needs review » Fixed

Fixed by adding the #element_validate function provided by the webform module

prisonfood’s picture

Thanks - you were correct that removing spaces in the key fixed the validation. Bonehead mistake! I appreciate the help! -Kevin

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.