We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52349
    • 41 Posts
    url is http://kvpropertiesmobile.com/contact.html

    It validates, chunk looks good, code looks good (my own bias eyes), system looks good, Bob's quick test tool succeeds. I am at a total loss. Here is dat code. Host is go daddy and set to remote because of gmail. Have tried both ways though. I have grey hair now.

    <div class="main-wrapper">
    <div class="main">
    <div class="main-inner">
    <div class="content">
    <div class="content-title">
    <div class="container">
    <h1>Contact Us</h1>

    <ul class="breadcrumb">
    <li><a href="[[~1]]">Home</a> <i class="md-icon">keyboard_arrow_right</i></li>
    <li class="active">Contact</li>
    </ul>
    <!-- /.breadcrumb --></div>
    <!-- /.container --></div>
    <!-- /.content-title -->

    <div class="container push-top-bottom">
    <div class="pricing">
    <div class="row">
    <div class="widget widget-background-white">
    <h3 class="widgettitle">Get More Information</h3>

    [[!FormIt?
    &hooks='email'
    &emailFrom=`[email protected]`
    &emailTpl='MyEmailChunk'
    &emailTo='[email protected]'
    &emailSubject='A message from KV Website'

    &validate=`name:required,
    email:email:required,
    text:required,
    message:required:stripTags`
    &successMessage=`<div class="alert alert-success marginTop25">
    <button type="button" class="close" data-dismiss="alert">×</button>
    <h3>Your information has been submitted successfully, we will be in touch shortly.</h3></div>`
    &validationErrorMessage=`<div class="alert alert-error">
    <button type="button" class="close" data-dismiss="alert">×</button>
    <h3>Please review the following errors:</h3>
    <ul>
    [[!+fi.error.name:!empty=`<li><a href="[[~[[*id]]]]#name">Name is a required field</a></li>`]]
    [[!+fi.error.email:!empty=`<li><a href="[[~[[*id]]]]#email">Email is a required field</a></li>`]]
    [[!+fi.error.text:!empty=`<li><a href="[[~[[*id]]]]#subject">Subject is a required field</a></li>`]]
    [[!+fi.error.message:!empty=`<li><a href="[[~[[*id]]]]#message">Message is a required field</a></li>`]]
    </ul>

    ]]

    [[!+fi.validation_error_message:!empty=`
    <div class="alert alert-error marginTop25">
    <button type="button" class="close" data-dismiss="alert">×</button>
    <h3>Please review the following errors:</h3>
    <ul>
    [[!+fi.error.name:!empty=`<li><a href="[[~[[*id]]]]#name">Name is a required field</a></li>`]]
    [[!+fi.error.email:!empty=`<li><a href="[[~[[*id]]]]#email">Email is a required field</a></li>`]]
    [[!+fi.error.text:!empty=`<li><a href="[[~[[*id]]]]#text">Subject is a required field</a></li>`]]
    [[!+fi.error.message:!empty=`<li><a href="[[~[[*id]]]]#message">Message is a required field</a></li>`]]
    </ul>
    </div>`]]

    [[!+fi.successMessage]]
    <form action="[[~[[*id]]]]" method="post"">
    <div class="form-group">
    <label>Full Name [[!+fi.error.name:notempty=`<span class="label label-important">This is a required field.</span>`]]</label>
    <input type="name" name="name" value="[[!+fi.name]]" class="form-control">
    </div><!-- /.form-group -->

    <div class="form-group">
    <label>E-mail [[!+fi.error.email:notempty=`<span class="label label-important">This is a required field.</span>`]]</label>
    <input type="email" name="email" value="[[!+fi.email]]" class="form-control">
    </div><!-- /.form-group -->

    <div class="form-group">
    <label>Subject [[!+fi.error.text:notempty=`<span class="label label-important">This is a required field.</span>`]]</label>
    <input type="text" name="text" [[!+fi.text]] class="form-control">
    </div><!-- /.form-group -->

    <div class="form-group">
    <label>Message [[!+fi.error.message:notempty=`<span class="label label-important">This is a required field.</span>`]]</label>
    <textarea name="message" value="[[!+fi.message]]" class="form-control" rows="4"></textarea>
    </div><!-- /.form-group -->

    <div class="form-group-btn">
    <button type="submit" class="btn btn-primary btn-block btn-large">Send Message</button>
    </div><!-- /.form-group-btn -->
    </form>
    </div>

    <!-- /.widget --></div>
    <!-- /.row --></div>
    <!-- /.pricing --></div>
    <!-- /.container --></div>
    <!-- /.content --></div>
    <!-- /.main-inner --></div>
    <!-- /.main --></div>
    <!-- /.main-wrapper -->

    This question has been answered by eleiz11. See the first response.

      • 22840
      • 1,572 Posts
      Not sure if it would affect it but your missing the back tick (`) from the end of your validationErrorMessage and some of your others are not using back ticks

      [!FormIt? 
      	&hooks=`email`
      	&emailFrom=`[email protected]` 
      	&emailTpl=`MyEmailChunk`
      	&emailTo=`[email protected]` 
      	&emailSubject=`A message from KV Website`
      	&validate=`name:required,
      	email:email:required,
      	text:required,
      	message:required:stripTags`
      	&successMessage=`<div class="alert alert-success marginTop25">
      	<button type="button" class="close" data-dismiss="alert">×</button>
      	<h3>Your information has been submitted successfully, we will be in touch shortly.</h3></div>`
      	&validationErrorMessage=`<div class="alert alert-error">
      	<button type="button" class="close" data-dismiss="alert">×</button>
      	<h3>Please review the following errors:</h3>
      	<ul>
      	[[!+fi.error.name:!empty=`<li><a href="[[~[[*id]]]]#name">Name is a required field</a></li>`]]
      	[[!+fi.error.email:!empty=`<li><a href="[[~[[*id]]]]#email">Email is a required field</a></li>`]]
      	[[!+fi.error.text:!empty=`<li><a href="[[~[[*id]]]]#subject">Subject is a required field</a></li>`]]
      	[[!+fi.error.message:!empty=`<li><a href="[[~[[*id]]]]#message">Message is a required field</a></li>`]]
      	</ul>`
      ]]
      [ed. note: paulp last edited this post 7 years, 8 months ago.]
        • 52349
        • 41 Posts
        See biased code lol. I found and added the </div> as well, still nope.
          • 22840
          • 1,572 Posts
          Use the above code as I've edited that post and see if that works
          • discuss.answer
            • 52349
            • 41 Posts
            I am going to go hide my head in sand and change my eye prescription. Back ticks, back ticks, back, ticks, Thank you so much Paulp. It works
              • 17301
              • 932 Posts
              You've also got a double quote on your form method wink
                ■ email: [email protected] | ■ website: https://alienbuild.uk

                The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.