Forum Academy Marketplace Showcase Pricing Features

Add negative number automatically bubble

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 "


Multiply by -1.

1 Like


1 Like