Hi All, I add a new Text field in Contact us form. I have done this to update contactus.cshtml and ContactUsModel.cs files. But i am unable to add phone field in mail. I add following code in Contactus.cshtml
Hello, As we are using MVC, you need to update Model, View AND Controller! Because the process you need to change is ContactUsSend method in CommonController class.
Thank you very much. I relly Appriciate your effort. Please let me know how can i find exact function in CommonController as you tell me to change "ContactUsSend" for others views/models
For upgrade purposes it might be better to make your own controller if you need this kind of modifications. That way you can easily upgrade to a newer version
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.