BenPonder
6 years agoQrew Trainee
changing field types from user input
Is there a way to change a field type based on data in another field?
My app tracks performance on service level agreements, and the metric can be either a percentage, a time in seconds or a number of incidents, depending on the contractual language of the SLA. Currently it's a text value, but I am going to add some formulas to determine whether we failed the metric and to calculate penalty amounts and need to be able to toggle the type between "number" and "number - percentage" depending on the value in a metric data type drop down list. Is there a way to do this?
My app tracks performance on service level agreements, and the metric can be either a percentage, a time in seconds or a number of incidents, depending on the contractual language of the SLA. Currently it's a text value, but I am going to add some formulas to determine whether we failed the metric and to calculate penalty amounts and need to be able to toggle the type between "number" and "number - percentage" depending on the value in a metric data type drop down list. Is there a way to do this?