Dynamically specifying URL to send Quiz data to (non-LMS)
June 27, 2012 12:00 AM
Hi!
I'm new to Lectora, so sorry if this is a silly question.
Several different domains will be sharing a directory where some of our titles will live. Each will think it's part of its own domain. Each domain will have it's own CGI program (not an LMS) to process the quiz data submitted by the titles.
What I want to do is on the Results tab of the quiz properties where I would normally specify the URL the title should use when submitting the quiz data, specify instead a user variable that contains the URL. Some code in an External HTML object would create and/or populate this user variable (on the first page) with the appropriate URL for the domain that is running the title.
Is this possible? Can I just replace the URL (on the Results tab) with something like Var(_processQuizData), where _processQuizData = "http://www.mydomain.com/utilities/processLectoraData.php"? (And by the way, is "Var(_processQuizData)" the correct syntax?)
(By the way, I tried and it didn't work for me, so I thought I'd ask.)
Thanks!
Dan
Discussions have been disabled for this post