I have an input where the user puts a whole number, but I want this number to be automatically saved as negative in the database, how can I do that?
Make the input element to be type number and when you save its value to the dB … use the expression … " input’s value * -1 "
2 Likes
Multiply by -1.
3 Likes
Thanks!
1 Like
This topic was automatically closed after 70 days. New replies are no longer allowed.