﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 3  » isvalidresponse expressions</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 17 Sep 2026 23:51:11 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: isvalidresponse expressions</title><link>https://forums.millisecond.com/Topic6668.aspx</link><description>&lt;p&gt;My impression is that /isvalidresponse etc. simply isn't working properly for &amp;lt;surveypage&amp;gt; elements in current builds. Time to file another bug report...&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Fri, 23 Sep 2011 08:17:48 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>isvalidresponse expressions</title><link>https://forums.millisecond.com/Topic6659.aspx</link><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am making a task + survey and want participants to fill in an e-mail adress,&lt;br /&gt;but only if they haven't done this already.&lt;br /&gt;So, in practice I want a radiobutton with 'other' option to fill in an e-mial adress.&lt;/p&gt;
&lt;p&gt;However, as my task requires a black background, and I want this too in my survey,&lt;br /&gt;I cannot use radiobuttons since they have a default black font.&lt;/p&gt;
&lt;p&gt;Therefore, I tried to just make 2 separate survey questions, and an 'isvalidresponse'&lt;br /&gt;in the surveypage element to make sure participants fill the questions out right.&lt;br /&gt;However, it doesn't work. What did I do wrong?&lt;/p&gt;
&lt;p&gt;&amp;lt;textbox email1&amp;gt;&lt;br /&gt;/ caption = "have you given your e-mailadres?"&lt;br /&gt;/ mask = alphabetic&lt;br /&gt;/ validresponse = ("yes", "no")&lt;br /&gt;&amp;lt;/textbox&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;textbox email2&amp;gt;&lt;br /&gt;/ caption = "if no, fill in your e-mailadress here"&lt;br /&gt;/ textboxsize = (70,5) &lt;br /&gt;/ maxchars = (200)&lt;br /&gt;/ validresponse = (anyresponse)&lt;br /&gt;&amp;lt;/textbox&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;surveypage email&amp;gt;&lt;br /&gt;/ caption = "fill out these questions"&lt;br /&gt;/ questions = [1=email1; 2=email2]&lt;br /&gt;/ isvalidresponse = [(textbox.email1.response == "yes" &amp;amp;&amp;amp; length(textbox.email2.response) == 0) || (textbox.email1.response == "no" &amp;amp;&amp;amp; length(textbox.email2.response) &amp;gt;= 12)]&lt;br /&gt;&amp;lt;/surveypage&amp;gt;&lt;/p&gt;</description><pubDate>Fri, 23 Sep 2011 03:01:14 GMT</pubDate><dc:creator>LotteZ</dc:creator></item></channel></rss>