Welcome Guest, Not a member yet? Register   Sign In
Form validation always returns false in all cases
#3

[eluser]tpetrone[/eluser]
Code:
<form action="http://domain/clients/admin/business/ajax_business" method="post" accept-charset="utf-8">

Try :
replace the http://domain....../...../.../../ajax_business with just the path to your controller.
ie

Code:
<form action="business/ajax_business" method="post" accept-charset="utf-8">


Reason.

They way you have defined the action path makes it look like you have the following stucturesetup.


applications/
controllers/
clients/
admin/
business <-- this is your controller and your calling ajax_business method.


Unless your doing something funky. Or unless you have the main CI direcctory burry deep under your domain.

Just a thought.



Messages In This Thread
Form validation always returns false in all cases - by El Forum - 07-04-2012, 11:40 AM
Form validation always returns false in all cases - by El Forum - 07-04-2012, 02:11 PM
Form validation always returns false in all cases - by El Forum - 07-04-2012, 02:45 PM
Form validation always returns false in all cases - by El Forum - 07-04-2012, 03:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB