Hello again,
in the front-end submission form I’ve got name and email from advanced fields, and those are automatically populated with the logged-in users’ info. We also need to collect an additional email address (contact person) which may or may not be the event submitter. I’ve tried setting up both another Email and just a plain input field for the email address. Every other field prints ok, but not the email.
<h3>With any questions related to this event, please contact:</h3>
<?php if ( get_post_meta( get_the_ID(), 'contact_name', true ) ) : ?>
<?php echo get_post_meta( get_the_ID(), 'contact_name', true ); ?>
<?php endif; ?>
<?php if ( get_post_meta( get_the_ID(), 'contact_email', true ) ) : ?>
">
<?php get_post_meta( get_the_ID(), 'contact_email', true ); ?>
<?php endif; ?>
Tried renaming the contact_email field to email_address in case the name clashes with something else, but no luck. What am I not seeing here?
Thanks!

Willow
You have
<?php get_post_meta( get_the_ID(), 'contact_email', true ); ?>
instead of
<?php echo get_post_meta( get_the_ID(), 'contact_email', true ); ?>
🙂

Stephen Harris
So embarrassing, I clearly need a break.
Thank you!!!

Willow