[eluser]jupiter1031[/eluser]
I have an implementation question for cjax
I have a form where the user enters a promo code. I look up the promo code in my database table. If it is correct a success message is displayed the code will be used. If it is not correct the form does not allow a submit unless the user clears the promo field or enters the correct code.
This is my first time I am using cjax and I am not sure what cjax commands to use in my view and in my controller. I understand it is a form validation but I have not found an example for codeigniter that I can understand.
I have looked at the samples but I still don't understand the principles of the cjax method especially for CI.
(I have used xajax before but I want to go away from it because it seems to be an unsupported dead end)
Thank you for helping me to get started!