Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Rita,
Have you read this? http://webhelp.episerver.com/latest/cms-edit/using-forms.htm > Creating a form > 2. Adding form fields ?
Thanks Alf Nilsson,
I did exactly what you said, I copied TextboxElementBlock.ascx from modules\_protected\EPiServer.Forms\Views\ElementBlocks to ~/Views/Shared/ElementBlocks, exactly with the same name and then I added one text element to my form but I don't see my changes. it seems my new view is being ignored.
I also checked Forms.config and seems ok.
<episerverforms minimumAccessRightLevelToReadFormData="Edit"
sendMessageInHTMLFormat="true"
defaultUploadExtensionBlackList="asp,aspx,asa,ashx,asmx,bat,chm,class,cmd,com,config,dll,exe,hta,htr,htw,jse,json,lnk,mda,mdb,msc,msh,pif,printer,ps1,ps2,reg,rem,scf,scr,sct,shtm,shtml,soap,stm,svc,url,vb,vbe,vbs,vsix,ws,wsc,wsf,wsh,xamlx,htm,html,js,jar"
coreController="/EPiServer.Forms/DataSubmit"
formElementViewsFolder="~/Views/Shared/ElementBlocks"
workInNonJSMode="false"
injectFormOwnJQuery="true">
Hi Again,
I don't know what changed but I had to close my Visual Studio and when I opened again it starts working.
Thanks a lot. Your blog is really helpfull.
Rita
It's not about Visual Studio.
ASP.NET try to find the view from
We ran into an issue where in our production domain formElementViewsFolder="~/Views/Shared/ElementBlocks" is not being honored. We have restarted the website multiple times. It works on our internal site but not on our public facing site. modules\_protected\EPiServer.Forms\Views\ElementBlocks has no views in it and only ~/Views/Shared/ElementBlocks has the views.
Hello,
I created a form using episerver. forms. I would like to add a css class to a form field. Anyone knows how can I do that?
Thanks in advance,
Rita