I have a bug reported whereby the user selects a date frame from a dropdown, hours, days, months
and enter a freetext number.
When it's saved this is converted to a number of seconds.
I need to display this field as currently it's not being displayed. How can I work out how to make it into the same value they entered? We do not store the value of the dropdown for some strange reason.
Is there a way to just convert it to the maximum number of time block available for that number of seconds, or shall I just store the dropdown field, which is what I'm likely going to do.