Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Kohana and AJAX

Posted on 2014-02-01
2
Medium Priority
?
557 Views
Last Modified: 2014-02-11
Hello all,
I'm having a problem validating a form using Kohana and AJAX.  I found some tutorials on the web but can't make any of them work (sometimes they actually seem to be supplying contradictory information).  I was wondering if anyone can give me some tips or point me in the right direction.  I am including what I think are the relevant files:  Model_User (actually just User, I added Model_ to identify it), Controller_User (again just User, added to distinguish between the model and controller), my form validation JS, the Register form, the welcome page, and the welcome controller.
Thanks in advance for anyone who takes a look at it.
Model-User.php
Controller-User.php
Register.php
WelcomeTemplate.php
Welcome.php
Validate.js
0
Comment
Question by:William-B
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 1500 total points
ID: 39827688
what is the issue that you are having? what is the error? Please post a link to the page in question so we can see it context.
0
 

Author Comment

by:William-B
ID: 39827939
Well currently I'm just running on a local server, so I don't have any pages to show.  It actually stops at the $account->CreateAccount() function in the User Controller, which means it's getting past the validation.  It does stop for a reason totally different than the one here, the time() function doesn't match what the database is expecting.  Let me know if you need any other information, sorry about the actual link though.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question