Setting Lectora variable
March 6, 2008 12:00 AM
After some head scratching and playing around with some JavaScript I found a solution.I added an invisible textbox to the page. Then I added the external HTML file (ASP) which builds the dropdown. In that file I have some JavaScript, shown below, which uses Lectora's existing JavaScript function for setting variables to set the value of my invisible textbox. I've added a Next>> button which also uses a Lectora JavaScript function to go to the next page and set the variable, as a fall back if the onChange doesn't work for you.From my testing it seems like it is working great. Hope that helps. <% Do while not Rs.EOF %> <% Rs.MoveNext Loop %>
Discussions have been disabled for this post