I want to get my technical specifications out of the way first in case these are relevant to my problems. I am running Umbraco v6.2.1 on IIS 7.5 with MSSQL Server 2008 R2.
I am having a couple of problems with the "Edit Profile" Razor macro. I am using the default, built-in, .cshtml, without making any changes. My problems are as follows:
The "success" variable always returns "False". Submitting the form with the same data or new data will not return the variable as "True". Therefore I cannot program against a successful form submission.
If a field is not "null", it can never be submitted as "null". In other words; if a field contains data, I cannot clear that data and submit an empty field.
After spending hours trying to figure this out I have had to turn to the community for help. I believe the problem lies in the "UmbProfileController" but I do not understand enough C#, nor the structure of the Umbraco source code to debug it myself. I have tried removing all of the Razor and Javascript validation controls but this has had no effect.
In my desperation, I installed Umbraco v7.1.4 to test if these problems exist in that build. My first problem does not exist. The "success" variable will return as "True" when the form is submitted. However, my second problem still persists.
Just to cover everything: in the backoffice I can set all properties as empty without issue, so why can't it be done in this macro?
Edit Profile Macro
Hello,
I want to get my technical specifications out of the way first in case these are relevant to my problems. I am running Umbraco v6.2.1 on IIS 7.5 with MSSQL Server 2008 R2.
I am having a couple of problems with the "Edit Profile" Razor macro. I am using the default, built-in, .cshtml, without making any changes. My problems are as follows:
After spending hours trying to figure this out I have had to turn to the community for help. I believe the problem lies in the "UmbProfileController" but I do not understand enough C#, nor the structure of the Umbraco source code to debug it myself. I have tried removing all of the Razor and Javascript validation controls but this has had no effect.
In my desperation, I installed Umbraco v7.1.4 to test if these problems exist in that build. My first problem does not exist. The "success" variable will return as "True" when the form is submitted. However, my second problem still persists.
Just to cover everything: in the backoffice I can set all properties as empty without issue, so why can't it be done in this macro?
Here is my "EditProfile.cshtml"
Thank you for your time, I hope someone out there has a solution for me!
No one else has run into this problem? I could really use some help... thanks.
Hi, Jeremy!
Have you found a solution? I'm working on a similar problem, maybe you can help or point to the right direction?
Thanks.
Hello!
I stopped checking in on this. I have not been able to find a solution yet, and I suppose no one else has one!
If I do find a solution I will be certain to post it here.
is working on a reply...