Page 1 of 1

placing a survey in livecode

Posted: Thu Jul 11, 2013 9:42 am
by TKYTKY
Hi all,

i am new to livecode and need some help in placing a survey in my livecode application.
survey is in json format.

Re: placing a survey in livecode

Posted: Thu Jul 11, 2013 10:58 am
by Klaus
Hi,

since JSON = JavaScript, you might need to use a BROWSER object for this.


Best

Klaus

Re: placing a survey in livecode

Posted: Thu Jul 11, 2013 2:18 pm
by TKYTKY
thanks for the reply klaus . Browser object is it something like this ?

Re: placing a survey in livecode

Posted: Thu Jul 11, 2013 2:51 pm
by Klaus
Exactly :-)

Re: placing a survey in livecode

Posted: Thu Jul 11, 2013 4:27 pm
by TKYTKY
thanks . Do you have any recommend weblink for this kind of stuffs? Quite confuse with the codings.

Re: placing a survey in livecode

Posted: Thu Jul 11, 2013 6:54 pm
by jacque
If you are trying to display an existing survey that is on the web, then a browser is the right way. But if the survey is not coming from a web site, why not just create one with LiveCode? It might be easier for you to code, and is a common task.

Re: placing a survey in livecode

Posted: Fri Jul 12, 2013 2:54 am
by TKYTKY
Hi jacque,

Thanks for the reply . Do you have any sample survey ? Might need some to act as references .

Re: placing a survey in livecode

Posted: Fri Jul 12, 2013 7:22 pm
by jacque
I don't have any samples myself, but there are a few "quiz" stacks in the User Samples area (click the icon in LiveCode's toolbar.) I think those would be fairly similar; they collect answers to questions and record the results. You'll get different results if you type "quiz" into the search box, or if you click the Quiz keyword in the list, so look at both.

Others may have more examples, maybe they'll chime in here.