Page 1 of 1

Append Above

Posted: 2022-03-17 15:21
by angus
hello everyone,

I am using the code below. But rather than a static text field I want to pull a value from a table, is this possible?

Code: Select all

  new AppGiniField("Team")
.insertAbove()
.alert("Test", Variation.info); 

Re: Append Above

Posted: 2022-03-17 15:49
by jsetzer
Sure, create a serveride PHP script which evaluates the REQUEST parameters, fetches data and returns results for example as JSON.

Then, on client side, call that serverside script and pass your args using AJAX. Wait for the JSON response and then whatever you want on clientside.