Solved

Actions necessary for Kohana form validation

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmakerā€¦
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

718 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