Welcome Guest, Not a member yet? Register   Sign In
Newbie needs help with email form submission
#1

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
Reply
#2

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(); 
Reply
#3

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

?

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/h...#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.
Reply
#5

(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/h...#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.
Reply
#6

(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/h...#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...
Reply
#7

If you look in your html head tag you will see that the form is a javascript form with submit.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB