• Resolved dan123

    (@danielg123)


    Hi,

    How do you set the fields on the email form as required?

    So the customer must enter their information in each field before they are allowed to send.

    Thanks

Viewing 1 replies (of 1 total)
  • Hi, thanks for reaching our support!!

    As, there is no default setting to add required field, so you have to do a bit of custom coding using this actions to apply the required condition :

    add_action('woocommerce_single_product_summary', array($WC_Woocommerce_Catalog_Enquiry->frontend,'add_form_for_enquiry_without_popup'),100);

    add_action('woocommerce_single_product_summary', array($WC_Woocommerce_Catalog_Enquiry->frontend,'add_form_for_enquiry'),100);

Viewing 1 replies (of 1 total)
  • The topic ‘Required fields’ is closed to new replies.