I am creating an app in which I need to specify some numeric values, among which:
- a start distance
- an end distance
- a step
This in turn creates a distance vector.
I then have 3 numeric fields that the user can edit with the desired distance.
I set a "default" starting value, which shows up in the boxes when the app starts.
I want to implement condition tests whenever the user tries to edit those fields. If the input start distance is higher than the end distance, it should display a warning message box and I would like the start distance to reset automatically to the value it was at. The problem is that the default starting value is stored as not stored as app.numericfield.DefaultValue but as app.numericfield.Value. So the default value is erased each time.
Has anyone got a solution for that?
Thanks in advance