Getting a field's value from an entity What I have installed on my site is the Entity API and Entityform modules. The Entityform module allows me to create forms that any user can submit and the forms fields are available for me to use in views, similar to how a content type would work. 

Normally to pull a field's value from a node into my template with php I'd do the following: 

&lt;?php echo $node-&gt;field_name[$node-&gt;language][0]['value']; ?&gt;


However this does not work with entityforms/entities. 

Does anybody know of a way to do this for a field within an entityform? Some people have suggested to use devel and the dpm() function but I have no idea how to use those either.

Some specific examples on how I can get this field's value would really help me a lot.
Have you tried accessing the values with entity_metadata_wrapper?

$entityform_id = 12; // entity form id
$entityform = entityform_load($entityform_id);
$entityform_wrapper = entity_metadata_wrapper('entityform', $entityform);
// Access fields with $entityform_wrapper-&gt;field_name-&gt;value() or -&gt;field_name-&gt;raw()
drupal_set_message($entityform_wrapper-&gt;field_my_field-&gt;value()); // for example