CodeIgniter Forums
Newbie needs help with email form submission - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Newbie needs help with email form submission (/showthread.php?tid=67248)



Newbie needs help with email form submission - brio - 01-31-2017

Got a project from a client that uses CodeIgniter. Two forms on the site will not submit...they basically do nothing. I've gone through all of the CodeIgniter files on the host but cannot figure out how to solve this.

View the forms at: http://chingleco.com  one slides in from the left for signup, one is on the contact page.

Many thanks in advance.

B


RE: Newbie needs help with email form submission - Wouter60 - 01-31-2017

As far as I can see (by inspecting the element in the browser), there are no <form> and </form> tags.
In CodeIgniter, you can use the form helper and initiate the form with:

PHP Code:
echo form_open('controller-method-that-handles-the-input');
/*
your fields here
your submit button here
*/
echo form_close(); 



RE: Newbie needs help with email form submission - brio - 01-31-2017

Thanks, that is kinda what I thought. Problem is I don't know how to fix it.


RE: Newbie needs help with email form submission - PaulD - 01-31-2017

?

Wouter60 gave you the code? Find the view that generates the HTML and add the code for form open or form close, or add a manual form open and form close.

It is described here:
https://www.codeigniter.com/user_guide/helpers/form_helper.html#form_open

If you are entirely unfamiliar with CI then rest assured it is very easy to pick up and well documented. If you are not new to CI, then why can you not add the form open tags? What is the problem? If you give more details perhaps you will get more help.

If you are new to CI, and taking over a CI website for a paying customer, then investing some time learning it would only be fair to your customer, and you might be surprised at how powerful and easy CI actually is.

Best wishes,

Paul.


RE: Newbie needs help with email form submission - brio - 01-31-2017

(01-31-2017, 04:05 PM)PaulD Wrote: ?

Wouter60 gave you the code? Find the view that generates the HTML and add the code for form open or form close, or add a manual form open and form close.

It is described here:
https://www.codeigniter.com/user_guide/helpers/form_helper.html#form_open

If you are entirely unfamiliar with CI then rest assured it is very easy to pick up and well documented. If you are not new to CI, then why can you not add the form open tags? What is the problem? If you give more details perhaps you will get more help.

If you are new to CI, and taking over a CI website for a paying customer, then investing some time learning it would only be fair to your customer, and you might be surprised at how powerful and easy CI actually is.

Best wishes,

Paul.



RE: Newbie needs help with email form submission - brio - 01-31-2017

(01-31-2017, 04:43 PM)brio Wrote:
(01-31-2017, 04:05 PM)PaulD Wrote: ?

Wouter60 gave you the code? Find the view that generates the HTML and add the code for form open or form close, or add a manual form open and form close.

It is described here:
https://www.codeigniter.com/user_guide/helpers/form_helper.html#form_open

If you are entirely unfamiliar with CI then rest assured it is very easy to pick up and well documented. If you are not new to CI, then why can you not add the form open tags? What is the problem? If you give more details perhaps you will get more help.

If you are new to CI, and taking over a CI website for a paying customer, then investing some time learning it would only be fair to your customer, and you might be surprised at how powerful and easy CI actually is.

Best wishes,

Paul.

Thanks, learning as I go...



RE: Newbie needs help with email form submission - InsiteFX - 02-01-2017

If you look in your html head tag you will see that the form is a javascript form with submit.