Formula fields not shown on form and cant be deleted in script
I have added some formula fields but only the two first show up in the form. (Formula_1 and Formula_2)
When i try to delete the rest of the formulas which does not show up in the form, by deleting them in the script i get the following error.
Error modifying the page Unable to delete field 'Formula_11' of form 'Account' This form contains data. It is not possible to delete such forms and fields by just deleting the part of code You need to delete such components using the delete keyword. Syntax : form formname { delete fieldname }
Formula_1
(
type = formula
value = (("<a style='background:#3A5999;border:1px solid #4165C5;color:#ffffff' href=\"#View:Detailed_Account_View?account_idstr=") + ID) + "\">View Details</a>"
)
Formula_2
(
displayname = "Formula 2"
type = formula
value = ((("<a style='background:#3A5999;border:1px solid #4165C5;color:#ffffff' href=\"#Form:Call_Account?Phone=") + Phone) + "&zc_LoadIn=dialog") + "\">Call</a>"
)
Formula_Set_prio
(
displayname = "Formula Set prio"
type = formula
value = ((("<a style='background:#3A5999;border:1px solid #4165C5;color:#ffffff' href=\"#Form:Set_Account_Prio?Phone=") + Phone) + "&zc_LoadIn=dialog") + "\">Set Prio</a>"
)
Formula_3_set_prio
(
displayname = "Formula 3 set prio"
type = formula
value = ((("<a style='background:#3A5999;border:1px solid #4165C5;color:#ffffff' href=\"#Form:Set_Account_Prio?Phone=") + Phone) + "&zc_LoadIn=dialog") + "\">Call Form</a>"
)
Formula_3
(
displayname = "Formula 3"
type = formula
value = (Account_Name = "")
)
Formula_31
(
displayname = "Formula 3"
type = formula
value = ((("<a style='background:#3A5999;border:1px solid #4165C5;color:#ffffff' href=\"#Form:Call_Account?Phone=") + Phone) + "&zc_LoadIn=dialog") + "\">Call Form</a>"
)
Formula_11
(
displayname = "Formula 1"
type = formula
value = (Account_Name = "")
)