Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Kora demo. We don`t offer theme customization.

Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .


NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.

Contact Form
  • How do I add more fields to the contact form? For example, I want a referral form, so people can refer a friend:

    Your Name: *
    Your E-mail: *
    Your Contact Number:
    Refer Name: *
    Refer E-mail: *
    Refer Phone Number:
    Extra Notes:

    * being compulsory fields
  • 8 Comments sorted by
  • Please sign in to see answear!
  • It's the contact form I'm trying to change, not the contact box.

    Think I got it sorted by following a similar method as stated above.
  • So I got the extra fields, with two problems. I can't get a a title in the 'Extra Fields' text area at the bottom, and the submit button doesn't work.


    Code I used below:

    /* ---------------------------------------------------------------------------
     * Shortcode [contact_form]
     * --------------------------------------------------------------------------- */
    function sc_contact_form( $attr, $content = null )
    {
    extract(shortcode_atts(array(
    'title' => '',
    'email' => '',
    ), $attr));
    $translate['your-contact-name'] = mfn_opts_get('translate') ? mfn_opts_get('translate-your-contact-name','Your name') : __('Your name','kora');
    $translate['your-contact-email'] = mfn_opts_get('translate') ? mfn_opts_get('translate-your-contact-email','Your e-mail') : __('Your e-mail','kora');
    $translate['your-contact-number'] = mfn_opts_get('translate') ? mfn_opts_get('translate-your-contact-number','Your number') : __('Your number','kora');
    $translate['refer-contact-name'] = mfn_opts_get('translate') ? mfn_opts_get('translate-refer-contact-name','Refer name') : __('Refer name','kora');
    $translate['refer-contact-email'] = mfn_opts_get('translate') ? mfn_opts_get('translate-refer-contact-email','Refer e-mail') : __('Refer e-mail','kora');
    $translate['refer-contact-number'] = mfn_opts_get('translate') ? mfn_opts_get('translate-refer-contact-number','Refer number') : __('Refer number','kora');
    $translate['referral-submit'] = mfn_opts_get('translate') ? mfn_opts_get('translate-contact-submit','Send Referral') : __('Send Referral','kora');
    $translate['referral-message-success'] = mfn_opts_get('translate') ? mfn_opts_get('translate-referral-message-success','Thanks, your referral was sent.') : __('Thanks, your referral was sent.','kora');
    $translate['referral-message-error'] = mfn_opts_get('translate') ? mfn_opts_get('translate-referral-message-error','Error sending referral. Please try again later.') : __('Error sending referral. Please try again later.','kora');

    $output = '<div class="inner-padding">';
    if( $title ) $output .= '<h3>'. $title .'</h3>';
    $output .= '<div class="contact_form">';
    $output .= '<form id="json_contact_form" method="POST" action="'. LIBS_URI .'/theme-mail.php">';
    $output .= '<input type="hidden" name="To" value="'. $email .'" />';
    $output .= '<fieldset>';
    $output .= '<input id="Your Name" class="nick required" name="Name" placeholder="'. $translate['your-contact-name'] .'" type="text" />';
    $output .= '<input id="Your Email" class="email required" name="Email" placeholder="'. $translate['your-contact-email'] .'" type="text" />';
    $output .= '<input id="Your Contact Number" class="number" name="Number" placeholder="'. $translate['your-contact-number'] .'" type="text" />';
    $output .= '<input id="Refer Name" class="nick required" name="Name" placeholder="'. $translate['refer-contact-name'] .'" type="text" />';
    $output .= '<input id="Refer Email" class="email required" name="Email" placeholder="'. $translate['refer-contact-email'] .'" type="text" />';
    $output .= '<input id="Refer Contact Number" class="number" name="Number" placeholder="'. $translate['refer-contact-number'] .'" type="text" />';
    $output .= '<textarea id="Extra Notes" name="Extra Notes" class="notes"></textarea>';
    $output .= '<input type="submit" value="'. $translate['referral-submit'] .'" />';
    $output .= '</fieldset>';
    $output .= '</form>';
    $output .= '<div class="alert_success" style="display:none;">'. $translate['contact-message-success'] .'</div>';
    $output .= '<div class="alert_error" style="display:none;">'. $translate['contact-message-error'] .'</div>';
    $output .= '</div>';
    $output .= '</div>'."\n";
        return $output;
    }
     
  • Please sign in to see answear!
  • Put all code back to the default and it sends, tried your changes above and the 'Your number' field appears, but it stops working, no email gets sent.
  • Please sign in to see answear!
  • I got around it using a forms plugin, so will use the contact form as is thank you.

    Thanks for your help
  • Please sign in to see answear!