Get the visitors email or phone number through poll system

It’s a big challenge for me and i stayed one week but couldn’t do it… i need to get the visitors email or phone number through my poll system
the plugin i use get the user id or asks for wp login but i need to change this to input fields so the visitor can fill these data

		<?php foreach ( $poll->get_poll_options() as $option ) : ?>
            <th><?php echo esc_html( $option['label'] ); ?></th>
		<?php endforeach; ?>
    </tr>

	<?php foreach ( $poll->get_meta( 'polled_data', array() ) as $user => $data ) :

		$poller = get_user_by( 'ID', $user );
		?>
        <tr>
            <td><?php echo empty( $poller ) ? $user : $poller->display_name; ?></td>
			<?php foreach ( $poll->get_poll_options() as $option_id => $option ) : ?>
				<?php printf( '<td>%s</td>', in_array( $option_id, $data ) ? '<i class="icofont-check-alt"></i>' : '' ); ?>
			<?php endforeach; ?>
        </tr>
	<?php endforeach; ?>
</table>
<?php esc_html_e( 'Poller', 'wp-poll' ); ?>
Sponsor our Newsletter | Privacy Policy | Terms of Service