I have a canvas connected to a share point list.
I want to restrict users from filling in numbered values. Say i have 2 fields. Type which is a choice selection between "Income" and "Cost".
If they selected Income, then the only accepted value should be a negative number i.e. -500, -660 etc.
If they selected Cost then the only accepted value should be a positive number i.e. 500
What would be the best way of doing this for a power apps canvas? I would want this to stick both at when they are doing a new input or when they edit an existing line.