Solved

Actions necessary for Kohana form validation

Posted on 2014-01-09
2
318 Views
Last Modified: 2014-01-26
Hi everyone,
I have a question about the command handling of Kohana that I'm a bit fuzzy on.  I'm developing a web page with a registration form on the main page.  I'm having the registration form send the information to a user controller with a register action ( i.e. Form::open( user/register); ).  Ideally I'd like that to direct to an accept terms and agreements page, again with an action in the user controller.  My question is, do I have to do any sort of special routing using that method?  If I'm validating the form using the model will it return any problems to the originating page or do I have to do a redirect back to the page?
Thanks,
William
0
Comment
Question by:William-B
2 Comments
 
LVL 46

Accepted Solution

by:
tbsgadi earned 500 total points
ID: 39792365
Have you seen this?
How to use Kohana 3 validation (with forms)

http://blog.mixu.net/2010/10/30/how-to-use-kohana-3-validation-with-forms/

Gary
0
 

Author Comment

by:William-B
ID: 39796044
Yeah I had taken a look at it.  It looks good but doesn't quite answer all my questions.  I guess a simpler way of putting my above question is that I'm trying to construct a multiple page registration form, with some initial validation performed after the first page is submitted and then finalizing it after the second page is submitted.  Thanks again for your response.
0

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

Suggested Solutions

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

932 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now