Required Field

WCMp Catalog Enquiry

Required Field Resolved

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #22493
      celecinfo
      Participant

      Hi,

      Is it possible to make the labels as a required field. Can you please help/guide regrading this ?

      Thanks,
      David

    • #22514
      WCMp Admin
      Keymaster

      David, thanks for reaching WCMp Support!!

      Can you please explain this a bit more, where do you want the required labels (i.e. on the registration page or other pages) so that we can assist you accordingly.

    • #22633
      celecinfo
      Participant

      I want the required fields in the woocommerce catalog enquiry form. This form is at product pages.

    • #22643
      WCMp Admin
      Keymaster

      Hicelecinfo, 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);
      Copy
      add_action('woocommerce_single_product_summary', array($WC_Woocommerce_Catalog_Enquiry->frontend,'add_form_for_enquiry'),100);
      Copy
Viewing 3 reply threads

The topic ‘Required Field’ is closed to new replies.

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price