This is very useful. Webform has a lot of great features. Thanks a lot!
@tanashin0383 жыл бұрын
This features is life saver, thank you 😄
@FranLannel9 ай бұрын
Hi Jacob, I have a custom composite with 2 fields. Is there a way to prevent duplicate rows with the same information? So the user can´t submit many rows with exactly the same information? I tried this:
@laurencefass3 жыл бұрын
"Composite elements" looks more like "inline composite elements" and I cant find a way to reuse the composite element. at 4:33 you say that composite elements are easy to reuse but i cant find a way to reuse an element created inline. How do I reuse a composite element across webforms? What would be great is being able to create standalone webforms and import them into other webforms (inheriting arguments). I think this would fit better with the accepted definition of "composite elements".
@jacobrockowitz11823 жыл бұрын
@see www.drupal.org/project/webform_composite
@gagarine422 жыл бұрын
I was also a bit confused by what you can do with "composition element" from the UI and what you can do with a "composite element" in code (without adding the extra webform_composite module). Like "you cannot add a checkbox in a composite element", but it seems you can because address do it, therefor I guess you cannot from the UI. Thanks a lot for the video!
@schlobi234 жыл бұрын
@min 2:00 - how does one activate the tabular form of the address composites ? I like it very much but i cannot find it ...
@jacobrockowitz11824 жыл бұрын
On the element edit form, you need to set the 'Allowed number of values' to any number other than 1. You can only set the 'Allowed number of values' for webforms that do not have submissions.
@schlobi234 жыл бұрын
@@jacobrockowitz1182 Hi Jacob, thank you for your quick response. This is exactly what i did, still it does not display like this. Maybe just a CSS issue ? Do you use some custom css in your demo ?
@jacobrockowitz11824 жыл бұрын
If you don't have a table layout, you will need to go into the element edit form's advanced tab settings and check "Display elements in table columns?"
@schlobi234 жыл бұрын
@@jacobrockowitz1182 Finally, i found it: "MULTIPLE SETTINGS - Display elements in table columns". Sorry i'm a Drupal beginner coming from a big but mostly hardcodet project. I had a lot to do with forms and i simply admire your approach !
@mrnick5573 жыл бұрын
Hi Jacob, I have a requirement where i need to store multiple elements in composite but when i want to fetch the submissions the values are stored in one column of composite elements, i want to get the values like table. what is the best way to use it.
@jacobrockowitz11823 жыл бұрын
In a CSV it is not possible to export multiple composite values in dedicated columns.
@goncalodumas4 жыл бұрын
Hi Jacob, thanks for another great video. Now that I’m starting to work on webform, your videos make a lot more sense. A question, using webform views, can I get aggregation with values from a custom composite element?
@jacobrockowitz11824 жыл бұрын
I am not sure if composite elements are completely available via www.drupal.org/project/webform_views
@otoolepw4 жыл бұрын
Hi Jacob, thanks for all your work on Webforms in Drupal 8. We're a charity and our Drupal developers say we have a lot of records in the MySQL database and should purge them every 30 days. None of our webforms capture image or binary data, just text. Is there an issue that might affect performance leaving webform_submission_data with 6 million records and webform_submission with 160k records? We've gathered this amount of data in 5 months. Would appreciate your view on this. Thanks.
@jacobrockowitz11824 жыл бұрын
MySQL can handle millions of records. The webform submission tables are very simple with indexes. I don't think you will see any major performance issues. If you do see performance issues they can probably be fixed by adding some additional indexes.