Add hyperlink to the EndOfInterview by an script item

Creating questions and survey logic with Dimensions scripting.

Add hyperlink to the EndOfInterview by an script item

Postby SjoerdH » Wed Mar 03, 2010 9:00 am

I want to change the default text of my questionnaire depending on a answer given on one question.
This could be easily done by a routing item containing IOM.Texts.EndOfInterview = "blablabla"

But now my problem, I want a hyperlink between blablabla which is clickable. It seems not possible, but mayba there is someone overhere who can help me.

Thank you in advance!

Kind regards,

Sjoerd
SjoerdH
 
Posts: 2
Joined: Mon Feb 02, 2009 5:49 am

Re: Add hyperlink to the EndOfInterview by an script item

Postby fewtrell » Thu Mar 04, 2010 4:17 am

Hi,
You could try setting the EndOfInterview message into the label of a variable ...
e.g.
Metadata:
message "Blah Blah Blah <a href=""https://www.google.com"" target=""_blank"">click here</a>" info;

Routing:
IOM.Texts.EndOfInterview = IOM.Questions.message.Label


Also, I think you could just set it all into a local text variable (though havent tried it)?
e.g.
Routing:
dim message
message="Blah Blah Blah <a href=""""https://www.google.com"""" target=""""_blank"""">click here</a>"
IOM.Texts.EndOfInterview = message

Hope this helps?
fewtrell
 
Posts: 17
Joined: Fri Oct 03, 2008 3:52 pm


Return to Survey Scripting

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests