Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » How do I…?
  3. » Submit Form

#1 2007-02-27 03:23:25

progre55
Member
Registered: 2006-05-02
Posts: 668

Submit Form

I am attempting to create something within textpattern, that I believe should be doable, but not sure exactly how to pull it all together. Any insight would be greatly appreciated

On a page I have a button. When the button is clicked, I want it to submit information to a specified email.

Now here are the parameters:

(1) The majority of information is stored in custom tables for that article.

(2) I need to allow the visitor to input both their email and their name.

(3) I want the visitor to see the other info in case they want to revise it (this one is not crtical)

(4) I need to submit the form to the email that is associated with that article (again stored within a custom field)

(5) It has to be a simple and easy to use process.

(6) Once the information is submitted it needs to notify the visiotr that it has been done. I will aslo need to add a little text.

Any and all insight and assistance would be appreciated.

FYI, I have not had great success with zem_contact_form, getting it to actually work on my sites, but I would be willing to take another crack if that is what is recommended. Instead, I have used other form submittal options.

I hope I have explained enough, but if something is unclear (which I have a tendancy to be) let me know and I will supply more back ground info.

progre55

Offline

#2 2007-02-27 13:04:57

DigitalRealm
Member
From: Greenville, SC
Registered: 2006-07-22
Posts: 139
Website

Re: Submit Form

I built basically the same thing that you need, and I did it all from scratch. I have a form on a site that gets filled out by visitors, that form is then made into an article on the back-end, using mostly custom fields, and is then ready for approval before it goes live on the site. It also allows them to either a) upload an image with the article or b) it defaults to an image if they do not upload one.

I looked around forever for something to do this and could not find anything, so I finally just had to learn enough PHP and JavaScript to build it on my own. It sounds like you may not need quite the robust solution that I created though. I think that zem_contact_reborn would work perfect for what you want to do. Sounds like it would need some tweaking to get it to do the custom fields input and stuff, but not totally out of the question to do.

Maybe someone else here can give some insight on it though.

Last edited by DigitalRealm (2007-02-27 13:08:40)

Offline

#3 2007-03-02 13:54:01

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: Submit Form

Digital Realm:

Thanks for the feedback. I wound up using Zem Contact Reborn and made the necessary modifications and all is well.

Thanks again.

progre55

Last edited by progre55 (2007-03-02 13:54:15)

Offline

#4 2007-03-18 23:41:35

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

Re: Submit Form

@ digital realm:

I built basically the same thing that you need, and I did it all from scratch. I have a form on a site that gets filled out by visitors, that form is then made into an article on the back-end, using mostly custom fields, and is then ready for approval before it goes live on the site. It also allows them to either a) upload an image with the article or b) it defaults to an image if they do not upload one.

I really nedd to do the same thing do you have any example of the code you used?!?


what was that again…?

Offline

  1. Index
  2. » How do I…?
  3. » Submit Form

Board footer

Powered by FluxBB