Custom scripting – The basics

0

hello,

I am trying some custom scripting, however I am finding a bit challenging understanding the basics (e.g. how to use common operators (if, else, etc). I checked the resources available, but they seems to me a bit general on this, giving maybe for granted some previous knowledge.

Is there any resource to suggest/provide?

thanks a lot
Luca

IS answered
    1

    I found this webinar recording that might be helpful:

    https://help.surveygizmo.com/help/how-do-i-use-the-custom-script-action-webinar#video

    Also, have you looked at the working examples here:

    https://script.surveygizmo.com/help/working-examples

    Hope these help!

    lucamobilio commented
      • Hello!
        thanks a lot for the links, the webinar indeed helped!

        Although I still miss some more general knowledge. Just to make an example, I think I understood that placing a “!” before a formula tells SG to do the opposite, e.g. “if (! (x == y)” would mean “if x is different from y” (right?).

        I think it would be very useful to have a basic guide on the language :-)

      2
      IS 2.20K Rep.

      SG custom scripting is based on PHP. From your example of the exclamation point being the NOT operator, that might be where you want to look. There are a lot of resources for getting started with php, but one starting point is: http://php.net/manual/en/

      IS answered
        ×

        Login

        Question stats

        • Active
        • Views2673 times
        • Answers2 answers
        • Followers1 follower