Jake Vanderwerf
2026-03-29 9f672be1f7bb5f8462374ca4732d095d4f24685b
inc/managers/ReferralManager.php
@@ -1069,21 +1069,21 @@
   <form id="referral-code-form">
            '.jvbFormStatus(). '
    <input type="hidden" name="user_select" value="' . esc_attr(get_option(BASE.'referral_role','client')) . '">
    ' .Form::render('referral_name', null, [
    ' .Form::render('referral_name', '', [
            'required'  => true,
            'type'      => 'text',
            'label'     => 'Your Name',
            'placeholder'=> 'Mister Meeseeks',
            'autocomplete'=>'name'
         ]).
         Form::render('referral_email', null, [
         Form::render('referral_email', '', [
            'required'  => true,
            'type'      => 'email',
            'label'     => 'Your Email',
            'placeholder'=> 'look@me.com',
            'autocomplete'=> 'email'
         ]).
         Form::render('referral_code', null, $prefill_code, [
         Form::render('referral_code', $prefill_code, [
            'required'  => true,
            'type'      => 'text',
            'label'     => 'Referral Code',
@@ -2491,11 +2491,11 @@
         <p><small>(No data is stored. Your friends will get an email from our email.)</small></p>
         <?php
         $invite = [
            'type' => 'tag_list',
            'type' => 'taglist',
            'label' => 'Invite Your Friends',
            'hint' => 'Add friends to send them a referral link',
            'add_label' => 'Add Invite',
            'tag_format' => '{name} ({email})', // or 'first_field', 'all_fields', 'email', etc.
            'tag_format' => '{{name}} ({{email}})', // or 'first_field', 'all_fields', 'email', etc.
            'fields' => [
               'name' => [
                  'type' => 'text',
@@ -2526,7 +2526,7 @@
               'hint'      => 'We\'ll add your code and a link automatically.'
            ]
         ];
         echo Form::render('invite', null, $invite);
         echo Form::render('invite', '', $invite);
         ?>
         <details>
            <summary class="icon icon-caret-down">Customize Message</summary>
@@ -2573,7 +2573,7 @@
      $crud = new CRUDSkeleton();
      $crud->title('Your Referrals', 'Track friends you\'ve invited and rewards earned')
         ->content('referral', 'Referral', 'Referrals')
         ->initMeta('custom', 'referral')
//       ->initMeta('custom', 'referral')
         ->setFields([
            'referee_name' => [
               'label' => 'Name',