0

I am new to Drupal and have been working with Webform module to generate a custom form. One of the requirements for the form is to show a table where a user can add upload documents like this:

sample webform table

I created a new webform and started adding fields. As I added the 'table' field, it had option to set table Header (th) but not rows (td). I am not very familiar with the idea of hooks. Can someone please tell me how I can add rows? And if it is not possible to be done via the UI, then in what files the code must be added?

I am using Drupal 8.

0

Composite elements do not support file uploads. If there is a finite amount of documents you could manually build a table. The Table element was recently hidden because it was impossible to document. Here is an example of table layout within a Webform.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.