AUP plug-in for Fabrik form
I've started another thread here on how to address changing the value of an element where a user has typed in a value. Then the AUP plug sends that value to the AUP database table.
The AUP plug-in works fine, and will send data to the specified AUP table, in my case, using a rule that just adds points to a user's total.
My particular usage involves a user "redeeming" points, which means he types in a positive integer, and I want that integer to be changed into a negative value, which is then added to the database table.
No luck thus far, but I am working on it.
New evidence: if I just try entering a negative value in the "Custom Points" box (instead of trying to use the data from one of the form elements), it works! So, the Fabrik plug-in DOES recognize negative integers as valid. But this is of no use to me, as I need to have the user's input to designate the number of points.