Field calculator dosent update in ArcGIS online

Discussion created by LarsKEHinformi-dk-esridist Employee on Feb 6, 2014

I am trying to make an application where one field depends on a value in another field. I have used the field calculator in ArcMap. The idea is to specify a text on behalf of a value. My field calculator looks like this:

Dim tykkelse
If [Isens_tykkelse] < 15 Then
tykkelse = "Isen er IKKE sikker"

elseif [Isens_tykkelse] > 15 Then
tykkelse = "Isen er sikker"

tykkelse = "Isen er IKKE sikker"
end if


I have shared the dataset as a service and build an application. Now I would like to edit the data through the collector app. But when I update the value, the text field dosent update due to the field calculator.

Any solution ideas?