Hi, I am developing a voting application built-in Vuejs and it is embedded into a squiz standard page. The premise of the application is to make 5 selections and then place those selections as a vote via a custom form. I have all of this working by posting the vote to a squiz custom form via Vuejs, squiz is recording the votes and I can see them in submission logs as expected.
I would also like to post the results to a MySQL DB, I have SQL query set up as an action on the form, this action fires off when a vote is recorded but for whatever reasons the values from posts are not being parsed on the sql query. I have tried multiple permutations of what I have researched on the online docs and the forums but nothing is parsing in the SQL query. Below is an example of some tags that I tried.
%globals_post_XXX_q1%
%globals_post_variablename%
%globals_post^index:variablename%
What should I be using to convert my post variables to successfully parse in the SQL query? Any help appreciated.
Matrix Version: 5.5.2.0