• Hi,

    Thanks for the great plugin!
    I would like to ask how to make the participant information fields required.
    The number of fields depends on the number of participants the shopper chooses to register, I would like all the fields to be required (participant name and email address).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Allyson

    (@allysonsouza)

    Hi @wpwarrior01!

    Really nice question! Currently the name and email field are required, but I believe every project want all fields to be required! And despite they are required, that’s not displayed in form (theres no *). I’ll put that in the fixes for next release, thanks!

    Thread Starter wpwarrior01

    (@wpwarrior01)

    Hi Allyson,

    Thanks for the reply! We are using version 2.0.1 on our site but the participant fields are not required though.

    But no worries about it, we are already very happy with your plugin, it is just perfect for what we want to do. Will be looking forward to your next release!

    Hi,

    I don’t need the participants on my checkout page and hide them using a remove_action. This works fine, but now I get error’s because the fields are required. Is there a way to fix that? F.e. by removing them from the whole process?

    Plugin Author Allyson

    (@allysonsouza)

    Hi Olaf (@finalwebsites),

    I think you just need to remove another action, the action responsible to process the checkout fields, it’s added here: https://github.com/HasteDesign/Registrations-for-WooCommerce/blob/master/includes/class-wc-registrations-checkout.php#L34

    Maybe you should remove other actions too, like the ones attached to woocommerce_checkout_update_order_meta, and woocommerce_admin_order_data_after_billing_address.

    Let me know if it helps!

    Hi Allyson,

    thanks for the quick response.
    I played with the different actions and the message went away but also some important information inside the orders ??

    Right now we keep the participation fields.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Make the Participant Information Fields Required’ is closed to new replies.