Adding two-way validation via a GET request

ReinKo
ReinKo Community Member Qubie ✭
edited July 19 in Custom Code

Hi qualtrics experts,

I am a fairly new qualtrics user, I have some experience programming and now I am looking to create the following:

Input: a sql string in a text field

participant clicks on a button which does a GET request to an URL, using the sql string.

the external URL sends True or False

the text field background is turned green or red.

Could anyone point me in the right direction how to do this GET request working? I have looked at the API, embedded data, piped text and web service, however these do not seem to provide this functionality since I want immediate feedback every time the button is clicked. I have also looked at forum posts but have not yet found what I was looking for.

Thank you.

Answers

  • ahmedA
    ahmedA IndiaCommunity Member, XMPN Member Wizard ✭✭✭✭✭

    Look up the javascript API or if it's just a simple GET request, then you can even use the inbuilt web services, these however are executed from the Qualtrics' server, so, if you have geo/ip restrictions, it may cause an issue.