0

I have a webform whose results (some specific fields) I want to display in a table in a view. I am able to achieve that using the Webform Views Integration module. The view displays the output as

<label>Field Name</label>
Field Value

I want it to be displayed as

<p>Field Value</p>

Although it can be done via CSS using label{display:none;}, is there any way to do it out of the box or using modules?

Also, I want to overwrite the default webform submission layout which I can achieve using the answer here. But when I try to access the elements of the webform submission using {{html.fieldName}} or {{data.fieldName}}, it again prints out the label with it. I tried the nolabel filter but it does not work.

0

You need to apply the patch from this issue.

  • This patch works perfectly when webform views are exposed to a table but when I override the template using TWIG file, it still shows with the label. – Chintan Parikh Sep 7 '17 at 16:43
  • I recommend we move any discussion related to bugs into the Webform View Integration module's issue queue. drupal.org/project/webform_views – jrockowitz Sep 8 '17 at 10:37

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.