I'm trying to integrate parsley.js to my dynamic from. When I click the submit button which triggers an event in the javascript I call
var validateForm = $('#myForm').parsley().validate();
But it wont work since in the console theres an error
Uncaught TypeError: Object 73 has no method 'replace'
Object 73 seems to be the radiobutton field (I guess - correct me if it isnt that). Generated it looks like this:
<span class="formw">
Test1<input class="formField data-parsley-required" prop="text" type="radio" name="73" value="Test1" data-parsley-multiple="73" data-parsley-id="0256">
Test2<input class="formField " prop="text" type="radio" name="73" value="Test2" data-parsley-multiple="73">
Test3<input class="formField " prop="text" type="radio" name="73" value="Test3" data-parsley-multiple="73">
</span>
I really dont know how I can get parsley to work in my form and fix this replace error...
any help would be appreciated!
thanks in advance