contact form SKT High Tech

Home Forums All Other Themes contact form SKT High Tech

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #66470
    HansHans
    Participant
    • Topics: 26
    • Replies: 70
    • Total: 96
    Member since: October 12, 2016

    Hello,

    where can I change the content of the contact form fields?
    Or even delete a field?

    First Name

    Last Name

    Your Email

    Your Contact Number

    Message

    #66486
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    Hi Hans,

    Kindly go to inc/custom-functions.php and change the content of the form fields from there.

    Regards,
    Dave

    #66487
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    Hi Hans,

    Kindly go to inc/custom-functions.php and change the content of the form fields from there.

    Regards,
    Dave

    #66496
    HansHans
    Participant
    • Topics: 26
    • Replies: 70
    • Total: 96
    Member since: October 12, 2016

    Dave,

    the content of customs-function.php is not waht is shown in the contact form so I doubt that this is the right place.

    http://soundundtechnik.de/kontaktform/

    $cerr = array();
    if( isset($_POST[‘c_submit’]) && $_POST[‘c_submit’]==’Submit’ ){
    $fname = trim( $_POST[‘f_c_name’] );
    $lname = trim( $_POST[‘l_c_name’] );
    $email = trim( $_POST[‘c_email’] );
    $phone = trim( $_POST[‘c_phone’] );
    $comments = trim( $_POST[‘c_comments’] );
    $captcha = trim( $_POST[‘c_captcha’] );
    $captcha_cnf = trim( $_POST[‘c_captcha_confirm’] );

    if( !$fname )
    $cerr[‘fname’] = ‘Please enter your first name.’;
    if( !$lname )
    $cerr[‘lname’] = ‘Please enter your last name.’;
    if( ! filter_var($email, FILTER_VALIDATE_EMAIL) )
    $cerr[’email’] = ‘Please enter a valid email.’;
    if( !$phone )
    $cerr[‘phone’] = ‘Please enter your phone number.’;
    if( !$comments )
    $cerr[‘comments’] = ‘Please enter your question / comments.’;
    if( !$captcha || (md5($captcha) != $captcha_cnf) )
    $cerr[‘captcha’] = ‘Please enter the correct answer’;

    #66615
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    Hi Hans,

    Kindly send us your URL of the site and WordPress admin details (Username & Password) via sktthemes.net/contact

    Please mention this forum URL while replying so that we understand what needs to be done.

    Regards,
    Dave

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.