Solved

Actions necessary for Kohana form validation

Posted on 2014-01-09
2
316 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

743 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

11 Experts available now in Live!

Get 1:1 Help Now