I hacked this module to support a hidden option. If it is enabled the form does not allow to select an item of the view but instead it will always add all view items to the webform. The view is also parsed on submission and not on form creation.

I use it for a simple basket function. The user can select some products with the flag module and then he can send a request via a webform with all flagged products.

Maybe it's useful for others.

But be careful. I'm no coder, so maybe I did things wrong.

CommentFileSizeAuthor
webform_viewreference.zip12.38 KBWolfgang Reszel

Comments

freakalis’s picture

Status: Active » Closed (works as designed)

I don't really se the need for a hidden form element. If you want a hidden element you could use standard hidden forme element with webform and use tokens.