Hello,
This might seem simple to some, but I need help making a button that increments field1 when clicked and saves the record after it increments only if the number in field1 is less than the number in field2.
example
{field1} = 1
{field2} = 3
button onclick = +1 to field1 and save
If
{field1} = 3
{field2} = 3
button onclick error message
the value in field1 can never be incremented to a value that is higher than the value in field2
There are many ways to do this I’m sure but, I have no idea where to start.