Is there a better way to find all form elements in a Drupal form than doing a print_r($form)? This dumps excessive amount of information and it is no obvious what to look for.
A:
The devel module give you access to various debugging tools, like dpm
which prints data like arrays much cleaner than print_r
using krumo.
Another option if you use firefox would be to Drupal For Firebug
googletorp
2010-04-14 10:54:40
I got dpm($form) working. Nice! This is much better way to view data. I am still trying to figure out where stuff is coming from eg: location longitude
bert
2010-04-14 11:38:31