Guys, help me figure it out. deadlines are running out ... there is a protected virtual string method ParseCustomCustomerAttributes (FormCollection form)
how can I check attribute fields in code, for example by its id. and for a specific field to perform certain logic?
if (attribute.Id == 18)
{
string code_1 = enteredText;
if (attribute.Id == 18)
{
string code_1 = enteredText;
...
if (lines.All(item => item != code_1))
{
break;
}
...
if (attribute.Id == 15)
{
string code_2 = enteredText;
if (lines.All(item => item != code_2))
{
break;
}
As soon as I enter the value in the second field, the first field is not saved!
Thanks!