After hours of fiddling, here’s what I used to finally get this working.
This will list subpages with a link to the title and display the custom field you specify. In this case, my custom field is task. So you change task to the “key” of your custom field
<?php
global $wpdb;
$children = $wpdb->get_results("SELECT * from $wpdb->posts WHERE post_type='page' AND post_parent=$post->ID ORDER BY post_title");
if($children) {
foreach($children as $child) {
echo '<a href="' . get_permalink($child->ID) . '">' . $child->post_title . '</a><br clear="all">';
echo get_post_meta($child->ID, 'task', TRUE);
}
}
?>