Plugin Tracker autosave functionality not working for me
Hi,
Tiki 15.2, MySQL, InnoDB
I am trying to get the autosave functionality to work within PluginTracker. The idea was to overwrite the values of some of the item fields in the tracker on Save.
Where fields 1-4 are text fields in tracker ID 10:
Attempt 1 - replace user entered valued on fields 1 and 2
{TRACKER(trackerId="10" fields="1:2:3:4" action="Send" autosavefields="1:2" autosavevalues="value1:value2")}Thank you for your contribution.{TRACKER}
Result 1
The user entered values for fields 1 and 2 are saved and the autosave values of value1 and value2 are ignored.
Attempt 2 - enter values for fields 1 and 2 which have not been amended by user
{TRACKER(trackerId="10" fields="3:4" action="Send" autosavefields="1:2" autosavevalues="value1:value2")}Thank you for your contribution.{TRACKER}
Result 2
If fields 1 and 2 are obligatory, on save I am told that the mandatory fields 1 and 2 have not been filled. If I change fields 1 and 2 to not be obligatory, there is no error message on save, but looking at the item in the tracker, fields 1 and 2 are empty and do not contain the autosavevalues.
Does anyone know what I am doing wrong?