Custom Contact form - by julians3 - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp

  • Avatar: julians3
    julians3
    Participant
    October 29, 2015 at 10:56

    Please help on the contact form.

    1. I had edit the contact_form.php with additional field, problem is ever all field is filled, it still getting error message: Please, fill in the required fields!

    <div id=”contactsMsgs”></div>
    <form action=”<?php the_permalink(); ?>” method=”get” id=”contact-form” class=”contact-form <?php echo $class; ?> design-<?php echo $design; ?>”>

    <div class=”form-group”>
    <p class=”form-name”>
    <label for=”name” class=”control-label”><?php _e(‘Full Name as per IC’, ET_DOMAIN) ?></label>
    <input type=”text” name=”contact-name” class=”required-field form-control” id=”contact-name”>
    </p>
    </div>

    <div class=”form-group”>
    <p class=”form-name”>
    <label for=”name” class=”control-label”><?php _e(‘Designation’, ET_DOMAIN) ?> </label>
    <input type=”text” name=”contact-designation” class=”required-field form-control” id=”contact-designation”>
    </p>
    </div>

    <div class=”form-group”>
    <p class=”form-name”>
    <label for=”contact-email” class=”control-label”><?php _e(‘Email’, ET_DOMAIN) ?> </label>
    <input type=”text” name=”contact-email” class=”required-field form-control” id=”contact-email”>
    </p>
    </div>

    <div class=”form-group”>
    <p class=”form-name”>
    <label for=”contact-email” class=”control-label”><?php _e(‘Contact No (Office DID)’, ET_DOMAIN) ?> </label>
    <input type=”text” name=”contact-office” class=”required-field form-control” id=”contact-office”>
    </p>
    </div>

    <div class=”form-group”>
    <p class=”form-name”>
    <label for=”contact-email” class=”control-label”><?php _e(‘Contact No (Mobile)’, ET_DOMAIN) ?></label>
    <input type=”text” name=”contact-mobile” class=”required-field form-control” id=”contact-mobile”>
    </p>
    </div>

    <div class=”form-group”>
    <p class=”form-name”>
    <label for=”contact-email” class=”control-label”><?php _e(‘Company Name’, ET_DOMAIN) ?></label>
    <input type=”text” name=”contact-company” class=”required-field form-control” id=”contact-company”>
    </p>
    </div>

    <div class=”form-group”>
    <p class=”form-textarea”>
    <label for=”contact_msg” class=”control-label”><?php _e(‘Mailing Address’, ET_DOMAIN); ?> </label>
    <textarea name=”contact-address” id=”contact-address” class=”required-field form-control” cols=”30″ rows=”7″></textarea>
    </p>
    </div>

    <div class=”captcha-block”>
    “>
    <input type=”text” name=”captcha-word” class=”captcha-input”>
    <input type=”hidden” name=”captcha-prefix” value=”<?php echo $prefix; ?>”>
    </div>

    <p class=”pull-right”>
    <input type=”hidden” name=”contact-submit” id=”contact-submit” value=”true” >
    <span class=”spinner”><?php _e(‘Sending…’, ET_DOMAIN) ?></span>
    <button class=”btn btn-black big” id=”submit” type=”submit”><?php _e(‘Submit’, ET_DOMAIN) ?></button>
    </p>

    2. Is that possible to create multiple forms?

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    October 29, 2015 at 11:31

    Hello,

    1. Please give us FTP credentials.

    2. Sorry, there is no such possibility.

    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.