I have a webform with 2 select fields, and the values have some HTML in them to get a nifty hover effect, explaining more about the values.
But it sends the HTML with the form results, which isn't really what I want, and it's annoying for the person who actually uses the form results.
I've been trying to futz around with the additional processing option and not really getting anywhere. Basically I'm wandering into one of those corners of Drupal about which I know nothing. The usual Googling doesn't seem to be helping me any, and my usual "smash it with rocks" experimentation techniques aren't working either. :)
1) Is there a straightforward way to do what I'm looking for?
2) If not, any ideas for getting the hover working in some way that gets the markup out of the field values?
Thanks in advance for any help you can provide!

Comments
Put the content elsewhere
If you do a little JQuery programming, you should be able to store the content you want to display somewhere else on the page in a hidden DIV, rather than inside your label's title.
Drupal programmer - http://poplarware.com
Drupal author - http://shop.oreilly.com/product/0636920034612.do
Drupal contributor - https://www.drupal.org/u/jhodgdon
It looks like with the
It looks like with the additional processing field you could grab the submitted values and run them through the php function strip_tags() (http://us2.php.net/manual/en/function.strip-tags.php). Hopefully that will point you in the right direction, maybe someone more familiar with webform can provide some details on how to access the submitted values from the additional processing field.
See, that's what I thought....
But I can't seem to figure out how to reassign those variables. I may just have to go with Jennifer's idea of moving the data to someplace else in the node. (Sigh)
I had the same problem and
I had the same problem and found the following function inside components/markup.inc .. after commenting out the two lines in the function I no longer have the problem with markup showing in the submissions.
<?phpfunction _webform_submission_display_markup($data, $component, $enabled = FALSE) {
//$form_item = _webform_render_markup($component, FALSE);
//return $form_item;
}
?>
I think Im having the same or similar problem
I hope someone can shed some light on this for me. My problem is when I go to view the results of a submission it shows radio buttons, input fields, etc... Im totally baffled why this is the default behavior for viewing submitted data but I have been searching the web for an answer and I just cant seem to find out how to just display field values.
Ive been going through form api and I guess what Im trying to do is something like:
print drupal_render($form['submitted']['first_name']['#title']);
print ......my own markup/styling
print drupal_render($form['submitted']['first_name']['#default_value']);
All I want is to be able to pull the field title and field value.
Pleeeease, can somebody explain how to do this?
Thanks so much!
Clint