4 Replies Latest reply: Oct 27, 2015 12:06 PM by Stefan Wühl RSS

    Finding if value exists inside field

      I have a field called CitiesWithFactory. It contains cities that have cars in the factory of the city.

      for example I have New York, London and Berlin, if Berlin doesn't have any cars at the moment the field would look like this:

      CitiesWithFactory: New York, London

      I have a button for each city which I want to disable if there are no cars in it.

      How do I check if the field contains the city?