'#1', 'custom2' => '#2', /* if needed, add more lines here for "custom3", "custom4", etc. */ ); public function __construct( $user_id ){ $this->custom1 = #3; $this->custom2 = #4; /* if needed, add more lines here for "custom3", "custom4", etc. */ /* ( but note that too many items put an extra load on your server ) */ } /* If you have a custom field that can only have a limited number of values, listing those */ /* values here will allow you to choose items having those values in the Data Management */ /* area of the Webforms page */ public static function selection_list( $custom_field ){ switch( $custom_field ){ case 'custom1': return array( #5 ); break; case 'custom2': return array( #6 ); break; /* if needed, add more lines here for "custom3", "custom4", etc. */ default: return array(); } } } }