- New and Edit Experiment requires validation to ensure that users can only create valid Experiments
This starts by ensuring that certain fields must not be empty, and that inserted values and range are actually valid.
Importantly, we have to know for each parameter the type and enforce this type. E.g. numCells of a population must be integer, using float will fail the simulation.
We also need to incorporate that some fields such as cellType have only a set of available options and we need to show the user what options he can pick.
Examples:
This starts by ensuring that certain fields must not be empty, and that inserted values and range are actually valid.
Importantly, we have to know for each parameter the type and enforce this type. E.g. numCells of a population must be integer, using float will fail the simulation.
We also need to incorporate that some fields such as cellType have only a set of available options and we need to show the user what options he can pick.
Examples: