local form = ... local data = form.option local service = form.service local config = form.service.config local srv1fill = "" local srv2fill = "disabled" if service.status == "running" then srv1fill = "disabled" srv2fill = "" end local ifthen = function( variable, value, result ) if variable == value then io.write( result ) end end ?>