Copied to clipboard

Flag this post as spam?

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


  • Bob Davidson 7 posts 37 karma points
    Dec 13, 2012 @ 18:08
    Bob Davidson
    0

    Forms emtpy on front-end

    So I've created a form with a few fields, and all the fields appear correctly in the admin, however, when I click the preview button, I get a page that says "Notice: This is a fully functional version of your form and will act as any normal form would. Complete with workflows and datastorage," and nothing else.

    If I embed the form into a page via the RTE, the fields kinda/sorta display in the RTE itself, but on the published page I only see a next & previous button, and nothing else where the form should be.

    If I embed the form into a template via <umbraco:macro />, I get the same result - no form, but next / previous buttons.

    Some simple things I've already checked: the RTE field is displayed w/ an <umbraco:Item /> tag in the page template, and other macros work in that field.  I do have the required <form runat="server" /> surrounding the page.  Contour doesn't appear to be in trial mode (at least, it doesn't display a trial-mode message on the admin side).

    Any ideas on other things I can try, or places I can look for more information about what's going wrong?  Thanks in advance.

  • Bob Davidson 7 posts 37 karma points
    Dec 13, 2012 @ 18:55
    Bob Davidson
    0

    Whoops, I forgot to mention versions:  I'm running Umbraco 4.9.0 and Contour 3.0.2, if that helps.

    Thanks.

  • Comment author was deleted

    Dec 17, 2012 @ 10:38

    Hey Bob,

    So in preview you don't see the form?

  • Bob Davidson 7 posts 37 karma points
    Dec 17, 2012 @ 17:55
    Bob Davidson
    0

    Tim,

    Thanks for the response.  That's correct; in the preview, I see only a message about it being a fully functioning form, but nothing below that.  If I view source on the preview page, I don't see anything even resembling a form:

    <body><div id="uformNotice"><em>Notice:</em> This is a fully functional version of your form and will act as any normal form would. Complete with workflows and datastorage. </div></body>

    (I cut out the head & enclosing HTML tags)

    I suspect something is wrong with the installation.  For whatever reason, attempting to install from the package manager didn't work for me (just didn't do anything at all), so I followed the manual install document instead (from UmbracoContour_3.0.2_Manual_Install.zip), but it seems to have some errors.  For example, on page 7 you add some XML to the dashboard configuration, but that XML references ContactForm_logs.ascx and EmailaFriendForm_logs.ascx, neither of which exist in files.zip.  Not sure if those files are missing and should be there, or just hold-overs from a previous version and shouldn't be in the XML.

    So I wonder if there's a file or configuration setting missing, but the exception is being caught somehwere?  I don't see any obvious smoking guns in the umbracoLog table.

  • Comment author was deleted

    Dec 18, 2012 @ 09:37

    Ok try adding a new macro

    Alias umbracoContour.RazorRenderForm

    SCript file set to MvcRenderContourForm.cshtml

    With 1 param alias FormGuid or type form picker

  • Bob Davidson 7 posts 37 karma points
    Dec 18, 2012 @ 17:10
    Bob Davidson
    0

    That fixed it.  The install doc tells you to create a macro, but it's apparently not the one this version is expecting.  Any chance of getting an updated/corrected install doc so I can double check that I don't have anything else missing?

    Thanks again!

  • Comment author was deleted

    Dec 18, 2012 @ 17:10

    Yup workign on updating the docs but glad it's working :)

Please Sign in or register to post replies

Write your reply to:

Draft