Forum Academy Marketplace Showcase Pricing Features

Automatic negative input value

I have an input that draws a number value from my database as an initial value. When the user enters a new number into the input, I want the number to automatically switch to a negative number, and then update the value in the database with the new negative number. The input should always be a negative number no matter what the user types in.

Any ideas?

Hi there, @samueltanyk… if I understand your post correctly, one way to go about doing what you have described is to have a workflow that runs when the input is changed. The workflow should make changes to the thing where the number is being stored, and the change to make is to update the field to the input’s value multiplied by -1. Then, have the last step in the workflow reset the input so the new negative number is displayed.

Hope this helps.

Best…
Mike

Thanks for the reply Mike. That is indeed what I am asking. Ill give it a shot.

1 Like