- This topic has 4 replies, 2 voices, and was last updated 8 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › contact form SKT High Tech
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
Hi Hans,
Kindly go to inc/custom-functions.php and change the content of the form fields from there.
Regards,
Dave
Hi Hans,
Kindly go to inc/custom-functions.php and change the content of the form fields from there.
Regards,
Dave
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’;
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
Umbraco to WordPress Migration A content management system is important for any small to big business. It helps to make your digital platform strong and […]
In the event that you have both a WordPress site and a YouTube channel, you should need to incorporate these stages. One route is by […]
Have you tried using HubSpot’s limited functionalities? Then, it is time to migrate your HubSpot website to WordPress. WordPress provides many features, themes, Plugins, and […]