How to "scip" a script in an Online-Batch


Author
Message
NicolettaConColetta
NicolettaConColetta
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 10, Visits: 41
Hey!
I'm almost ready to go online with my survey. However, in the practice-run through I'm facing following problem now: people can't participate in the survey, if they tick a certain box - in the script, they will be refered to the end of the survey (works perfectly fine with the "scip" command).
However, if you tick the box during the online run through, you will be refered to the textpage, saying this is the end of the survey (as it should be), but then (of course) the next script of the batch folder starts (which is the task they should not participate).
Is there any trick constructing the batch-folder to avoid this?
Thanks so much in advance,
cheers*nicole (and happy Easter:))!

Attachments
Batchscript_OCD.iqx (782 views, 158 bytes)
script1.iqx (751 views, 15.00 KB)
script2.iqx (800 views, 30.00 KB)
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
You need to use the script.abort() function, with the abortbatch parameter set to true.

<surveypage Ausschluss_Ende>
/ ontrialend = [script.abort(true)]
...
</surveypage>

This will terminate the entire batch.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search