Welcome Guest, Not a member yet? Register   Sign In
jquery validation
#1

[eluser]quest13[/eluser]
is the config settings in jquery.php is right ? Can anyone help me to correct it ?


jquery.php

$config['jquery']['libraries']['validate'] = array(
"path" => base_url(). "/js/",
"files" => array ( "jquery.validate.js"
)
);
#2

[eluser]TheFuzzy0ne[/eluser]
Can you be a bit more specific? Where did you get jquery.php from?
#3

[eluser]quest13[/eluser]
system/application/config/jquery.php

and in jquery.php under the heading of " Plugin and libraries configuration"

Actually I implemented thickbox for image uploading.I mean, I will be able to view the Insert image form by clicking on a link.The CI validation was working fine until I implemented thickbox.I used iframe in the thickbox, but it only helped me to stay within the thickbox but the validation part didn't work. So I decided to use jquery validation plugin and i put the jquery.validation.js in my js folder( that is in the same hierarchy of system folder).
But nothing is happening. I am not able to see any error messages. So to start with, i want to know whether I am doing any mistake in the settings itself.

Can u give me any idea ?
#4

[eluser]umefarooq[/eluser]
try Carabiner library it will help you get your results

http://ellislab.com/forums/viewthread/117966/
#5

[eluser]quest13[/eluser]
The problem was with my thickbox. When I removed 'iFrame' feature, it worked. But can anyone tell me how to give a specific error message by using jquery ? because, I am able to get
"This field is required" for all the fields. How to change as per the label value ?

Can anyone help in this regard ?


Thanks in advance




Theme © iAndrew 2016 - Forum software by © MyBB