Hi
I am trying to make the contact form from poul seals video https://www.youtube.com/watch?time_continue=41&v=3V0A1AYJbys
But i am stuck in the part where i have to make a partial view where i want me to use this code, i cant use any of them i get errors. I was thinking that it is and old video so something has change but i can not find out what ??
why can i not use: using InstallUmbraco.Models;
Hi I am trying to make the contact form from poul seals video https://www.youtube.com/watch?time_continue=41&v=3V0A1AYJbys But i am stuck in the part where i have to make a partial view where i want me to use this code, i cant use any of them i get errors. I was thinking that it is and old video so something has change but i can not find out what ??
what to do and what to use??
You can se the code here at pouls website https://codeshare.co.uk/blog/how-to-create-a-contact-form-in-umbraco-using-mvc-and-c/
I got it. I was missing this in my model
But now i get this error and i dont no what to do with it
Hello Mikkel
Something wrong with doctype you are on. Can you show all the code and tell me what doctype current page?
Alex
Hi Alex I was testing it on my forside ( frontpage ) template just to see if it works.
Frontpage template code
This here is the form i want to show and it is also the PartialView code
My kontaktSurfaceController code
My kontakt Model code
That is all my code for the contact form :D i am not sure where it goes wrong and why?
is working on a reply...