Solved

Actions necessary for Kohana form validation

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to use session variables in php? 22 52
MySQL Persistent Connections 10 36
PHP Curl Problem 10 42
fillable forms on website 2 10
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.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

730 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