Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Actions necessary for Kohana form validation

Posted on 2014-01-09
2
Medium Priority
?
347 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 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article discusses how to implement server side field validation and display customized error messages to the client.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

636 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