LUA DOESNT WORK FOR MULTI-ANSWER QUESTIONS

2

Having spent hours trying to make Lua work for simple checkboxes I’ve now been told it doesn’t work.

Here is the article explaining that it does work…

https://luascript.surveygizmo.com/help#gettitle

Here is their “working example”

https://www.surveygizmo.com/s3/4558430/getvalue-for-multi-select-and-matrix-questions

It doesn’t work, even in their own “working examples”.

In frustration, I wrote to Support, and in amongst the usual disingenuous cut and pasted emotion about “Thanks so much for reaching out to us” was the admission…

“Unfortunately at this time GetValue does not work with multi value questions like checkboxes”

No apology. No “we’ll take it down off the website and let newcomers use legacy scripting” Just “hey, it doesn’t work, and we’re still telling everyone it does.”

SurveyGizmo clearly run their business on a different moral compass to mine.

 

CamB answered
    • I was testing LUA with a simple print(currentpagetitle()) or print(“text”) and always got an error Script Failed: Bad Script Syntax!. I wrote to Support and the answer was: “Thanks for reaching out to Support! I just took a look at your survey and I’m not seeing any errors. I’d also like to note that Custom Scripting is beyond the scope of Customer Support, so I am not technically able to support issues that you have with your scripts.”

    • Hi Elvira:

      Can you double check your script type selection? It sounds like you might have Legacy Custom Scripting selected. The error you shared is thrown via our Legacy Scripting language. If you select Legacy Custom Scripting in the Script Type dropdown menu (see screengrab below) but use Lua code this error will be thrown.

      https://www.screencast.com/t/JoXc7y13f5cw

      I did confirm that the following works for me when Lua is selected in the Script Type menu:

      print(currentpagetitle())

      I hope this helps!

      Bri Hillmer
      Documentation Coordinator
      SurveyGizmo Customer Experience Team

    0
    CamB 11 Rep.

    Same issue here – serves me right for updating my scripts to Lua then.

    CamB answered
      0

      Hi Justin,

      Thank you for your feedback and fair critique. I wanted to extend our sincere apologies for all of the trouble and wasted time that you have encountered due to the Lua getvalue issue.

      The bug associated with the Lua getvalue function and multi-select questions has been escalated to our engineers and we are working to prioritize a fix for the problem. We are also assisting our new customers that do not have access to Legacy Custom Scripting, by providing access so that they may work around the current issue with getvalue in Lua Scripting.

      As you are in touch with our Customer Service team, they will notify you as soon as a bug fix has been released.

      Thank you again for taking the time to share your thoughts with us.

      David
      Technical Writer
      SurveyGizmo Customer Experience

      Admin - SurveyGizmo answered
        1

        can you put this on a billboard? because this needs to be put on a billboard. 

        predicted answer from mods *well we don’t really do much coding, but here’s a useless page in our knowledge base!* 

        gregschell answered
          1

          SurveyGizmo have written to me….

           

          “Thanks so much for your excellent feedback on Community.

          I just want to clarify that only Lua is broken. Legacy scripting still works.”

           

          Oh well then. The new system is broken; the old system works, but it being withdrawn; oh, and we still haven’t told people publicly. 

          Justin Worsley answered
            ×

            Login

            Question stats

            • Active
            • Views357 times
            • Answers4 answers
            • Followers1 follower