• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Contact Form in different Pages

#2
[eluser]niki_mihaylov[/eluser]
Hey,
make a partial view file with the form and include it where you need it. Then you can:
1) use ajax (most friendly solution)
2) Set the action="" attribute of the form to one controller where you will validate and you can redirect back to previous page or show message on that page. Also you can store error message in session flash_data if you like.


Messages In This Thread
Contact Form in different Pages - by El Forum - 06-13-2013, 11:37 PM
Contact Form in different Pages - by El Forum - 06-28-2013, 01:03 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.