• That is FREAKIN AWESOME!! I did what you said for add a field… Can’t believe it worked… very cool! Thank you mucho. Is there a way to add one more field. I see that if I do it again it just swaps out the other one I added.. can you have 2 more added fields or is that way more complicated?

    Just asking.. this is a GREAT Plugin! Works perfect. I will def upgrade and or support!

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter digorange

    (@digorange)

    I tried this but it did not work: Just adding 2 instead of 1 in php:

    add_filter(‘esu_add_extra_form_fields_after’,’wd_add_extra_field’);
    function wd_add_extra_field(){
    $formArray[‘bes’] = array(
    ‘name’ => __(‘Best Time To Call’, ‘wd_lang’),
    ‘validate’=> ‘esu-required-input’,
    ‘id’ => ‘best_time_to_call’,
    ‘class’ => ‘esu-best’,
    ‘type’ => ‘text’);
    return array($formArray[‘bes’]);
    }
    function wd_add_extra_field(){
    $formArray[‘adr’] = array(
    ‘name’ => __(‘address’, ‘wd_lang’),
    ‘validate’=> ‘esu-required-input’,
    ‘id’ => ‘address’,
    ‘class’ => ‘esu-address’,
    ‘type’ => ‘text’);
    return array($formArray[‘adr’]);
    }

    Which plugin are you talking about? You probably want to post on the plugin’s sub-forum – looks like this one?

    https://www.ads-software.com/support/plugin/easy-sign-up

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add 2 fields’ is closed to new replies.