I recently was using your module and it worked perfectly for what it was looking for except when added the field under advanced option it says "Use the view's "fields" section to display additional informations about candidate nodes on node creation/edition form." but it only seem to render the node title regardless of what was in the View's field section.

I think I found the what is causing the issue. In function _webform_viewselect_options the line $options[$index] = check_plain($row['title']); should be $options[$index] = $row['rendered']; . It seems to work fine and allow people to edit what the label is through views.

Hope this helps and to see this in the next release of the module.

Comments

austinh7’s picture

This works a treat for me as well, now works exactly as you would expect the module to work.

Can we get this committed to the module, it makes a huge difference.

imclean’s picture

This change breaks the Select list option which shouldn't have any HTML in it.

The help text is taken from another module so isn't particularly accurate. There's also a reference to "content types" which isn't relevant here.

johnnydigit’s picture

StatusFileSize
new48.15 KB
new62.55 KB
new13.36 KB

I have added code that allows all view types to be used, the key field to be specified, and the label defined. I'm guessing that it's pretty ugly looking, but I have been able to use it to access code tables and views based on Webform MYSQL views (imported through the Data module). The attached files are in Windows ASCII format.

sunshinee’s picture

Status: Active » Closed (duplicate)

Appears to be a duplicate of http://drupal.org/node/754682, for which a patch has been submitted.