Added Validation now form won't submit
Last Post 08-21-2012 05:16 AM by Ryan Bakerink. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Not Resolved
PeterUser is Offline
Posts:5
Avatar

--
08-17-2012 04:50 AM

    Ever since I added validation to the form it will not submit.  I keep seeing syntax errors like the below line.  Each time it is the first questionId that requires validation.

    var dnn_ctr446_DynamicForms_Validate_e5c46f7d-9391-4290-9b24-854d825ad3c9 = document.all ? document.all["dnn_ctr446_DynamicForms_Validate_e5c46f7d-9391-4290-9b24-854d825ad3c9"] : document.getElementById("dnn_ctr446_DynamicForms_Validate_e5c46f7d-9391-4290-9b24-854d825ad3c9");v


    I removed each questions required option one by one.  And tried to submit after each change.  It wouldn't submit until all required fields were unchecked.  So validation doesn't work.  Tried server and client side in IE, Firefox and Chrome. 

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    08-20-2012 09:11 AM
    Hi Peter,

    You might try finding problem using Firebug first. Here are a couple of helpful links:

    http://www.datasprings.com/news/blo...developers

    http://www.youtube.com/watch?v=Qp9vmS-Kxg8

    I also suggest you check in Admin, Event Viewer and see if you can find any related errors logged there.
    Let us know what you find.

    Thanks!
    Candace
    PeterUser is Offline
    Posts:5
    Avatar

    --
    08-21-2012 04:54 AM
    Candace,

    Thanks for the response but I have already tried the things you suggested. The error was copied from the Firebug console and the Event log has no errors. I purchased this module for one specific purpose. It is the only 3rd party moduel installed on a fresh DNN installation. Yet is won't validate any fields. Is there anything else I can try.

    Peter
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    08-21-2012 05:16 AM
    Hello Peter,

    What kind of validation have you tied to your fields?
    * Required
    * Regex
    * Compare

    If you're using the Required validation, did you provide a value for the Error Message and Error Text? If you want to leave on of those message sections blank it's always best practice to leave an HTML encoded space " "

    Perhaps this isn't your issue though, would it be possible if you provided me with a URL to this page? Also if possible please provide me with temporary admin rights.

    You can email this information to rbakerink (at) datasprings (dot) com

    Let me know if you have any questions.

    Thanks,

    Ryan


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi