I've inserted a webform in a node's template like so:
<?php print render($content['webform']); ?>
and created the webform in the admin panel for that page. The form shows up fine and I've styled it correctly. I would now like to know the Drupal way of grabbing the data from the form. Most likely a preprosses function from what I've researched.
The form is very simple, just an email address and a submit button. I'm good with PHP but still getting used to drupal's backend functionality. Any help or direction is greatly appreciated. Cheers!