Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter 4 posts 84 karma points
    26 days ago
    Peter
    0

    UmbracoForms.FormPicker (ContactForms) Errors in Umbraco 8.8 RC

    Hi Friends,

    I just updated to Umbraco 8.8 RC from 8.6.3 and there is the error with UmbracoForms.FormPicker in the contact form in my website. Any one can help. Thanks

    enter image description here The codes in /Views/contact.cshtml:

    <div class="row">
                    @Html.Partial("ContactForm", new Umbraco.Models.ContactFormViewModel())
    
    </div>
    

    The codes in /Views/Partials/ContactForm.cshtml:

    @inherits Umbraco.Web.Mvc.UmbracoViewPage< Umbraco.Models.ContactFormViewModel>
    
    @using (Html.BeginUmbracoForm<Umbraco.Controllers.ContactFormSurfaceController >("ContactForm"))
    {
        <div class="error-container"></div>
      <div class="row">
         <div class="col-md-6">
            <div class="form-group">
               <label>@Umbraco.GetDictionaryValue("Name")</label>
            <input class="form-control form-control-name" name="name" id="name" placeholder="" type="text" required="">
            </div>
         </div>
         <div class="col-md-6">
            <div class="form-group">
               <label>@Umbraco.GetDictionaryValue("Email")</label>
               <input class="form-control form-control-email" name="email" id="email" placeholder="" type="email" required="">
            </div>
         </div>
         <div class="col-md-6">
            <div class="form-group">
               <label>@Umbraco.GetDictionaryValue("Subject")</label>
               <input class="form-control form-control-subject" name="subject" id="subject" placeholder="">
            </div>
         </div>
          <div class="col-md-6">
            <div class="form-group">
               <label>@Umbraco.GetDictionaryValue("Phone")</label>
               <input class="form-control form-control-subject" name="phone" id="phone" placeholder="">
            </div>
         </div>
      </div>
    
      <div class="form-group">
         <label>@Umbraco.GetDictionaryValue("Body")</label>
         <textarea class="form-control form-control-message" name="message" id="message" placeholder="" rows="10" required=""></textarea>
      </div>
      <div class="text-right"><br>
         <button class="btn btn-primary solid blank" type="submit">@Umbraco.GetDictionaryValue("SendMessage")</button> 
      </div>
    
        @Html.ValidationSummary(true)
        @Html.AntiForgeryToken()
    }
    

    My Contact form in Umbraco 8.8 RC is shown the error:

    enter image description here

    My Contact forms in Umbraco 8.6.3: My Contact forms in Umbraco 8.6.3:

    Peter

Please Sign in or register to post replies

Write your reply to:

Draft