Survey Snippets Suddenly not working

Options
Just recently we found that our snippets created by BB/LO for signing up for our email lists were not responding correctly, going to support for help yielded me, well....so, here's what happened.


All of my snippets seem to be broken for surveys. When I use a snippet for an email registration survey, on our pages, <a target='main' href='https://www.wbgl.org/about/e-newsletter,'>https://www.wbgl.org/about/e-newsletter,</a&gt; that is then supposed to go to an engagement survey, we get an error of "Your page is not private. This server could not prove that it is nlmed.convio.net; its security certificate is from secure2.convio.net. This may be caused by a misconfiguration or an attacker intercepting your connection." and when you click "proceed" we then get "not found". If I put the snippet in my test page builder in LO, when you click submit the survey will be entered on the constituent account under interactions, but the page goes to the homepages even though it is supposed to go to the next engagement page. If I just embed the survey on the test page in LO instead of the snippet it works fine, but defeats using the snippet for my homepages


this is registration page #1 - http://nlmed.convio.net/site/Survey?ACTION_REQUIRED=URI_ACTION_USER_REQUESTS&SURVEY_ID=1162

this is my engagement page #2 - http://nlmed.convio.net/site/Survey?ACTION_REQUIRED=URI_ACTION_USER_REQUESTS&SURVEY_ID=1020


both are marked as "secure"


here is the original snippet code:


<!-- begin cvo snip reg full--><script type="text/javascript">function alertEmpties () {if ((document.getElementById('cons_first_name').value == "" || document.getElementById('cons_first_name').value == "First Name") && (document.getElementById('cons_last_name').value == "" || document.getElementById('cons_last_name').value == "Last Name")) {alert("Full name missing"); return false;}else if (document.getElementById('cons_first_name').value ==""||document.getElementById('cons_first_name').value == "First Name") {alert("First name missing"); return false;}else if (document.getElementById('cons_last_name').value == ""||document.getElementById('cons_last_name').value == "Last Name") {alert("Last name missing"); return false;}}</script><form method="POST" action="http://nlmed.convio.net/site/Survey"><input type="hidden" name="cons_info_component" id="cons_info_component" value="t" /><input type="hidden" name="SURVEY_ID" id="SURVEY_ID" value="1162" /><input type="text" name="cons_first_name" id="cons_first_name" value="First Name" onfocus="if(this.value == 'First Name'){this.value='';}" onblur="if(this.value == ''){this.value='First Name';}" size="12" maxlength="50" /><input type="text" name="cons_last_name" id="cons_last_name" value="Last Name" onfocus="if(this.value == 'Last Name'){this.value='';}" onblur="if(this.value == ''){this.value='Last Name';}" size="12" maxlength="50" style="margin-left:5px" /><br><input type="text" name="cons_email" id="cons_email" value="Email Address" onfocus="if(this.value == 'Email Address'){this.value='';}" onblur="if(this.value == ''){this.value='Email Address';}" size="26" maxlength="255" style="margin-top:4px;margin-bottom:4px;" /><br> <span style="display:none"><input type="text" name="denySubmit" id="denySubmit" value="" alt="This field is used to prevent form submission by scripts." />Please leave this field empty</span><input type="submit" name="ACTION_SUBMIT_SURVEY_RESPONSE" id="ACTION_SUBMIT_SURVEY_RESPONSE" value="Submit" class="Button" onClick="return alertEmpties()" style="margin-left:0px" /></form><!-- end cvo snip reg full -->


Support did give me a KB page: https://kb.blackbaud.com/articles/Article/117685'>https://kb.blackbaud.com/articles/Article/117685 and off of that suggestion I updated their snippet, but then get a "This Page isn't working", and then was told "Support cannot advise on how to make code changes..."


Here is the new snippet:


<!-- begin cvo snip reg full--><script type="text/javascript">function alertEmpties () {if ((document.getElementById('cons_first_name').value == "" || document.getElementById('cons_first_name').value == "First Name") && (document.getElementById('cons_last_name').value == "" || document.getElementById('cons_last_name').value == "Last Name")) {alert("Full name missing"); return false;}else if (document.getElementById('cons_first_name').value ==""||document.getElementById('cons_first_name').value == "First Name") {alert("First name missing"); return false;}else if (document.getElementById('cons_last_name').value == ""||document.getElementById('cons_last_name').value == "Last Name") {alert("Last name missing"); return false;}}</script><form method="POST" action="https://secure2.convio.net/nlmed/site/SSurvey"><input type="hidden" name="cons_info_component" id="cons_info_component" value="t" /><input type="hidden" name="SURVEY_ID" id="SURVEY_ID" value="1162" /><input type="text" name="cons_first_name" id="cons_first_name" value="First Name" onfocus="if(this.value == 'First Name'){this.value='';}" onblur="if(this.value == ''){this.value='First Name';}" size="12" maxlength="50" /><input type="text" name="cons_last_name" id="cons_last_name" value="Last Name" onfocus="if(this.value == 'Last Name'){this.value='';}" onblur="if(this.value == ''){this.value='Last Name';}" size="12" maxlength="50" style="margin-left:5px" /><br><input type="text" name="cons_email" id="cons_email" value="Email Address" onfocus="if(this.value == 'Email Address'){this.value='';}" onblur="if(this.value == ''){this.value='Email Address';}" size="26" maxlength="255" style="margin-top:4px;margin-bottom:4px;" /><br> <span style="display:none"><input type="text" name="denySubmit" id="denySubmit" value="" alt="This field is used to prevent form submission by scripts." />Please leave this field empty</span><input type="submit" name="ACTION_SUBMIT_SURVEY_RESPONSE" id="ACTION_SUBMIT_SURVEY_RESPONSE" value="Submit" class="Button" onClick="return alertEmpties()" style="margin-left:0px" /></form><!-- end cvo snip reg full -->
Tagged:

Comments

Categories