Home › Forums › All Other Themes › contact form SKT High Tech
- This topic has 4 replies, 2 voices, and was last updated 6 years, 8 months ago by
Sonnal S Sinha.
-
AuthorPosts
-
March 23, 2017 at 10:32 am #66470
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
March 23, 2017 at 12:05 pm #66486Hi Hans,
Kindly go to inc/custom-functions.php and change the content of the form fields from there.
Regards,
DaveMarch 23, 2017 at 12:05 pm #66487Hi Hans,
Kindly go to inc/custom-functions.php and change the content of the form fields from there.
Regards,
DaveMarch 23, 2017 at 1:58 pm #66496Dave,
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’;March 24, 2017 at 10:51 am #66615Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.