Move group assignment in registration

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 5 reply threads
  • Author
    Posts
    • #30247
      BS
      Participant

      Hey,

      I was wondering if it is possible to move the assignment of groups within the registration form.

      I’ve added a terms & conditions button to my form, but would like the T&C checkbox to go below the group assignment,

      You can see what I mean here:

      https://www.bridalsouq.com/wcmp_vendor_registration/

      So I would want the form to be:
      Email
      Password
      Password confirmation
      Group Type
      T&C’s

      Thanks!

    • #30461
      WCFM Forum
      Member

      HI,

      How you have added this Terms checkbox?

      Can you please show me screenshot of those codes?

      Thank You

    • #30495
      BS
      Guest
      This reply has been marked as private.
    • #30805
      WCFM Forum
      Member

      Hi,

      You may try this code for the purpose –

      function wcfmgs_wcmp_vendor_register_groups_field_hide() {
      	global $WCFM, $WCFMgs;
      	if( $WCFMgs ) {
      		remove_action( 'wcmp_vendor_register_form', array( &$WCFMgs->frontend, 'wcfmgs_wcmp_vendor_register_groups_field' ), 50 );
      	}
      }
      add_action( 'wcmp_vendor_register_form', 'wcfmgs_wcmp_vendor_register_groups_field_hide', 49 );
      add_action( 'wcmp_vendor_register_form', array( $WCFMgs->frontend, 'wcfmgs_wcmp_vendor_register_groups_field' ), 9 );

      Thank You

    • #30895
      bs
      Guest
      This reply has been marked as private.
    • #30935
      WCFM Forum
      Member

      Hi,

      Well, here is an updated version of that code, please use this –

      function wcfmgs_wcmp_vendor_register_groups_field_hide() {
      	global $WCFM, $WCFMgs;
      	if( $WCFMgs ) {
      		remove_action( 'wcmp_vendor_register_form', array( &$WCFMgs->frontend, 'wcfmgs_wcmp_vendor_register_groups_field' ), 50 );
      	}
      }
      add_action( 'wcmp_vendor_register_form', 'wcfmgs_wcmp_vendor_register_groups_field_hide', 49 );
      function wcfmgs_wcmp_vendor_register_groups_field_custom() {
      	global $WCFM, $WCFMgs;
      	if( $WCFMgs ) {
      		$WCFMgs->frontend->wcfmgs_wcmp_vendor_register_groups_field();
      	}
      }
      add_action( 'wcmp_vendor_register_form', 'wcfmgs_wcmp_vendor_register_groups_field_custom', 9 );

      Thank You

Viewing 5 reply threads
  • The topic ‘Move group assignment in registration’ is closed to new replies.