List Pages based on Custom Field

I would like to list some of the pages in my site but separate the list into three groups based on a custom field.

This is my code so far for the custom field value vintage-weddings:

<?php wp_list_pages('title_li=&child_of=.$post->15.&meta_value=vintage-weddings'); 


But its not working.

Is my code wrong or am I barking up the wrong tree here?

Ok I’ve figured this one out… here is the code to list pages based on a specific custom field value.

<?php wp_list_pages('title_li=&meta_key=gallerytype&meta_value=vintage-weddings'); ?>


<?php wp_list_pages('title_li=&child_of='.$post->15.'&meta_value=vintage-weddings');?>