There is a form with 2 fields: X
and Y
. X
is known, Y
is generated later via ajax based on X
. After the submit I would like to check if Y
was generated by me or not.
I'm looking for a function (and its inverse) that is more complicated to figure out than the example below:
x = 7 (random number)
y = f(x)
x = g(y)
example:
f = +2
g = -2
x = 7
y = 9
x = 7