kjac / FormEditor

A form builder editor for Umbraco 7 - let your editors build forms easily with this free package.
MIT License
99 stars 42 forks source link

Forms editor gives error after save and publish #34

Closed KalpeshDave7883 closed 8 years ago

KalpeshDave7883 commented 8 years ago

Hi,

I am totally new in umbraco, so may be its my mistake to not identify the error or properly not set the FomsEditor. This is really very useful and great tool for me. but when I did every thing and just save and publish it. Then go for the preview the form I got one error for assembly.

image

please assist me if I am doing any mistake.

Thanks in advance :)

KalpeshDave7883 commented 8 years ago

Can you please tell me why I get this error?

kjac commented 8 years ago

Hi there.

It looks like there's a problem in your template - it's referring a view model that does not seem to exist.

Can you get your form rendered if you use one of the sample templates as described here?

KalpeshDave7883 commented 8 years ago

Hi ,

I had tried your sample forms also but not get success. Can you please look at the url ? Where i have installed the package for it.

Url: umbracodev2.brnd.com\umbraco User: brndadmin Pass: qhfxGJet

Its very needful for me to get this work. Please help me to come out of this

Thanks for your help Kalpesh

Sent from Samsung Mobile

-------- Original message -------- From: Kenn Jacobsen notifications@github.com Date: 02/06/2016 10:04 PM (GMT+05:30) To: kjac/FormEditor FormEditor@noreply.github.com Cc: Kalpesh Dave kalpesh@brnd.com,Manual manual@noreply.github.com Subject: Re: [kjac/FormEditor] Forms editor gives error after save and publish (#34)

Hi there.

It looks like there's a problem in your template - it's referring a view model that does not seem to exist.

Can you get your form rendered if you use one of the sample templates as described herehttps://github.com/kjac/FormEditor/blob/master/Docs/render.md?

You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/kjac/FormEditor/issues/34#issuecomment-223347762, or mute the threadhttps://github.com/notifications/unsubscribe/ASzCdKZWTYq6Ok-DhlXiTwFrUBWrZguAks5qHwYcgaJpZM4Iskp2.

kjac commented 8 years ago

Hey.

I've tried applying the sample template to your contact form (http://umbracodev2.brnd.com/contact-form/) and it works just fine. So something is wrong with your FormEditor2 template.

It looks to me like it's referencing a non-existing view model in the UmbracoTemplatePage<> inheritance. Maybe the ModelsBuilder needs to rebuild your doctype models - that could be one explanation. But you'll have to take this to Umbraco as it's not a FormEditor related problem.

Good luck!

-Kenn

KalpeshDave7883 commented 8 years ago

thank you very much sir, I got the problem now :)