The error console shows the following error:
In the flow, the “email field” with “Contact Information” header appears under the Billing To step rather than under My Contact. From your Demo page on your site, this field should appear under My Contact.
Any idea why it appearing where it is?
However, the Email field is automatic when creating the form, and there doesn’t seem to be a way to adjust its order after I add the additional fields. Is there a workaround for this?
Thanks in advance for your help.
]]>On a differente example, my contact form, located in this page https://companhia-navio.com/contactos/, generates feedback with the source in this page.
]]>I want to display user email in profil form but i cant do it, I add the predefine field in form creator but when i upload it, or I try to live view it is invisible. In registration form everything is ok. Is there any options to make this field visible?
]]>Would it be possible to add such an option to a future update? Something like the following code might be a fairly simply way to create the filter condition.
$testurlparts = wp_parse_url(home_url());
$emaildomain = preg_replace('/^www./i', '', $testurlparts['host']);
if(str_pos(strtolower($providedemail), strtolower('@' + $emaildomain)) === FALSE)
{
//email provided is not at current domain name.
}
]]>Is it possible to set the placeholder attribute in the input field for the email address? Something like “Enter your email here…” or similar.
Thanks in advance.
Philipp
]]>add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
function custom_override_checkout_fields( $fields ) { $fields['billing']['additional_email'] = array(
'label' => __('Email', 'woocommerce'),
'placeholder' => _x('Email', 'placeholder', 'woocommerce'),
'required' => false,
'class' => array('form-row-wide'),
'clear' => true );
return $fields; }
add_action('woocommerce_admin_order_data_after_billing_address', 'my_custom_checkout_field_display_admin_order_meta', 10, 1 );
function my_custom_checkout_field_display_admin_order_meta($order){
echo '<p><strong>'.__('Additional Participant Email').':</strong> ' . get_post_meta( $order->get_id(), '_additional_email', true ) . '</p>'; }
Ideally, the additional email field would appear in the “Contact Information” section. We’re selling classes with our WooCommerce store, so these additional email fields will be used to send confirmation to all of the participants who will be taking the class.
]]>