0
Welcome Guest! Login
0 items Join Now

Having a issue getting capya to work.

  • Having a issue getting capya to work.

    Posted 11 years 10 months ago
    • Having a issue getting capya to work.
      i plugin my code and hit summit the code it keep.. <-first problem fixed. but the secound and
      so far hard to fix is when loads on website capya works but when summit is clicked it doesn't
      summit. It does do anything. But if the code is put into a html page it works fine... just not coded into joomla.

      Code:

      <p>Sign up today for the SpeakSTRONG Newsletter and get some seriously useful and practical bonus resources. Just what any true seeker of communication excellence needs.</p>
      <p>The SpeakStrong Newsletter will update you on SpeakStrong events. Also, subscribe to my blog
      <a href="index.php?option=com_content&amp;view=section&amp;layout=blog&amp;id=7&amp;Itemid=183"> </a>for tips, phrases and communication ideas.</p>
      <p>
      <span style="font-size: 15px; line-height: 15px;">Your SpeakSTRONG Journey begins here.</span>
      </p>
      <hr />
      <table cellpadding="20">
      <tbody>
      <tr valign="top">
      <td>
      <p>The newsletter will keep you up to date on new book realeases, webinars and other SpeakStrong activities.</p>
      <p>Plus it comes with bonuses that are my very best stuff, distilled down into immediately useful tools.</p>
      <p></p>
      </td>
      <td>
      <form action=" www.mcssl.com/app/contactsave.asp " method="post" name="form1">
      <input id="merchantid" type="hidden" name="merchantid" value="103443" />
      <input id="ARThankyouURL" type="hidden" name="ARThankyouURL" value=" www.speakstrong.com/thanks/219-subscriber-page " />
      <input id="copyarresponse" type="hidden" name="copyarresponse" value="1" />
      <input id="custom" type="hidden" name="custom" value="0" />
      <input id="defaultar" type="hidden" name="defaultar" value="248733" />
      <input id="allowmulti" type="hidden" name="allowmulti" value="0" />
      <input id="visiblefields" type="hidden" name="visiblefields" value="Name,Email1" />
      <input id="requiredfields" type="hidden" name="requiredfields" value="Email1" />
      <table>
      <tbody>
      <tr>
      <td>Name</td>
      <td>
      <input type="text" name="Name" size="40" />
      </td>
      </tr>
      <tr>
      <td>Email</td>
      <td>
      <input type="text" name="Email1" size="40" />
      </td>

      </tr>
      <tr align="center">
      <TR>
      <TD>Write code in box > <span id="txtCaptchaDiv" style="color:#F00"></span>
      </TD>
      <TD><input type="hidden" id="txtCaptcha" />
      <input type="text" name="txtInput" id="txtInput" size="30" />
      </TD>
      </TR>
      <td colspan="2">
      <input type="button" name="cmdSubmit" value="Submit"onclick="checkform(this.form);">
      </td>
      </tr>
      </tbody>
      </table>
      </form>

      <p style="text-align: center;"></p></td>
      </tr>
      </tbody>
      </table>
      <hr />
      <p> </p>
      <hr />
      <p>Get updates about SpeakStrong activities. And subscribe to my blog for communication tips and pointers.</p>
      <script type="text/javascript">
      //Generates the captcha function
      var a = Math.ceil(Math.random() * 9)+ '';
      var b = Math.ceil(Math.random() * 9)+ '';
      var c = Math.ceil(Math.random() * 9)+ '';
      var d = Math.ceil(Math.random() * 9)+ '';
      var e = Math.ceil(Math.random() * 9)+ '';
      var code = a + b + c + d + e;
      document.getElementById("txtCaptcha").value = code;
      document.getElementById("txtCaptchaDiv").innerHTML= code;
      </script>
      <script type="text/javascript">
      function checkform(theform){
      var why = "";
      if(theform.txtInput.value == ""){
      why += "Security code should not be empty.\n";
      }
      if(theform.txtInput.value != ""){
      if(ValidCaptcha(theform.txtInput.value) == false){
      why += "Security code did not match.\n";
      }
      }
      if(why != ""){
      alert(why);
      return;
      }
      }
      // Validate the Entered input aganist the generatedsecurity code function
      function ValidCaptcha(){
      var str1 = removeSpaces(document.getElementById('txtCaptcha').value);
      var str2 = removeSpaces(document.getElementById('txtInput').value);
      if (str1 == str2){
      document.form1.submit();
      return;
      }else{
      return false;
      }
      }
      // Remove the spaces from the entered and generatedcode
      function removeSpaces(string){
      return string.split(' ').join('');
      }
      </script>
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Having a issue getting capya to work.

    Posted 11 years 10 months ago
    • I am sorry but I don't understand what is capya :oops:

      Did you try to contact developer of that (newsletter extension I guess) extension? We really can't provide support for 3rd party extensions
    • Check my services at: Mihha-Vision

Time to create page: 0.063 seconds